Преглед изворни кода

修复用章参与人的问题

zhangjq пре 3 недеља
родитељ
комит
1bad3cb2e4

+ 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("执行事件出错,请联系管理员!");