|
|
@@ -27,7 +27,7 @@ public class DRPWarrantycardCheck extends ServiceController {
|
|
|
Rows drpWarrantycardRows = new Rows();
|
|
|
try {
|
|
|
SQLDump sqlDump = new SQLDump();
|
|
|
- drpWarrantycardRows = dbConnect.runSqlQuery("select * from mddrp.twarrantycard where eordermatchflag=0 limit 1");
|
|
|
+ drpWarrantycardRows = dbConnect.runSqlQuery("select * from mddrp.twarrantycard where eordermatchflag=0 limit 10");
|
|
|
if (drpWarrantycardRows.isNotEmpty()) {
|
|
|
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");
|