| 
					
				 | 
			
			
				@@ -7,6 +7,7 @@ import com.jjt.ws.service.ITwinWorkshopCalcService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javafx.util.Pair; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.junit.jupiter.api.Test; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.boot.test.context.SpringBootTest; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.springframework.test.context.ActiveProfiles; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.annotation.Resource; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.math.BigDecimal; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -17,6 +18,7 @@ import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 印花机 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @SpringBootTest(classes = JjtApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@ActiveProfiles("devp") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class ElecTest { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Resource 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private ITwinWorkshopCalcService calcService; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -27,10 +29,13 @@ public class ElecTest { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Test 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     void test() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        String st = "2025-03-07"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String st = "2025-06-03"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         LocalDate localDate = LocalDate.parse(st); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        Map<Integer, Pair<String, BigDecimal>> result = priceService.getPrice(localDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        System.err.println(result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        calcService.calc(localDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        Map<Integer, Pair<String, BigDecimal>> result = priceService.getPrice(localDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        System.err.println(result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |