提交 0e1e128e 编写于 作者: zhouweidong's avatar zhouweidong

工作流抄送

上级 70a8ca4c
......@@ -778,6 +778,9 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa
else if ("all".equals(srfWF)) {
businessKeys= ibzwfFeignClient.getAllTaskByUserId("${sys.getCodeName()?lower_case}", ${pub.getPKGCodeName()}.util.security.AuthenticationUser.getAuthenticationUser().getUserid(),"${entityName}", instTag, instTag2);
}
else if ("cc".equals(srfWF)) {
businessKeys= ibzwfFeignClient.getSendCopyTask("${sys.getCodeName()?lower_case}", ${pub.getPKGCodeName()}.util.security.AuthenticationUser.getAuthenticationUser().getUserid(),"${entityName}", instTag, instTag2);
}
if(!ObjectUtils.isEmpty(businessKeys)){
context.getSelectCond().in("${keyfield.name?lower_case}",businessKeys.keySet());
}
......
......@@ -64,5 +64,10 @@ public class IBZWFFallback implements IBZWFFeignClient {
public Map<String, Map<String, Object>> getAllTaskByUserId(String system, String userId, String entity, String instTag, String instTag2) {
return null;
}
@Override
public Map<String, Map<String, Object>> getSendCopyTask(String system, String userId, String entity, String instTag, String instTag2) {
return null;
}
</#if>
}
......@@ -58,5 +58,10 @@ public interface IBZWFFeignClient
Map<String,Map<String,Object>> getAllTaskByUserId(@PathVariable("system") String system,@PathVariable("userId")String userId,
@PathVariable("entity") String entity,@PathVariable("insttag")String instTag,
@PathVariable("insttag2") String instTag2);
@RequestMapping(method = RequestMethod.POST, value = "/{system}-user-{userId}/{insttag}/{insttag2}/{entity}/tasks/sendcopy")
Map<String,Map<String,Object>> getSendCopyTask(@PathVariable("system") String system,@PathVariable("userId")String userId,
@PathVariable("entity") String entity,@PathVariable("insttag")String instTag,
@PathVariable("insttag2") String instTag2);
</#if>
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册