mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 05:37:48 +08:00
Merge remote-tracking branch 'origin/结构优化' into 结构优化
This commit is contained in:
commit
8d7d2a3045
@ -9,6 +9,7 @@ import com.genersoft.iot.vmp.gb28181.utils.SipUtils;
|
|||||||
import com.genersoft.iot.vmp.service.*;
|
import com.genersoft.iot.vmp.service.*;
|
||||||
import com.genersoft.iot.vmp.service.bean.*;
|
import com.genersoft.iot.vmp.service.bean.*;
|
||||||
import com.genersoft.iot.vmp.storager.dao.CommonChannelMapper;
|
import com.genersoft.iot.vmp.storager.dao.CommonChannelMapper;
|
||||||
|
import com.genersoft.iot.vmp.utils.DateUtil;
|
||||||
import com.genersoft.iot.vmp.vmanager.bean.UpdateCommonChannelToGroup;
|
import com.genersoft.iot.vmp.vmanager.bean.UpdateCommonChannelToGroup;
|
||||||
import com.genersoft.iot.vmp.vmanager.bean.UpdateCommonChannelToRegion;
|
import com.genersoft.iot.vmp.vmanager.bean.UpdateCommonChannelToRegion;
|
||||||
import com.github.pagehelper.PageHelper;
|
import com.github.pagehelper.PageHelper;
|
||||||
@ -105,6 +106,7 @@ public class CommonGbChannelServiceImpl implements ICommonGbChannelService {
|
|||||||
assert channel.getCommonGbId() >= 0;
|
assert channel.getCommonGbId() >= 0;
|
||||||
assert channel.getCommonGbDeviceID() != null;
|
assert channel.getCommonGbDeviceID() != null;
|
||||||
assert channel.getCommonGbName() != null;
|
assert channel.getCommonGbName() != null;
|
||||||
|
channel.setUpdateTime(DateUtil.getNow());
|
||||||
int result = commonGbChannelMapper.update(channel);
|
int result = commonGbChannelMapper.update(channel);
|
||||||
if (result == 0) {
|
if (result == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user