姜友瑶
2022-05-17 206b2a8034f066f7f4d08755abfee3f5049d0632
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);
    }