|
|
@@ -296,6 +296,19 @@ public class WorkflowExecuteServiceImpl implements IWorkflowExecuteService {
|
|
|
throw new MyException("找不到此模板!");
|
|
|
}
|
|
|
|
|
|
+ //如果是传阅
|
|
|
+ LambdaQueryWrapper<WorkflowCirculated> queryWrapper2 = Wrappers.lambdaQuery(WorkflowCirculated.class)
|
|
|
+ .eq(WorkflowCirculated::getTaskId, taskId)
|
|
|
+ .eq(WorkflowCirculated::getCirculatedUserId, StpUtil.getLoginIdAsLong())
|
|
|
+ .select(WorkflowCirculated::getId);
|
|
|
+
|
|
|
+ WorkflowCirculated thisCirculated = circulatedService.getOne(queryWrapper2);
|
|
|
+ if(thisCirculated != null){
|
|
|
+ thisCirculated.setIsRead(YesOrNoEnum.YES.getCode());
|
|
|
+ circulatedService.updateById(thisCirculated);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//排除xml 查出数据
|
|
|
WorkflowSchema workflowSchema = workflowSchemaMapper.selectOne(Wrappers.lambdaQuery(WorkflowSchema.class).eq(WorkflowSchema::getId, schemaIdVar.get().getValue()));
|
|
|
|