|
@@ -168,7 +168,7 @@ public class DeviceServiceImpl implements DeviceService{
|
|
|
|
|
|
@Override
|
|
|
public void edit(DeviceInputDto dto) {
|
|
|
- log.info("begin DeviceServiceImpl edit device = {}", JSON.toJSON(dto));
|
|
|
+ log.info("begin DeviceServiceImpl edit device = {}", JSON.toJSONString(dto));
|
|
|
|
|
|
if (deviceMapper.findByDeviceNoUnique(dto.getId(), dto.getDeviceNo()) > 0) {
|
|
|
throw BusinessException.builder(RmcpErrorEnum.RMCP_DEVICE_NO_UNIQUE_ERROR);
|
|
@@ -195,7 +195,7 @@ public class DeviceServiceImpl implements DeviceService{
|
|
|
@Override
|
|
|
@Transactional
|
|
|
public void batchDelele(List<Long> ids) {
|
|
|
- log.info("begin DeviceServiceImpl batchDel ids = {}", JSON.toJSON(ids));
|
|
|
+ log.info("begin DeviceServiceImpl batchDel ids = {}", JSON.toJSONString(ids));
|
|
|
deviceMapper.delByIds(ids);
|
|
|
// 删除计划清单
|
|
|
installListMapper.deleteByDeviceId(ids);
|
|
@@ -212,7 +212,7 @@ public class DeviceServiceImpl implements DeviceService{
|
|
|
@Override
|
|
|
@Transactional
|
|
|
public void allDelele(DeviceQueryDto dto) {
|
|
|
- log.info("begin DeviceServiceImpl allDel dto = {}", JSON.toJSON(dto));
|
|
|
+ log.info("begin DeviceServiceImpl allDel dto = {}", JSON.toJSONString(dto));
|
|
|
List<DeviceVo> list = deviceMapper.findList(dto,UserUtil.getCurrentUser().getUserCondition());
|
|
|
List<Long> ids = new ArrayList<>();
|
|
|
if (list != null && list.size() > 0) {
|