feat(标准解读流程): 主解读人分批分发数据权限
This commit is contained in:
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
IF(lds.id is not null, lds.standard_name, lds2.item_title) itemTitle,
|
IF(lds.id is not null, lds.standard_name, lds2.item_title) itemTitle,
|
||||||
IF(lds.id is not null, null, lds2.item_content) itemContent,
|
IF(lds.id is not null, null, lds2.item_content) itemContent,
|
||||||
standard_interpret_id,
|
standard_interpret_id,
|
||||||
psic.clause_id
|
psic.clause_id,
|
||||||
|
interpret_person_ids
|
||||||
from laws_chery_dev.process_standard_interpret_clause psic
|
from laws_chery_dev.process_standard_interpret_clause psic
|
||||||
left join laws_domestic_standard lds on psic.clause_id = lds.id and lds.del_flag = 0
|
left join laws_domestic_standard lds on psic.clause_id = lds.id and lds.del_flag = 0
|
||||||
left join laws_document_split lds2 on psic.clause_id = lds2.id and lds2.del_flag = 0
|
left join laws_document_split lds2 on psic.clause_id = lds2.id and lds2.del_flag = 0
|
||||||
|
|||||||
+3
@@ -36,6 +36,9 @@ public class ProcessStandardInterpretClauseServiceImpl
|
|||||||
QueryWrapper<ProcessStandardInterpretClause> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ProcessStandardInterpretClause> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq(StringUtils.isNotBlank(processStandardInterpretClause.getStandardInterpretId()),
|
queryWrapper.eq(StringUtils.isNotBlank(processStandardInterpretClause.getStandardInterpretId()),
|
||||||
"standard_interpret_id", processStandardInterpretClause.getStandardInterpretId());
|
"standard_interpret_id", processStandardInterpretClause.getStandardInterpretId());
|
||||||
|
// 标准主解读人分发 节点查询未分发数据
|
||||||
|
queryWrapper.isNull("null".equals(processStandardInterpretClause.getInterpretPersonIds()),
|
||||||
|
"interpret_person_ids");
|
||||||
queryWrapper.orderByAsc("id");
|
queryWrapper.orderByAsc("id");
|
||||||
return processStandardInterpretClauseMapper.queryList(queryWrapper);
|
return processStandardInterpretClauseMapper.queryList(queryWrapper);
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -179,7 +179,6 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
|
|||||||
StandardInterpretDTO data = standardInterpretFlowDTO.getData();
|
StandardInterpretDTO data = standardInterpretFlowDTO.getData();
|
||||||
// 根据流程key启动流程,设置流程变量,更新流程总表信息,更新流程审批信息,返回任务信息
|
// 根据流程key启动流程,设置流程变量,更新流程总表信息,更新流程审批信息,返回任务信息
|
||||||
startProcessInstanceByKey(StandardInterpretCommon.KEY_3, map, processAll, processApprovalRecord, data);
|
startProcessInstanceByKey(StandardInterpretCommon.KEY_3, map, processAll, processApprovalRecord, data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -487,6 +486,10 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
|
|||||||
ProcessStandardInterpretClause processStandardInterpretClause =
|
ProcessStandardInterpretClause processStandardInterpretClause =
|
||||||
new ProcessStandardInterpretClause();
|
new ProcessStandardInterpretClause();
|
||||||
processStandardInterpretClause.setStandardInterpretId(processStandardInterpret.getId());
|
processStandardInterpretClause.setStandardInterpretId(processStandardInterpret.getId());
|
||||||
|
// 标准主解读人分发
|
||||||
|
if (StandardInterpretCommon.MASTER_INTERPRET_DISTRIBUTE.equals(node)){
|
||||||
|
processStandardInterpretClause.setInterpretPersonIds("null");
|
||||||
|
}
|
||||||
processStandardInterpretClauseList =
|
processStandardInterpretClauseList =
|
||||||
processStandardInterpretClauseService.queryList(processStandardInterpretClause);
|
processStandardInterpretClauseService.queryList(processStandardInterpretClause);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user