|
|
@@ -88,7 +88,6 @@ 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");
|
|
|
@@ -106,20 +105,16 @@ public class wmssend extends Controller {
|
|
|
}else if(row.getString("outplace").equals("马桥")){
|
|
|
if(mqRowsMap.containsKey(row.getString("billno"))){
|
|
|
if(mqRowsMap.get(row.getString("billno")).toRowsMap("rowno").containsKey(row.getString("rowno"))){
|
|
|
- System.err.println(mqRowsMap.get(row.getString("billno")).toRowsMap("rowno").get(row.getString("rowno")).min("drpstatus"));
|
|
|
- if(mqRowsMap.get(row.getString("billno")).toRowsMap("rowno").get(row.getString("rowno")).min("drpstatus").compareTo(BigDecimal.ONE)==0){
|
|
|
+ if(mqRowsMap.get(row.getString("billno")).toRowsMap("rowno").get(row.getString("rowno")).get(0).getLong("drpstatus")==1){
|
|
|
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","未接收");
|
|
|
}
|
|
|
|