From 292e8746d653129afee7ad8f032832d08474f9f8 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 31 May 2022 12:14:32 +0800 Subject: [PATCH] fix card arrears pay --- zq-erp/src/test/java/com/matrix/JyyTests.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/test/java/com/matrix/JyyTests.java b/zq-erp/src/test/java/com/matrix/JyyTests.java index 3f4c132..93a4069 100644 --- a/zq-erp/src/test/java/com/matrix/JyyTests.java +++ b/zq-erp/src/test/java/com/matrix/JyyTests.java @@ -1,5 +1,6 @@ package com.matrix; +import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.matrix.system.hive.bean.MoneyCardUse; import com.matrix.system.hive.dao.MoneyCardUseDao; @@ -16,6 +17,7 @@ import org.springframework.test.context.junit4.SpringRunner; import java.io.IOException; +import java.util.ArrayList; import java.util.List; /** @@ -65,12 +67,19 @@ } + + @Test @Rollback public void testNoticeTask() throws IOException { // orderDingDingNoticeTask.handle("",new Delivery(null,null,"1295".getBytes())); + List<JSONObject> storeReceiptWares =new ArrayList<>(); + JSONObject o=new JSONObject(); + o.put("id",12); + o.put("createBy",""); - + storeReceiptWares.add(o); + moneyCardUseDao.saveInTimeReceiptWare(storeReceiptWares); } -- Gitblit v1.9.1