diff --git a/dq-financial-crms-auth/src/test/java/com/daqing/financial/crauth/DqFinancialCrmsAuthApplicationTests.java b/dq-financial-crms-auth/src/test/java/com/daqing/financial/crauth/DqFinancialCrmsAuthApplicationTests.java index 01d5991d..9f9da1bf 100644 --- a/dq-financial-crms-auth/src/test/java/com/daqing/financial/crauth/DqFinancialCrmsAuthApplicationTests.java +++ b/dq-financial-crms-auth/src/test/java/com/daqing/financial/crauth/DqFinancialCrmsAuthApplicationTests.java @@ -1,13 +1,13 @@ -package com.daqing.financial.crauth; - -import org.junit.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest -class DqFinancialCrmsAuthApplicationTests { - - @Test - void contextLoads() { - } - -} +//package com.daqing.financial.crauth; +// +//import org.junit.Test; +//import org.springframework.boot.test.context.SpringBootTest; +// +//@SpringBootTest +//class DqFinancialCrmsAuthApplicationTests { +// +// @Test +// void contextLoads() { +// } +// +//} diff --git a/dq-financial-crms/src/test/java/com/daqing/financial/crms/DqFinancialCrmsApplicationTests.java b/dq-financial-crms/src/test/java/com/daqing/financial/crms/DqFinancialCrmsApplicationTests.java index cbf19786..97c774c2 100644 --- a/dq-financial-crms/src/test/java/com/daqing/financial/crms/DqFinancialCrmsApplicationTests.java +++ b/dq-financial-crms/src/test/java/com/daqing/financial/crms/DqFinancialCrmsApplicationTests.java @@ -1,36 +1,36 @@ -package com.daqing.financial.crms; - -import com.daqing.financial.crms.service.impl.CustomerServiceImpl; -import com.daqing.framework.domain.crms.CustomerEntity; -import com.daqing.framework.domain.crms.ext.CustomerTO; -import com.daqing.framework.domain.crms.request.CustomerRequest; -import com.daqing.framework.utils.PageUtils; -import org.junit.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 java.util.List; - -@SpringBootTest -@RunWith(SpringRunner.class) -public class DqFinancialCrmsApplicationTests { - - @Autowired - private CustomerServiceImpl customerServiceimpl; - - CustomerRequest customerRequest = new CustomerRequest(); - - @Test - public void queryListTest(){ - customerRequest.setCodeOrName("20200909"); - /* customerRequest.setStartTime("2020-09-07"); - customerRequest.setEndTime("2020-09-10");*/ - customerRequest.setCustomerType(1); - customerRequest.setCreateTime(12); - PageUtils list = customerServiceimpl.queryList(1, 10, customerRequest); - List list1 = (List) list.getList(); - list1.forEach(customerEntity -> System.out.println(customerEntity)); - } -} +//package com.daqing.financial.crms; +// +//import com.daqing.financial.crms.service.impl.CustomerServiceImpl; +//import com.daqing.framework.domain.crms.CustomerEntity; +//import com.daqing.framework.domain.crms.ext.CustomerTO; +//import com.daqing.framework.domain.crms.request.CustomerRequest; +//import com.daqing.framework.utils.PageUtils; +//import org.junit.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 java.util.List; +// +//@SpringBootTest +//@RunWith(SpringRunner.class) +//public class DqFinancialCrmsApplicationTests { +// +// @Autowired +// private CustomerServiceImpl customerServiceimpl; +// +// CustomerRequest customerRequest = new CustomerRequest(); +// +// @Test +// public void queryListTest(){ +// customerRequest.setCodeOrName("20200909"); +// /* customerRequest.setStartTime("2020-09-07"); +// customerRequest.setEndTime("2020-09-10");*/ +// customerRequest.setCustomerType(1); +// customerRequest.setCreateTime(12); +// PageUtils list = customerServiceimpl.queryList(1, 10, customerRequest); +// List list1 = (List) list.getList(); +// list1.forEach(customerEntity -> System.out.println(customerEntity)); +// } +//} diff --git a/dq-financial-hrms/src/test/java/com/daqing/financial/hrms/DqFinancialHrmsApplicationTests.java b/dq-financial-hrms/src/test/java/com/daqing/financial/hrms/DqFinancialHrmsApplicationTests.java index af33c791..e3aab85b 100644 --- a/dq-financial-hrms/src/test/java/com/daqing/financial/hrms/DqFinancialHrmsApplicationTests.java +++ b/dq-financial-hrms/src/test/java/com/daqing/financial/hrms/DqFinancialHrmsApplicationTests.java @@ -1,38 +1,38 @@ -package com.daqing.financial.hrms; - -import com.daqing.financial.hrms.service.impl.EmployeeServiceImpl; -import com.daqing.framework.domain.crms.CustomerEntity; -import com.daqing.framework.domain.hrms.EmployeeEntity; -import com.daqing.framework.domain.hrms.ext.EmployeeTO; -import com.daqing.framework.utils.PageUtils; -import org.junit.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 java.util.ArrayList; -import java.util.List; - -@SpringBootTest -@RunWith(SpringRunner.class) -public class DqFinancialHrmsApplicationTests { - - @Autowired - private EmployeeServiceImpl employeeServiceimpl; - - List ids = new ArrayList<>(); - - @Test - public void contextLoads() { - ids.add(1L); - ids.add(2L); - ids.add(3L); - ids.add(4L); - List list = employeeServiceimpl.getEmployeeAndDeptById(ids); - for (EmployeeTO employeeTO : list) { - System.out.println(employeeTO); - } - } - -} +//package com.daqing.financial.hrms; +// +//import com.daqing.financial.hrms.service.impl.EmployeeServiceImpl; +//import com.daqing.framework.domain.crms.CustomerEntity; +//import com.daqing.framework.domain.hrms.EmployeeEntity; +//import com.daqing.framework.domain.hrms.ext.EmployeeTO; +//import com.daqing.framework.utils.PageUtils; +//import org.junit.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 java.util.ArrayList; +//import java.util.List; +// +//@SpringBootTest +//@RunWith(SpringRunner.class) +//public class DqFinancialHrmsApplicationTests { +// +// @Autowired +// private EmployeeServiceImpl employeeServiceimpl; +// +// List ids = new ArrayList<>(); +// +// @Test +// public void contextLoads() { +// ids.add(1L); +// ids.add(2L); +// ids.add(3L); +// ids.add(4L); +// List list = employeeServiceimpl.getEmployeeAndDeptById(ids); +// for (EmployeeTO employeeTO : list) { +// System.out.println(employeeTO); +// } +// } +// +//} diff --git a/dq-framework-common/pom.xml b/dq-framework-common/pom.xml index 51d36fa3..2207e522 100644 --- a/dq-framework-common/pom.xml +++ b/dq-framework-common/pom.xml @@ -19,6 +19,18 @@ + diff --git a/dq-framework-utils/pom.xml b/dq-framework-utils/pom.xml index 6f28a8b5..1f394dfc 100644 --- a/dq-framework-utils/pom.xml +++ b/dq-framework-utils/pom.xml @@ -25,6 +25,18 @@ + diff --git a/dq-govern-gateway/src/test/java/com/daqing/financial/gateway/DqGovernGatewayApplicationTests.java b/dq-govern-gateway/src/test/java/com/daqing/financial/gateway/DqGovernGatewayApplicationTests.java index 23af90f6..75991e61 100644 --- a/dq-govern-gateway/src/test/java/com/daqing/financial/gateway/DqGovernGatewayApplicationTests.java +++ b/dq-govern-gateway/src/test/java/com/daqing/financial/gateway/DqGovernGatewayApplicationTests.java @@ -1,15 +1,15 @@ -package com.daqing.financial.gateway; - -import org.junit.Test; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.cloud.client.discovery.EnableDiscoveryClient; - -@EnableDiscoveryClient -@SpringBootTest -class DqGovernGatewayApplicationTests { - - @Test - void contextLoads() { - } - -} +//package com.daqing.financial.gateway; +// +//import org.junit.Test; +//import org.springframework.boot.test.context.SpringBootTest; +//import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +// +//@EnableDiscoveryClient +//@SpringBootTest +//class DqGovernGatewayApplicationTests { +// +// @Test +// void contextLoads() { +// } +// +//}