|
|
@@ -1,6 +1,11 @@ |
|
|
|
package cn.com.taiji.managew.manager; |
|
|
|
|
|
|
|
import cn.com.taiji.common.manager.AbstractManager; |
|
|
|
import cn.com.taiji.common.manager.ManagerException; |
|
|
|
import cn.com.taiji.core.model.comm.protocol.ats.weiXin.AtsQueryPayResultV2Request; |
|
|
|
import cn.com.taiji.core.model.comm.protocol.ats.weiXin.AtsQueryPayResultV2Response; |
|
|
|
import cn.com.taiji.managew.Application; |
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.boot.test.context.SpringBootTest; |
|
|
|
|
|
|
@@ -9,8 +14,8 @@ import cn.com.taiji.managew.repo.jpa.SampleRepo; |
|
|
|
import cn.com.taiji.managew.repo.jpa.request.SamplePageRequest1; |
|
|
|
import cn.com.taiji.managew.repo.jpa.request.SamplePageRequest2; |
|
|
|
|
|
|
|
@SpringBootTest |
|
|
|
public class TestSampleRepo extends AbstractManager { |
|
|
|
@SpringBootTest(classes = Application.class) |
|
|
|
public class TestSampleRepo extends AbstractCommManager { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private SampleRepo repo; |
|
|
@@ -45,4 +50,15 @@ public class TestSampleRepo extends AbstractManager { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
public void testRepo2() { |
|
|
|
AtsQueryPayResultV2Request request = new AtsQueryPayResultV2Request(); |
|
|
|
try { |
|
|
|
AtsQueryPayResultV2Response response = jsonPostRepeat(request); |
|
|
|
System.out.println(response.toJson()); |
|
|
|
} catch (ManagerException e) { |
|
|
|
logger.info(e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |