|  |  | @ -6,9 +6,9 @@ import com.elink.esua.epdc.commons.tools.utils.Result; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.epdc.form.*; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.epdc.result.EpdcNewsDetailResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.epdc.result.EpdcNewsResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.epdc.result.EpdcNewsListResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.epdc.result.EpdcNoticeDetailResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.epdc.result.EpdcNoticeResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.dto.epdc.result.EpdcNoticeListResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.elink.esua.epdc.service.NewsService; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.web.bind.annotation.*; | 
			
		
	
	
		
			
				
					|  |  | @ -34,12 +34,12 @@ public class ApiNewsController { | 
			
		
	
		
			
				
					|  |  |  |      * | 
			
		
	
		
			
				
					|  |  |  |      * @param userDetail | 
			
		
	
		
			
				
					|  |  |  |      * @param formDto | 
			
		
	
		
			
				
					|  |  |  |      * @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNoticeResultDTO>> | 
			
		
	
		
			
				
					|  |  |  |      * @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNoticeListResultDTO>> | 
			
		
	
		
			
				
					|  |  |  |      * @author yujintao | 
			
		
	
		
			
				
					|  |  |  |      * @date 2019/9/5 20:17 | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @GetMapping("notice/list") | 
			
		
	
		
			
				
					|  |  |  |     public Result<List<EpdcNoticeResultDTO>> listNotice(@LoginUser TokenDto userDetail, EpdcNoticeFormDTO formDto) { | 
			
		
	
		
			
				
					|  |  |  |     public Result<List<EpdcNoticeListResultDTO>> listNotice(@LoginUser TokenDto userDetail, EpdcNoticeListFormDTO formDto) { | 
			
		
	
		
			
				
					|  |  |  |         return newsService.listNotice(userDetail, formDto); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -74,12 +74,12 @@ public class ApiNewsController { | 
			
		
	
		
			
				
					|  |  |  |      * @Author qushutong | 
			
		
	
		
			
				
					|  |  |  |      * @Date 2019/9/9 9:12 | 
			
		
	
		
			
				
					|  |  |  |      * @Param [epdcNewsFromDTO] | 
			
		
	
		
			
				
					|  |  |  |      * @Return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNewsResultDTO>> | 
			
		
	
		
			
				
					|  |  |  |      * @Return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcNewsListResultDTO>> | 
			
		
	
		
			
				
					|  |  |  |      * @Exception | 
			
		
	
		
			
				
					|  |  |  |      * | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @GetMapping("news/list") | 
			
		
	
		
			
				
					|  |  |  |     public Result<List<EpdcNewsResultDTO>> listNews(@LoginUser TokenDto userDetail, EpdcNewsFromDTO epdcNewsFromDTO) { | 
			
		
	
		
			
				
					|  |  |  |     public Result<List<EpdcNewsListResultDTO>> listNews(@LoginUser TokenDto userDetail, EpdcNewsListFromDTO epdcNewsFromDTO) { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         return newsService.listNews(userDetail, epdcNewsFromDTO); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | @ -139,7 +139,7 @@ public class ApiNewsController { | 
			
		
	
		
			
				
					|  |  |  |      * @date 2019/9/10 11:05 | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("information/read") | 
			
		
	
		
			
				
					|  |  |  |     public Result readInformation(@RequestBody EpdcReadInformationFormDTO formDto) { | 
			
		
	
		
			
				
					|  |  |  |     public Result readInformation(@RequestBody EpdcInformationReadFormDTO formDto) { | 
			
		
	
		
			
				
					|  |  |  |         ValidatorUtils.validateEntity(formDto); | 
			
		
	
		
			
				
					|  |  |  |         return newsService.readInformation(formDto); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | 
 |