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

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

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