| 
														
															@@ -15,6 +15,7 @@ import org.springframework.stereotype.Service; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import javax.annotation.Resource; 
														 | 
														
														 | 
														
															 import javax.annotation.Resource; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.math.BigDecimal; 
														 | 
														
														 | 
														
															 import java.math.BigDecimal; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import java.math.RoundingMode; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.time.LocalDate; 
														 | 
														
														 | 
														
															 import java.time.LocalDate; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.time.LocalDateTime; 
														 | 
														
														 | 
														
															 import java.time.LocalDateTime; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.time.LocalTime; 
														 | 
														
														 | 
														
															 import java.time.LocalTime; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -164,7 +165,7 @@ public class TwinCalcDayYhjServiceImpl implements ITwinCalcDayYhjService { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 int totalWeight = bpList.stream().mapToInt(TwinCalcHourBpOut::getWeight).sum(); 
														 | 
														
														 | 
														
															                 int totalWeight = bpList.stream().mapToInt(TwinCalcHourBpOut::getWeight).sum(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 // 设置到日统计对象中 
														 | 
														
														 | 
														
															                 // 设置到日统计对象中 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 calc.setDayLength(totalLength); 
														 | 
														
														 | 
														
															                 calc.setDayLength(totalLength); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                calc.setDayWeight(BigDecimal.valueOf(totalWeight)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                calc.setDayWeight(BigDecimal.valueOf(totalWeight).divide(BigDecimal.valueOf(1000), 2, RoundingMode.HALF_UP)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } else { 
														 | 
														
														 | 
														
															             } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 // 如果没有数据,设置为0 
														 | 
														
														 | 
														
															                 // 如果没有数据,设置为0 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 calc.setDayLength(0); 
														 | 
														
														 | 
														
															                 calc.setDayLength(0); 
														 |