Browse Source

普通报销事件修改,BZ3有值则代表进行了核减操作

chenjun 1 year ago
parent
commit
68f5292c38

+ 1 - 1
zjugis-business/src/main/java/com/zjugis/business/flow/commoncost/event/CommonCostEvent.java

@@ -391,7 +391,7 @@ public class CommonCostEvent extends BaseController {
         try {
         try {
             String flowInstanceId = flowInstance.get("id").toString();
             String flowInstanceId = flowInstance.get("id").toString();
             CommonCostDO entity = commonCostService.findByInstanceId(flowInstanceId);
             CommonCostDO entity = commonCostService.findByInstanceId(flowInstanceId);
-            if (entity != null && entity.getDybx()==1) {
+            if (entity != null && StringUtils.isNotBlank(entity.getBz3())) {
                 return "true";
                 return "true";
             }
             }
             return "false";
             return "false";