| 
														
															@@ -1,6 +1,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 package com.flyer.foster.controller; 
														 | 
														
														 | 
														
															 package com.flyer.foster.controller; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import cn.hutool.core.bean.BeanUtil; 
														 | 
														
														 | 
														
															 import cn.hutool.core.bean.BeanUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import cn.hutool.core.util.StrUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 
														 | 
														
														 | 
														
															 import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.flyer.foster.dto.*; 
														 | 
														
														 | 
														
															 import com.flyer.foster.dto.*; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.flyer.foster.entity.PosterLib; 
														 | 
														
														 | 
														
															 import com.flyer.foster.entity.PosterLib; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -39,7 +40,7 @@ public class WhisperController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-     * 新增海报 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     * 新增悄悄话 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 
														 | 
														
														 | 
														
															      * 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * @return 
														 | 
														
														 | 
														
															      * @return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -51,13 +52,15 @@ public class WhisperController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-     * 修改海报 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     * 修改悄悄话 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @PutMapping("") 
														 | 
														
														 | 
														
															     @PutMapping("") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public R updatePosterLib(@Valid @RequestBody WhisperUpdateDTO updateDTO) { 
														 | 
														
														 | 
														
															     public R updatePosterLib(@Valid @RequestBody WhisperUpdateDTO updateDTO) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return R.ok().result( 
														 | 
														
														 | 
														
															         return R.ok().result( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 iWhisperService.lambdaUpdate() 
														 | 
														
														 | 
														
															                 iWhisperService.lambdaUpdate() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         .set(Whisper::getContent, updateDTO.getContent()) 
														 | 
														
														 | 
														
															                         .set(Whisper::getContent, updateDTO.getContent()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        .set(StrUtil.isNotBlank(updateDTO.getStartTime()), Whisper::getStartTime, updateDTO.getStartTime()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        .set(StrUtil.isNotBlank(updateDTO.getEndTime()), Whisper::getEndTime, updateDTO.getEndTime()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         .eq(Whisper::getId, updateDTO.getId()) 
														 | 
														
														 | 
														
															                         .eq(Whisper::getId, updateDTO.getId()) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         .update()); 
														 | 
														
														 | 
														
															                         .update()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 |