| | |
| | | @Override |
| | | public void validate(CmdEvent event, ICmdDataFlowContext context, JSONObject reqJson) throws CmdException { |
| | | Assert.jsonObjectHaveKey(reqJson, "communityId", "请求中未包含communityId信息"); |
| | | Assert.jsonObjectHaveKey(reqJson, "ownerId", "请求中未包含ownerId信息"); |
| | | //Assert.jsonObjectHaveKey(reqJson, "ownerId", "请求中未包含ownerId信息"); |
| | | |
| | | Assert.hasLength(reqJson.getString("communityId"), "小区ID不能为空"); |
| | | Assert.hasLength(reqJson.getString("ownerId"), "业主ID不能为空"); |
| | | //Assert.hasLength(reqJson.getString("ownerId"), "业主ID不能为空"); |
| | | } |
| | | |
| | | @Override |