Commit 6225600a5d220a827056dab15c692769f764c48e

Authored by 杨鸣坤
1 parent 4d99c46d

楚江ERP:查询为null

@@ -167,6 +167,10 @@ public class ContractDistributorStandardServiceImpl extends @@ -167,6 +167,10 @@ public class ContractDistributorStandardServiceImpl extends
167 public ContractDistributorStandard findById(String id) { 167 public ContractDistributorStandard findById(String id) {
168 168
169 ContractDistributorStandard data = getBaseMapper().selectById(id); 169 ContractDistributorStandard data = getBaseMapper().selectById(id);
  170 + if (data == null) {
  171 + return null;
  172 + }
  173 +
170 // 获取当前人员的待办任务数据 174 // 获取当前人员的待办任务数据
171 List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId()); 175 List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId());
172 if (CollectionUtils.isEmpty(flowTaskList)) { 176 if (CollectionUtils.isEmpty(flowTaskList)) {