|
|
|
@ -18,6 +18,8 @@ public class SystemFlowRuleDTO {
|
|
|
|
|
|
|
|
|
|
private Integer ruleOrder;
|
|
|
|
|
|
|
|
|
|
private String roleId;
|
|
|
|
|
|
|
|
|
|
private List<SystemFlowRuleUser> userList;
|
|
|
|
|
|
|
|
|
|
public SystemFlowRuleDTO() {
|
|
|
|
@ -29,6 +31,7 @@ public class SystemFlowRuleDTO {
|
|
|
|
|
systemFlowRule.setFlowId(flowId);
|
|
|
|
|
systemFlowRule.setRuleName(ruleName);
|
|
|
|
|
systemFlowRule.setRuleOrder(ruleOrder);
|
|
|
|
|
systemFlowRule.setRoleId(roleId);
|
|
|
|
|
return systemFlowRule;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -42,6 +45,7 @@ public class SystemFlowRuleDTO {
|
|
|
|
|
systemFlowRuleDTO.setRuleName(nodeInfo.getNodeName());
|
|
|
|
|
systemFlowRuleDTO.setFlowId(flowId);
|
|
|
|
|
systemFlowRuleDTO.setRuleOrder(nodeInfo.getOrder());
|
|
|
|
|
systemFlowRuleDTO.setRoleId(nodeInfo.getRoleId());
|
|
|
|
|
List<SystemFlowRuleUser> ruleUserList = nodeInfo.getUserIdList().stream().map(userId -> {
|
|
|
|
|
SystemFlowRuleUser flowRuleUser = new SystemFlowRuleUser();
|
|
|
|
|
flowRuleUser.setFlowId(flowId);
|
|
|
|
|