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