Przeglądaj źródła

添加测试语句

hu 2 miesięcy temu
rodzic
commit
a18dc8d681

+ 5 - 0
src/custom/restcontroller/webmanage/sale/wmssend/wmssend.java

@@ -77,6 +77,7 @@ public class wmssend extends Controller {
             String result = str.substring(0, str.length() - 1);
             result = result + ")";
             tqRows = tqwms.runSqlQuery("select BillNo,status from TOutInt where BillNo in "+result);
+
         }
         if(rowsMap.containsKey("马桥")){
             DBConnect mqwms = new DBConnect("U8-YUNl_DB");
@@ -87,6 +88,7 @@ public class wmssend extends Controller {
             String result = str.substring(0, str.length() - 1);
             result = result + ")";
             mqRows=mqwms.runSqlQuery("select cCode,rowno,drpstatus from Wms_Rdrecord32SN where cCode in"+result);
+            System.err.println("select cCode,rowno,drpstatus from Wms_Rdrecord32SN where cCode in"+result);
         }
         RowsMap tqRowsMap = tqRows.toRowsMap("BillNo");
         RowsMap mqRowsMap =mqRows.toRowsMap("cCode");
@@ -107,13 +109,16 @@ public class wmssend extends Controller {
                         if(mqRowsMap.get(row.getString("billno")).toRowsMap("rowno").get(row.getString("rowno")).min("drpstatus").compareTo(BigDecimal.ONE)==0){
                             row.put("receivestatus","已接收");
                         }else{
+                            System.err.println("测试1");
                             row.put("receivestatus","未接收");
                         }
                     }else{
+                        System.err.println("测试2");
                         row.put("receivestatus","未接收");
                     }
                 }
             }else{
+                System.err.println("测试3");
                 row.put("receivestatus","未接收");
             }