|  | @@ -1,5 +1,6 @@
 | 
	
		
			
				|  |  |  package thyyxxk.webserver.service.casefrontsheet;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import lombok.extern.slf4j.Slf4j;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  import thyyxxk.webserver.dao.his.casefrontsheet.CaseFrontSheetAnalyzeDao;
 | 
	
	
		
			
				|  | @@ -10,9 +11,9 @@ import thyyxxk.webserver.utils.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import java.util.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +@Slf4j
 | 
	
		
			
				|  |  |  @Service
 | 
	
		
			
				|  |  |  public class CaseFrontSheetAnalyzeService {
 | 
	
		
			
				|  |  | -    private static final int TOTAL_BED_COUNT = 771;
 | 
	
		
			
				|  |  |      private static final List<String> ABOVE_GRADE_FOUR = Arrays.asList("1", "2", "3");
 | 
	
		
			
				|  |  |      private final RedisLikeService redis;
 | 
	
		
			
				|  |  |      private final CaseFrontSheetAnalyzeDao dao;
 | 
	
	
		
			
				|  | @@ -133,7 +134,7 @@ public class CaseFrontSheetAnalyzeService {
 | 
	
		
			
				|  |  |              if (null == bednum || bednum <= 0) {
 | 
	
		
			
				|  |  |                  sheetQuality.setBedTurnoverTimes("未维护科室床位数,无法计算。");
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  | -                sheetQuality.setBedTurnoverTimes(String.valueOf(sourceSize / TOTAL_BED_COUNT));
 | 
	
		
			
				|  |  | +                sheetQuality.setBedTurnoverTimes(String.valueOf(sourceSize / bednum));
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              int diagConformInAdmAndDischarge = 0, diagConformInPreAndAfterOperation = 0, diagConformInPreAndAfterOperationTotal = 0,
 | 
	
		
			
				|  |  |                      diagConformInMainDiagAndPathology = 0, diagConformInMainDiagAndPathologyTotal = 0, rescueTimes = 0,
 |