|
|
@ -52,6 +52,7 @@ import com.yxt.common.core.query.PagerQuery; |
|
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
import liquibase.pro.packaged.S; |
|
|
|
import org.apache.tomcat.util.threads.ThreadPoolExecutor; |
|
|
|
import org.flowable.bpmn.model.FlowElement; |
|
|
|
import org.flowable.bpmn.model.UserTask; |
|
|
@ -174,6 +175,7 @@ public class FlowableRest implements FlowableFeign { |
|
|
|
return rb.setMsg("抄送失败!"); |
|
|
|
} |
|
|
|
Map<String, Object> processVariables = historicTaskInstance.getProcessVariables(); |
|
|
|
String createrOrgPath = (String) processVariables.get("createrOrgPath"); |
|
|
|
if (historicTaskInstance == null) { |
|
|
|
log.info("抄送失败:没有获取到业务参数!"); |
|
|
|
return rb.setMsg("抄送失败!"); |
|
|
@ -205,6 +207,7 @@ public class FlowableRest implements FlowableFeign { |
|
|
|
} |
|
|
|
userSids.deleteCharAt(userSids.length() - 1); |
|
|
|
mfq.setUserSids(userSids.toString()); |
|
|
|
mfq.setOrgPath(createrOrgPath); |
|
|
|
ResultBean<String> resultBean = messageFeign.pushMessageCC(mfq); |
|
|
|
log.info("抄送成功:{}", userName.toString()); |
|
|
|
log.info("抄送成功-resultBean:{}", resultBean); |
|
|
|