From ff27672668460a4e1076ed58be921ef59162b0a9 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 05 May 2022 17:59:09 +0800 Subject: [PATCH] fix excel --- zq-erp/src/test/java/com/matrix/BizUserToVipInfoTool.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/zq-erp/src/test/java/com/matrix/BizUserToVipInfoTool.java b/zq-erp/src/test/java/com/matrix/BizUserToVipInfoTool.java index c44b69f..a6b4830 100644 --- a/zq-erp/src/test/java/com/matrix/BizUserToVipInfoTool.java +++ b/zq-erp/src/test/java/com/matrix/BizUserToVipInfoTool.java @@ -101,13 +101,15 @@ @Autowired private SysOrderItemDao orderItemDao; + @Resource + private MoneyCardUseService cardUseService; @Test public void findOrderById() { - Long id = 675L; -// SysUsers user = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY); - SysOrder order = orderService.findById(id); - order.setItems(orderItemDao.selectByOrderId(id)); - System.out.println(order); + Long vipId = 111L; + MoneyCardUse moneyCardUse = new MoneyCardUse(); + moneyCardUse.setVipId(vipId); + moneyCardUse.setStatus(Dictionary.MONEYCARD_STATUS_YX); + List<MoneyCardUse> cards = cardUseService.findByModel(moneyCardUse); } @Test public void testFrist(){ -- Gitblit v1.9.1