|  |  | @ -1,10 +1,14 @@ | 
			
		
	
		
			
				
					|  |  |  | package com.epmet.controller; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.Result; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.validator.ValidatorUtils; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.basereport.form.*; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.service.BaseReportService; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.web.bind.annotation.*; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.web.bind.annotation.RequestBody; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.web.bind.annotation.RequestMapping; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.web.bind.annotation.RestController; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | /** | 
			
		
	
		
			
				
					|  |  |  |  * @Author sun | 
			
		
	
	
		
			
				
					|  |  | @ -24,6 +28,7 @@ public class BaseReportController { | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("gridreguser") | 
			
		
	
		
			
				
					|  |  |  |     public Result gridRegUser(@RequestBody GridRegUserFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(formDTO, GridRegUserFormDTO.saveList.class); | 
			
		
	
		
			
				
					|  |  |  |         baseReportService.gridRegUser(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         return new Result(); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | @ -35,6 +40,7 @@ public class BaseReportController { | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("agencyreguser") | 
			
		
	
		
			
				
					|  |  |  |     public Result agencyRegUser(@RequestBody AgencyRegUserFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(formDTO, AgencyRegUserFormDTO.saveList.class); | 
			
		
	
		
			
				
					|  |  |  |         baseReportService.agencyRegUser(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         return new Result(); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | @ -46,6 +52,7 @@ public class BaseReportController { | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("gridgrouptotal") | 
			
		
	
		
			
				
					|  |  |  |     public Result gridGroupTotal(@RequestBody GridGroupTotalFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(formDTO, GridGroupTotalFormDTO.saveList.class); | 
			
		
	
		
			
				
					|  |  |  |         baseReportService.gridGroupTotal(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         return new Result(); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | @ -57,6 +64,7 @@ public class BaseReportController { | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("agencygrouptotal") | 
			
		
	
		
			
				
					|  |  |  |     public Result agencyGroupTotal(@RequestBody AgencyGroupTotalFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(formDTO, AgencyGroupTotalFormDTO.saveList.class); | 
			
		
	
		
			
				
					|  |  |  |         baseReportService.agencyGroupTotal(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         return new Result(); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | @ -68,6 +76,7 @@ public class BaseReportController { | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("gridhottopic") | 
			
		
	
		
			
				
					|  |  |  |     public Result gridHotTopic(@RequestBody GridHotTopicFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(formDTO, GridHotTopicFormDTO.saveList.class); | 
			
		
	
		
			
				
					|  |  |  |         baseReportService.gridHotTopic(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         return new Result(); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | @ -79,6 +88,7 @@ public class BaseReportController { | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("agencyhottopic") | 
			
		
	
		
			
				
					|  |  |  |     public Result agencyHotTopic(@RequestBody AgencyHotTopicFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(formDTO, AgencyHotTopicFormDTO.saveList.class); | 
			
		
	
		
			
				
					|  |  |  |         baseReportService.agencyHotTopic(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         return new Result(); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | 
 |