소스 검색

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

chenjun 1 년 전
부모
커밋
68f5292c38
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zjugis-business/src/main/java/com/zjugis/business/flow/commoncost/event/CommonCostEvent.java

+ 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 {
             String flowInstanceId = flowInstance.get("id").toString();
             CommonCostDO entity = commonCostService.findByInstanceId(flowInstanceId);
-            if (entity != null && entity.getDybx()==1) {
+            if (entity != null && StringUtils.isNotBlank(entity.getBz3())) {
                 return "true";
             }
             return "false";