提交 1c3b73c5 authored 作者: 马路路's avatar 马路路

配置中心—配置管理—问卷配置WEB端接口--日志更新

上级 23ebe719
...@@ -146,7 +146,8 @@ public class CollectDriverTransportIntentionServiceImpl implements CollectDriver ...@@ -146,7 +146,8 @@ public class CollectDriverTransportIntentionServiceImpl implements CollectDriver
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public Integer deleteCarrierDriverCollectTransportIntention(List<CarrierDriverCollectTransportIntentionDetailParam> param) { public Integer deleteCarrierDriverCollectTransportIntention(List<CarrierDriverCollectTransportIntentionDetailParam> param) {
if (CollectionUtils.isEmpty(param)) { if (CollectionUtils.isEmpty(param)) {
// todo log.info("deleteCarrierDriverCollectTransportIntention param is null");
throw new ServiceSystemException(PerformanceResultEnum.DATA_NOT_FIND);
} }
Set<Integer> paramsIds = param.stream() Set<Integer> paramsIds = param.stream()
.map(CarrierDriverCollectTransportIntentionDetailParam::getId) .map(CarrierDriverCollectTransportIntentionDetailParam::getId)
...@@ -180,8 +181,8 @@ public class CollectDriverTransportIntentionServiceImpl implements CollectDriver ...@@ -180,8 +181,8 @@ public class CollectDriverTransportIntentionServiceImpl implements CollectDriver
// 1.查询所有已启用的信息 // 1.查询所有已启用的信息
IPage<CollectDriverTransportIntention> page = collectDriverTransportIntentionDao.listEnableInfo(param); IPage<CollectDriverTransportIntention> page = collectDriverTransportIntentionDao.listEnableInfo(param);
if (CollectionUtils.isEmpty(page.getRecords())) { if (CollectionUtils.isEmpty(page.getRecords())) {
// todo 错误提示 log.info("listCarrierDriverCollectTransportIntentionAll page is null");
return null; throw new ServiceSystemException(PerformanceResultEnum.DATA_NOT_FIND);
} }
List<CarrierDriverCollectTransportIntentionVO> listVO = collectDriverTransportIntentionDaoStruct.covertList(page.getRecords()); List<CarrierDriverCollectTransportIntentionVO> listVO = collectDriverTransportIntentionDaoStruct.covertList(page.getRecords());
// 筛选主键id // 筛选主键id
...@@ -190,8 +191,8 @@ public class CollectDriverTransportIntentionServiceImpl implements CollectDriver ...@@ -190,8 +191,8 @@ public class CollectDriverTransportIntentionServiceImpl implements CollectDriver
List<CollectDriverTransportIntentionRecord> recordList = collectDriverTransportIntentionRecordDao List<CollectDriverTransportIntentionRecord> recordList = collectDriverTransportIntentionRecordDao
.listInField(CollectDriverTransportIntentionRecord::getCollectDriverTransportIntentionId, ids); .listInField(CollectDriverTransportIntentionRecord::getCollectDriverTransportIntentionId, ids);
if (CollectionUtils.isEmpty(recordList)) { if (CollectionUtils.isEmpty(recordList)) {
// todo 错误提示 log.info("listCarrierDriverCollectTransportIntentionAll recordList is null");
return null; throw new ServiceSystemException(PerformanceResultEnum.DATA_NOT_FIND);
} }
List<CarrierDriverCollectTransportIntentionRecordVO> recordVOList List<CarrierDriverCollectTransportIntentionRecordVO> recordVOList
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论