From c5b60fbff8008c95cef0236ea520041a43151d19 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 06 Apr 2023 23:03:13 +0800
Subject: [PATCH] 在mq之前,先更新订单状态

---
 src/test/java/cc/mrbird/febs/AgentTest.java |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/test/java/cc/mrbird/febs/AgentTest.java b/src/test/java/cc/mrbird/febs/AgentTest.java
index c1bface..d3195e9 100644
--- a/src/test/java/cc/mrbird/febs/AgentTest.java
+++ b/src/test/java/cc/mrbird/febs/AgentTest.java
@@ -530,19 +530,19 @@
 
     @Test
     public void insertAgentTest() {
-        AgentInfo agentInfo = new AgentInfo();
-        agentInfo.setOrderType(2);
-        agentInfo.setOrderCnt(2000);
-        agentInfo.setLastCnt(3);
-        agentInfo.setDirectIncome(BigDecimal.valueOf(50));
-        agentInfo.setTeamIncome(BigDecimal.valueOf(15));
-        agentInfo.setTeamIncomeType(2);
-
-        DataDictionaryCustom data = new DataDictionaryCustom();
-        data.setType("AGENT_LEVEL_REQUIRE");
-        data.setCode(AgentLevelEnum.FOUR_LEVEL.name());
-        data.setValue(JSONObject.toJSONString(agentInfo));
-        dataDictionaryCustomMapper.insert(data);
+//        AgentInfo agentInfo = new AgentInfo();
+//        agentInfo.setOrderType(2);
+//        agentInfo.setOrderCnt(2000);
+//        agentInfo.setLastCnt(3);
+//        agentInfo.setDirectIncome(BigDecimal.valueOf(50));
+//        agentInfo.setTeamIncome(BigDecimal.valueOf(15));
+//        agentInfo.setTeamIncomeType(2);
+//
+//        DataDictionaryCustom data = new DataDictionaryCustom();
+//        data.setType("AGENT_LEVEL_REQUIRE");
+//        data.setCode(AgentLevelEnum.FOUR_LEVEL.name());
+//        data.setValue(JSONObject.toJSONString(agentInfo));
+//        dataDictionaryCustomMapper.insert(data);
     }
 
     @Test
@@ -614,7 +614,7 @@
 
     @Test
     public void profitJobTest() {
-        profitJob.profitJob();
+//        profitJob.profitJob();
     }
 
 
@@ -623,6 +623,6 @@
 
     @Test
     public void orderReturnTest() {
-        agentConsumer.orderReturnMoney("1");
+//        agentConsumer.orderReturnMoney("7");
     }
 }

--
Gitblit v1.9.1