| | |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.entity.component.ComponentValidateResult; |
| | | import com.java110.utils.constant.PrivilegeCodeConstant; |
| | | import com.java110.utils.constant.ServiceCodeRepairDispatchStepConstant; |
| | | import com.java110.utils.constant.ServiceConstant; |
| | |
| | | protected void validate(IPageData pd, JSONObject paramIn) { |
| | | |
| | | //super.validatePageInfo(pd); |
| | | JSONArray infos = paramIn.getJSONArray("data"); |
| | | //JSONArray infos = paramIn.getJSONArray("data"); |
| | | //Assert.hasKeyAndValue(paramIn, "xxx", "xxx"); |
| | | |
| | | Assert.hasKeyAndValue(paramIn, "userId", "未包含员工信息"); |
| | | Assert.hasKeyAndValue(paramIn, "repairId", "未包含报修单信息"); |
| | | Assert.hasKeyAndValue(paramIn, "communityId", "未包含小区信息"); |
| | | |
| | | super.checkUserHasPrivilege(pd, restTemplate, PrivilegeCodeConstant.REPAIRDISPATCHSTEP); |
| | | |
| | |
| | | @Override |
| | | protected ResponseEntity<String> doBusinessProcess(IPageData pd, JSONObject paramIn) { |
| | | ResponseEntity<String> responseEntity = null; |
| | | super.validateStoreStaffCommunityRelationship(pd, restTemplate); |
| | | ComponentValidateResult result = super.validateStoreStaffCommunityRelationship(pd, restTemplate); |
| | | |
| | | responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(), |
| | | ServiceConstant.SERVICE_API_URL + "/api/" + ServiceCodeRepairDispatchStepConstant.BINDING_REPAIRDISPATCHSTEP, |