| 
														
															@@ -11,6 +11,7 @@ import com.ruoyi.business.mapper.BjTrackShipCompanyMapper; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.ruoyi.business.service.IBjTrackShipCompanyService; 
														 | 
														
														 | 
														
															 import com.ruoyi.business.service.IBjTrackShipCompanyService; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import lombok.RequiredArgsConstructor; 
														 | 
														
														 | 
														
															 import lombok.RequiredArgsConstructor; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import lombok.extern.slf4j.Slf4j; 
														 | 
														
														 | 
														
															 import lombok.extern.slf4j.Slf4j; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import org.apache.commons.lang3.time.DateFormatUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.apache.commons.lang3.time.DateUtils; 
														 | 
														
														 | 
														
															 import org.apache.commons.lang3.time.DateUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.stereotype.Service; 
														 | 
														
														 | 
														
															 import org.springframework.stereotype.Service; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.transaction.annotation.Transactional; 
														 | 
														
														 | 
														
															 import org.springframework.transaction.annotation.Transactional; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -43,7 +44,12 @@ public class BjTrackShipCompanyServiceImpl implements IBjTrackShipCompanyService 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Override 
														 | 
														
														 | 
														
															     @Override 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public BjTrackShipCompanyVo queryById(String id) { 
														 | 
														
														 | 
														
															     public BjTrackShipCompanyVo queryById(String id) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         BjTrackShipCompany trackShipCompany = baseMapper.selectById(id); 
														 | 
														
														 | 
														
															         BjTrackShipCompany trackShipCompany = baseMapper.selectById(id); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        return BeanUtil.copyProperties(trackShipCompany, BjTrackShipCompanyVo.class); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        BjTrackShipCompanyVo trackShipCompanyVo = BeanUtil.copyProperties(trackShipCompany, BjTrackShipCompanyVo.class); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (trackShipCompany.getAddStartDate() != null && trackShipCompany.getAddEndDate() != null) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            trackShipCompanyVo.setAddDate(DateFormatUtils.format(trackShipCompany.getAddStartDate(), "yyyy-MM-dd") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    .concat("/").concat(DateFormatUtils.format(trackShipCompany.getAddEndDate(), "yyyy-MM-dd"))); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        return trackShipCompanyVo; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -124,7 +130,7 @@ public class BjTrackShipCompanyServiceImpl implements IBjTrackShipCompanyService 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Override 
														 | 
														
														 | 
														
															     @Override 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public Boolean updateFlag(ReportFlagBo bo) { 
														 | 
														
														 | 
														
															     public Boolean updateFlag(ReportFlagBo bo) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         BjTrackShipCompany trackShipCompany = baseMapper.selectById(bo.getId()); 
														 | 
														
														 | 
														
															         BjTrackShipCompany trackShipCompany = baseMapper.selectById(bo.getId()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        trackShipCompany.setReleaseFlag("1"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        trackShipCompany.setReportFlag("1"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         trackShipCompany.setReportReason(bo.getReportReason()); 
														 | 
														
														 | 
														
															         trackShipCompany.setReportReason(bo.getReportReason()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         trackShipCompany.setReportFile(bo.getReportFile()); 
														 | 
														
														 | 
														
															         trackShipCompany.setReportFile(bo.getReportFile()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return baseMapper.updateById(trackShipCompany) > 0; 
														 | 
														
														 | 
														
															         return baseMapper.updateById(trackShipCompany) > 0; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -134,6 +140,7 @@ public class BjTrackShipCompanyServiceImpl implements IBjTrackShipCompanyService 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public Boolean updateBreak(BreakBo bo) { 
														 | 
														
														 | 
														
															     public Boolean updateBreak(BreakBo bo) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         BjTrackShipCompany trackShipCompany = baseMapper.selectById(bo.getId()); 
														 | 
														
														 | 
														
															         BjTrackShipCompany trackShipCompany = baseMapper.selectById(bo.getId()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         String[] breakDate = bo.getBreakDate(); 
														 | 
														
														 | 
														
															         String[] breakDate = bo.getBreakDate(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        trackShipCompany.setBreakStatus("1"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         trackShipCompany.setBreakDate(breakDate[0].split(" ")[0].concat("/").concat(breakDate[1].split(" ")[0])); 
														 | 
														
														 | 
														
															         trackShipCompany.setBreakDate(breakDate[0].split(" ")[0].concat("/").concat(breakDate[1].split(" ")[0])); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         trackShipCompany.setBreakReason(bo.getBreakReason()); 
														 | 
														
														 | 
														
															         trackShipCompany.setBreakReason(bo.getBreakReason()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return baseMapper.updateById(trackShipCompany) > 0; 
														 | 
														
														 | 
														
															         return baseMapper.updateById(trackShipCompany) > 0; 
														 |