| | |
| | | communityDto.setCommunityId(paramInJson.getString("communityId")); |
| | | List<CommunityDto> communityDtos = communityInnerServiceSMOImpl.queryCommunitys(communityDto); |
| | | |
| | | Assert.listOnlyOne(communityDtos, "小区不存"); |
| | | Assert.listOnlyOne(communityDtos, "小区不存在"); |
| | | |
| | | JSONObject business = JSONObject.parseObject("{\"datas\":{}}"); |
| | | business.put(CommonConstant.HTTP_BUSINESS_TYPE_CD, BusinessTypeConstant.BUSINESS_TYPE_MEMBER_JOINED_COMMUNITY); |
| | |
| | | * @param paramInJson 接口请求数据封装 |
| | | * @return 封装好的 data数据 |
| | | */ |
| | | public JSONObject updateComplaint(JSONObject paramInJson) { |
| | | public JSONObject updateWorkflow(JSONObject paramInJson,String flowType) { |
| | | WorkflowDto workflowDto = new WorkflowDto(); |
| | | workflowDto.setCommunityId(paramInJson.getString("communityId")); |
| | | workflowDto.setFlowType(WorkflowDto.FLOW_TYPE_COMPLAINT); |
| | | workflowDto.setFlowType(flowType); |
| | | List<WorkflowDto> workflowDtos = workflowInnerServiceSMOImpl.queryWorkflows(workflowDto); |
| | | |
| | | if (workflowDtos == null || workflowDtos.size() < 1) { |
| | |
| | | businessFeeConfig.putAll(paramInJson); |
| | | businessFeeConfig.put("feeTypeCd", FeeTypeConstant.FEE_TYPE_REPAIR); |
| | | businessFeeConfig.put("feeName", "报修费[系统默认]"); |
| | | businessFeeConfig.put("deductFrom", "Y"); |
| | | businessFeeConfig.put("feeFlag", "2006012"); //一次性费用 |
| | | businessFeeConfig.put("startTime", DateUtil.getNow(DateUtil.DATE_FORMATE_STRING_A)); |
| | | businessFeeConfig.put("endTime", DateUtil.LAST_TIME); |
| | |
| | | businessFeeConfig.putAll(paramInJson); |
| | | businessFeeConfig.put("feeTypeCd", FeeTypeConstant.FEE_TYPE_TEMP_DOWN_PARKING_SPACE); |
| | | businessFeeConfig.put("feeName", "临时车费用[系统默认]"); |
| | | businessFeeConfig.put("deductFrom", "Y"); |
| | | businessFeeConfig.put("feeFlag", "2006012"); |
| | | businessFeeConfig.put("startTime", DateUtil.getNow(DateUtil.DATE_FORMATE_STRING_A)); |
| | | businessFeeConfig.put("endTime", DateUtil.LAST_TIME); |