From e63d043f012ef050738c01082ef5cbfd1f0abbbc Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Wed, 07 Apr 2021 12:06:47 +0800 Subject: [PATCH] 修改bug2 --- zq-erp/src/test/java/com/matrix/JyyTests.java | 32 ++++++-------------------------- 1 files changed, 6 insertions(+), 26 deletions(-) diff --git a/zq-erp/src/test/java/com/matrix/JyyTests.java b/zq-erp/src/test/java/com/matrix/JyyTests.java index fd88263..7dec718 100644 --- a/zq-erp/src/test/java/com/matrix/JyyTests.java +++ b/zq-erp/src/test/java/com/matrix/JyyTests.java @@ -1,9 +1,9 @@ package com.matrix; +import com.matrix.system.hive.service.imp.SysVipInfoServiceImpl; import com.matrix.system.score.dao.ScoreVipDetailDao; import com.matrix.system.score.service.ScoreVipDetailService; import com.matrix.system.shopXcx.dao.ShopOrderV2Dao; -import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; @@ -30,34 +30,14 @@ @Autowired ScoreVipDetailService scoreVipDetailService; - @Test - public void scoreVipDetailService() throws InterruptedException { - scoreVipDetailService.addScore("oJkRK4yelehsY4S7I6Ee1ydWtQMI",null,null,null,15,1L,1); - } - /** - * - */ - @Test - public void scoreVipDetailDao() throws InterruptedException { - System.out.println( scoreVipDetailDao.selectUserTotalScore("oJkRK4yelehsY4S7I6Ee1ydWtQMI",null)); - } - - @Test - public void testSelectReceivedOrderCount() throws InterruptedException { - System.out.println( shopOrderV2Dao.selectReceivedOrderCount("oJkRK4yelehsY4S7I6Ee1ydWtQMI")); - } - - @Test - public void testCountOrderAmount() throws InterruptedException { - System.out.println( shopOrderV2Dao.countOrderAmount("oJkRK4yelehsY4S7I6Ee1ydWtQMI")); - } + @Autowired + SysVipInfoServiceImpl sysVipInfoService; - @Test - public void countBuyZdcp() throws InterruptedException { - System.out.println( shopOrderV2Dao.countBuyZdcp("oJkRK4yelehsY4S7I6Ee1ydWtQMI","1167,1263,1262")); - } + + + } -- Gitblit v1.9.1