From 3ca15fea872010606b5b96a4c11d0d6409dd0be7 Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期一, 18 九月 2023 18:09:05 +0800 Subject: [PATCH] Merge branch 'master' of ssh://120.76.84.145:20202/java/HongRuiTang into master --- ruoyi-modules/ruoyi-order/src/test/java/com/ruoyi/order/orderTest.java | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ruoyi-modules/ruoyi-order/src/test/java/com/ruoyi/order/orderTest.java b/ruoyi-modules/ruoyi-order/src/test/java/com/ruoyi/order/orderTest.java index 7a97d3b..cf78c3e 100644 --- a/ruoyi-modules/ruoyi-order/src/test/java/com/ruoyi/order/orderTest.java +++ b/ruoyi-modules/ruoyi-order/src/test/java/com/ruoyi/order/orderTest.java @@ -1,6 +1,8 @@ package com.ruoyi.order; import com.ruoyi.order.service.order.OrderService; +import com.ruoyi.system.api.domain.dto.MgtBaseShopDto; +import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @@ -22,12 +24,13 @@ @Resource private OrderService orderService; - /*@Test + @Test public void main() { - MgtBasePlatformDto mgtBasePlatformDto = new MgtBasePlatformDto(); - orderService.getPlTotalOrderTotal(mgtBasePlatformDto); + MgtBaseShopDto q = new MgtBaseShopDto(); + q.setShopId(31L); + orderService.getTotalOrderTotal(q); - }*/ + } } -- Gitblit v1.7.1