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

工作流抄送

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