xiaoyong931011
2021-03-25 d1bb177d31edc15dba595d6a14dadfd73f99e7a7
zq-erp/src/test/java/com/matrix/JyyTests.java
@@ -1,5 +1,7 @@
package com.matrix;
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;
@@ -22,12 +24,26 @@
   @Autowired
   private ShopOrderV2Dao shopOrderV2Dao;
   @Autowired
   ScoreVipDetailDao scoreVipDetailDao;
   @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"));
   }