| 
						
						
							
								
							
						
						
					 | 
					@ -5,9 +5,11 @@ import com.alibaba.excel.ExcelWriter; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.alibaba.excel.write.metadata.WriteSheet; | 
					 | 
					 | 
					import com.alibaba.excel.write.metadata.WriteSheet; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.alibaba.fastjson.JSON; | 
					 | 
					 | 
					import com.alibaba.fastjson.JSON; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.annotation.LoginUser; | 
					 | 
					 | 
					import com.epmet.commons.tools.annotation.LoginUser; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.commons.tools.annotation.RequirePermission; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.aop.NoRepeatSubmit; | 
					 | 
					 | 
					import com.epmet.commons.tools.aop.NoRepeatSubmit; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.constant.NumConstant; | 
					 | 
					 | 
					import com.epmet.commons.tools.constant.NumConstant; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.dto.form.PageFormDTO; | 
					 | 
					 | 
					import com.epmet.commons.tools.dto.form.PageFormDTO; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.commons.tools.enums.RequirePermissionEnum; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.exception.EpmetErrorCode; | 
					 | 
					 | 
					import com.epmet.commons.tools.exception.EpmetErrorCode; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.exception.EpmetException; | 
					 | 
					 | 
					import com.epmet.commons.tools.exception.EpmetException; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.page.PageData; | 
					 | 
					 | 
					import com.epmet.commons.tools.page.PageData; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -63,6 +65,17 @@ public class IcEventController { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        formDTO.setStaffId(tokenDto.getUserId()); | 
					 | 
					 | 
					        formDTO.setStaffId(tokenDto.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return new Result<PageData<IcEventListResultDTO>>().ok(icEventService.list(formDTO)); | 
					 | 
					 | 
					        return new Result<PageData<IcEventListResultDTO>>().ok(icEventService.list(formDTO)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Author sun | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Description 工作端小程序-事件管理-列表 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     **/ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @RequestMapping("gov-list") | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @RequirePermission(requirePermission = RequirePermissionEnum.IC_EVENT_LIST) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    public Result<PageData<IcEventListResultDTO>> govList(@LoginUser TokenDto tokenDto, @RequestBody IcEventListFormDTO formDTO) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        formDTO.setCustomerId(tokenDto.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        formDTO.setStaffId(tokenDto.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        return new Result<PageData<IcEventListResultDTO>>().ok(icEventService.list(formDTO)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) | 
					 | 
					 | 
					    @RequestMapping(value = "{id}",method = {RequestMethod.POST,RequestMethod.GET}) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public Result<IcEventDTO> get(@PathVariable("id") String id){ | 
					 | 
					 | 
					    public Result<IcEventDTO> get(@PathVariable("id") String id){ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -268,6 +281,18 @@ public class IcEventController { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        ValidatorUtils.validateEntity(formDTO, IcEventListFormDTO.Detail.class); | 
					 | 
					 | 
					        ValidatorUtils.validateEntity(formDTO, IcEventListFormDTO.Detail.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return new Result<IcEventListResultDTO>().ok(icEventService.detail(formDTO)); | 
					 | 
					 | 
					        return new Result<IcEventListResultDTO>().ok(icEventService.detail(formDTO)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Author sun | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @Description 工作端小程序-事件管理-详情 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     **/ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @PostMapping("gov-detail") | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @RequirePermission(requirePermission = RequirePermissionEnum.IC_EVENT_DETAIL) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    public Result<IcEventListResultDTO> govDetail(@LoginUser TokenDto tokenDto, @RequestBody IcEventListFormDTO formDTO) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        formDTO.setCustomerId(tokenDto.getCustomerId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        formDTO.setStaffId(tokenDto.getUserId()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        ValidatorUtils.validateEntity(formDTO, IcEventListFormDTO.Detail.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        return new Result<IcEventListResultDTO>().ok(icEventService.detail(formDTO)); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * 事件分类分析- 饼图2,直属下级 事件数量 | 
					 | 
					 | 
					     * 事件分类分析- 饼图2,直属下级 事件数量 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |