Procházet zdrojové kódy

优化小区添加 审核报错问题

webapp před 7 roky
rodič
revize
227225512c

+ 2 - 2
WebService/src/main/java/com/java110/web/smo/community/impl/AuditCommunitySMOImpl.java

@@ -29,7 +29,7 @@ public class AuditCommunitySMOImpl extends AbstractComponentSMO implements IAudi
 
         //super.validatePageInfo(pd);
 
-        Assert.hasKeyAndValue(paramIn, "communityMemberId", "小区ID不能为空");
+        Assert.hasKeyAndValue(paramIn, "communityId", "小区ID不能为空");
         Assert.hasKeyAndValue(paramIn, "state", "必填,请填写小区审核状态");
         Assert.hasKeyAndValue(paramIn, "remark", "必填,请填写小区审核原因");
 
@@ -45,7 +45,7 @@ public class AuditCommunitySMOImpl extends AbstractComponentSMO implements IAudi
         super.validateStoreStaffRelationship(pd, restTemplate);
 
         responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
-                ServiceConstant.SERVICE_API_URL + "/api/community.auditEnterCommunity",
+                ServiceConstant.SERVICE_API_URL + "/api/community.auditCommunity",
                 HttpMethod.POST);
         return responseEntity;
     }

+ 1 - 1
WebService/src/main/java/com/java110/web/smo/community/impl/AuditEnterCommunitySMOImpl.java

@@ -29,7 +29,7 @@ public class AuditEnterCommunitySMOImpl extends AbstractComponentSMO implements
 
         //super.validatePageInfo(pd);
 
-        Assert.hasKeyAndValue(paramIn, "communityMemberId", "小区ID不能为空");
+        Assert.hasKeyAndValue(paramIn, "communityMemberId", "小区成员ID不能为空");
         Assert.hasKeyAndValue(paramIn, "state", "必填,请填写小区审核状态");
         Assert.hasKeyAndValue(paramIn, "remark", "必填,请填写小区审核原因");