Kaynağa Gözat

事后测试数据测试类

0027005599 2 yıl önce
ebeveyn
işleme
6972522f7b

+ 5 - 1
jeecg-module-system/jeecg-system-start/src/test/java/org/jeecg/AfterwardsAuditDataTest.java

@@ -1,6 +1,7 @@
 package org.jeecg;
 
 import cn.hutool.core.collection.CollectionUtil;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang.StringUtils;
 import org.jeecg.modules.medical.Constant;
@@ -114,7 +115,10 @@ public class AfterwardsAuditDataTest {
 
     @Test
     public void insertAfterWordDetail() {
-        List<SttlMasterBill> sttlMasterBills = sttlMasterBillService.list();
+        QueryWrapper queryWrapper = new QueryWrapper(SttlMasterBill.class);
+        queryWrapper.notIn("jsdjh","0182940007_20201202081355","111929226_20201124104538","20200914-3603991000-014606");
+
+        List<SttlMasterBill> sttlMasterBills = sttlMasterBillService.list(queryWrapper);
         List<AfterwardsAuditDetail> detailList = new ArrayList<>();
         Map<String, Boolean> codeDataMap = new ConcurrentHashMap<>();
         String[] sAr = {"1", "3"};