| | |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.entity.component.ComponentValidateResult; |
| | | import com.java110.report.smo.fee.IListPayFeeSMO; |
| | | import com.java110.utils.constant.FeeTypeConstant; |
| | | import com.java110.utils.constant.PrivilegeCodeConstant; |
| | | import com.java110.utils.constant.ServiceConstant; |
| | | import com.java110.utils.exception.SMOException; |
| | |
| | | |
| | | // Map paramMap = BeanConvertUtil.beanCovertMap(result); |
| | | // paramIn.putAll(paramMap); |
| | | paramIn.put("storeId", result.getUserId()); |
| | | int page = paramIn.getInteger("page"); |
| | | int row = paramIn.getInteger("row"); |
| | | paramIn.put("storeId", result.getStoreId()); |
| | | paramIn.put("page", (page - 1) * row); |
| | | paramIn.put("row", page * row); |
| | | |
| | | String apiUrl = ServiceConstant.SERVICE_API_URL + "/api/api.getPayFee" + mapToUrlParam(paramIn); |
| | | String apiUrl = ""; |
| | | if (!paramIn.containsKey("feeTypeCd") || FeeTypeConstant.FEE_TYPE_PROPERTY.equals(paramIn.getString("feeTypeCd"))) { |
| | | apiUrl = ServiceConstant.SERVICE_API_URL + "/api/api.getPropertyPayFee" + mapToUrlParam(paramIn); |
| | | } else if (FeeTypeConstant.FEE_TYPE_HIRE_PARKING_SPACE.equals(paramIn.getString("feeTypeCd"))) { |
| | | paramIn.put("feeTypeCd", ""); |
| | | apiUrl = ServiceConstant.SERVICE_API_URL + "/api/api.getParkingSpacePayFee" + mapToUrlParam(paramIn); |
| | | }else{ |
| | | apiUrl = ServiceConstant.SERVICE_API_URL + "/api/api.getParkingSpacePayFee" + mapToUrlParam(paramIn); |
| | | } |
| | | |
| | | |
| | | ResponseEntity<String> responseEntity = this.callCenterService(restTemplate, pd, "", |