Просмотр исходного кода

drp保修卡同步改为一次100条

shenjingwei 4 месяцев назад
Родитель
Сommit
6e5e21ad2b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/custom/service/DRPWarrantycardCheck.java

+ 1 - 1
src/custom/service/DRPWarrantycardCheck.java

@@ -27,7 +27,7 @@ public class DRPWarrantycardCheck extends ServiceController {
         Rows drpWarrantycardRows = new Rows();
         Rows drpWarrantycardRows = new Rows();
         try {
         try {
             SQLDump sqlDump = new SQLDump();
             SQLDump sqlDump = new SQLDump();
-            drpWarrantycardRows = dbConnect.runSqlQuery("select * from mddrp.twarrantycard where eordermatchflag=0 limit 2000");
+            drpWarrantycardRows = dbConnect.runSqlQuery("select * from mddrp.twarrantycard where eordermatchflag=0 limit 100");
             if (drpWarrantycardRows.isNotEmpty()) {
             if (drpWarrantycardRows.isNotEmpty()) {
                 RowsMap warrantycardRowsMap = SQLFactory.createQuerySQL(dbConnect, "sa_warrantycard", "cardno", "sa_customersid").setWhere("cardno", drpWarrantycardRows.toArrayList("fbillnum")).query().toRowsMap("cardno");
                 RowsMap warrantycardRowsMap = SQLFactory.createQuerySQL(dbConnect, "sa_warrantycard", "cardno", "sa_customersid").setWhere("cardno", drpWarrantycardRows.toArrayList("fbillnum")).query().toRowsMap("cardno");
                 RowsMap itemRowsMap = SQLFactory.createQuerySQL(dbConnect, "plm_item", "itemno", "itemid").setWhere("itemno", drpWarrantycardRows.toArrayList("fitemno")).query().toRowsMap("itemno");
                 RowsMap itemRowsMap = SQLFactory.createQuerySQL(dbConnect, "plm_item", "itemno", "itemid").setWhere("itemno", drpWarrantycardRows.toArrayList("fitemno")).query().toRowsMap("itemno");