|  |  | @ -86,7 +86,7 @@ public class SolarenergyService { | 
			
		
	
		
		
			
				
					
					|  |  |  |         //处理时间,如果不为空,则为预测指定日期太阳辐射值,否则为计算当前时间太阳辐射值
 |  |  |  |         //处理时间,如果不为空,则为预测指定日期太阳辐射值,否则为计算当前时间太阳辐射值
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         Calendar calendar = Calendar.getInstance(); |  |  |  |         Calendar calendar = Calendar.getInstance(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (!StringUtils.isEmpty(time) && !time.equals("")){ |  |  |  |         if (!StringUtils.isEmpty(time) && !time.equals("")){ | 
			
		
	
		
		
			
				
					
					|  |  |  |             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |  |  |  |             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             try { |  |  |  |             try { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 calendar.setTime(simpleDateFormat.parse(time)); |  |  |  |                 calendar.setTime(simpleDateFormat.parse(time)); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } catch (Exception e) { |  |  |  |             } catch (Exception e) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |