| | |
| | | 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) { |