소스 검색

修复用章参与人的问题

zhangjq 3 주 전
부모
커밋
1bad3cb2e4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      zjugis-business/src/main/java/com/zjugis/business/flow/officialSeal/event/OfficialSealUseEvent.java

+ 3 - 3
zjugis-business/src/main/java/com/zjugis/business/flow/officialSeal/event/OfficialSealUseEvent.java

@@ -272,11 +272,11 @@ public class OfficialSealUseEvent extends BaseController {
                 }
 
                 //杭州
-                if (entity.getOfficialSealLocation().equals(LocationConstants.HZ) ) {
+                if (entity.getOfficialSealLocation().equals(Integer.parseInt(LocationConstants.HZ)) ) {
                     collection.add(PostConstants.SEAL_MANAGER);
-                }  else if (entity.getOfficialSealLocation().equals(LocationConstants.NJ)) {
+                }  else if (entity.getOfficialSealLocation().equals(Integer.parseInt(LocationConstants.NJ))) {
                     collection.add(PostConstants.JS_SEAL_MANAGER);
-                } else if (entity.getOfficialSealLocation().equals(LocationConstants.BJ)) {
+                } else if (entity.getOfficialSealLocation().equals(Integer.parseInt(LocationConstants.BJ))) {
                     collection.add(PostConstants.BJ_SEAL_MANAGER);
                 }  else {
                     throw new BusinessException("执行事件出错,请联系管理员!");