|
@@ -162,11 +162,14 @@ public class ContractDistributorStandardServiceImpl extends |
|
@@ -162,11 +162,14 @@ public class ContractDistributorStandardServiceImpl extends |
|
162
|
return getBaseMapper().query(vo);
|
162
|
return getBaseMapper().query(vo);
|
|
163
|
}
|
163
|
}
|
|
164
|
|
164
|
|
|
165
|
- @Cacheable(value = ContractDistributorStandard.CACHE_NAME, key = "@cacheVariables.tenantId() + #id", unless = "#result == null")
|
|
|
|
166
|
@Override
|
165
|
@Override
|
|
167
|
public ContractDistributorStandard findById(String id) {
|
166
|
public ContractDistributorStandard findById(String id) {
|
|
168
|
|
167
|
|
|
169
|
ContractDistributorStandard data = getBaseMapper().selectById(id);
|
168
|
ContractDistributorStandard data = getBaseMapper().selectById(id);
|
|
|
|
169
|
+ if (data == null) {
|
|
|
|
170
|
+ return null;
|
|
|
|
171
|
+ }
|
|
|
|
172
|
+
|
|
170
|
// 获取当前人员的待办任务数据
|
173
|
// 获取当前人员的待办任务数据
|
|
171
|
List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId());
|
174
|
List<FlowTaskDto> flowTaskList = flowTaskWrapperMapper.queryTodoList(new QueryTodoTaskListVo(), SecurityUtil.getCurrentUser().getId());
|
|
172
|
if (CollectionUtils.isEmpty(flowTaskList)) {
|
175
|
if (CollectionUtils.isEmpty(flowTaskList)) {
|