---修复callservice无法正常调用bug

This commit is contained in:
2025-10-23 10:32:46 +08:00
parent 4bacf06ecf
commit ce960feb01
10 changed files with 157 additions and 12 deletions

View File

@ -0,0 +1,25 @@
package com.xjrsoft;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.xjrsoft.module.common.db.service.CommonCallService;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ITCDemoApplication.class)
public class CallTest {
// 注入待测试的服务
@Autowired
private CommonCallService callService;
@Test
public void testCallSave() {
String out = callService.saveAfter("Ing_b_price_term", 12);
System.out.println(out);
}
}