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

工作流待阅

上级 d3f3ca43
......@@ -759,11 +759,12 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa
<#if isDynaSys>
private Map<String,Map<String,Object>> fillWFTaskContext(${item.getCodeName()}SearchContext context){
Map<String, Map<String, Object>> businessKeys = null;
if (!StringUtils.isEmpty(context.getSrfDynaInstId())) {
if (!ObjectUtils.isEmpty(context.getSrfWF()) && "toread".equals(context.getSrfWF())) {
if (!StringUtils.isEmpty(context.getSrfDynaInstId()) && !StringUtils.isEmpty(context.getSrfWF())) {
String srfWF = context.getSrfWF();
if ("toread".equals(srfWF)) {
businessKeys= ibzwfFeignClient.getUnReadTaskByUserId("${sys.getCodeName()?lower_case}", ${pub.getPKGCodeName()}.util.security.AuthenticationUser.getAuthenticationUser().getUserid(),"${entityName}", context.getSrfDynaInstId());
}
else if (!ObjectUtils.isEmpty(context.getSrfWF()) && "todo".equals(context.getSrfWF())) {
else if ("todo".equals(srfWF)) {
businessKeys= ibzwfFeignClient.getTaskByUserId("${sys.getCodeName()?lower_case}", ${pub.getPKGCodeName()}.util.security.AuthenticationUser.getAuthenticationUser().getUserid(),"${entityName}", context.getSrfDynaInstId());
}
if(!ObjectUtils.isEmpty(businessKeys)){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册