Test.java 662 B

1234567891011121314151617181920212223242526
  1. package com.malk.kaiyue;
  2. import com.malk.kaiyue.service.KYCDService;
  3. import lombok.extern.slf4j.Slf4j;
  4. import org.junit.runner.RunWith;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.boot.test.context.SpringBootTest;
  7. import org.springframework.test.context.junit4.SpringRunner;
  8. import java.util.List;
  9. import java.util.Map;
  10. @Slf4j
  11. @SpringBootTest
  12. @RunWith(SpringRunner.class)
  13. public class Test {
  14. @Autowired
  15. private KYCDService kycdService;
  16. @org.junit.Test
  17. public void test(){
  18. List<Map> empLeaveList = kycdService.getEmpLeaveList();
  19. log.info("empLeaveList:{}",empLeaveList);
  20. }
  21. }