2312销售订单累计发货累计排查接口-张鑫0411
This commit is contained in:
parent
4e6619bb3d
commit
19fcf0793e
|
@ -236,7 +236,7 @@ public class saleUpdateSQty extends AbstractNCCRestResource {
|
|||
+ " left join so_saleorder_b b on h.csaleorderid=b.csaleorderid\n"
|
||||
+ " left join org_salesorg o on h.pk_org=o.pk_salesorg\n"
|
||||
+ " where h.dr=0 and b.dr=0 and\n"
|
||||
+ " h.vbillcode='" + vbillcode + "' and o.code='" + pk_org + "' and b.crowno='" + crowno + "' ";
|
||||
+ " h.vbillcode='" + vbillcode + "' and o.code='" + pk_org + "' and b.csaleorderbid='" + crowno + "' ";
|
||||
String saleorderBPK = (String) getQueryService().executeQuery(sql, new ColumnProcessor());
|
||||
return saleorderBPK;
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ public class saleUpdateLJpc extends AbstractNCCRestResource {
|
|||
+ "LEFT JOIN org_salesorg o ON h.pk_org = o.pk_salesorg "
|
||||
+ "WHERE b.dr=0 and h.vbillcode = '" + dataMap.get("vbillcode") + "' "
|
||||
+ "AND o.code = '" + pk_org + "' "
|
||||
+ "AND b.crowno = '" + dataMap.get("crowno") + "'";
|
||||
+ "AND b.csaleorderbid = '" + dataMap.get("crowno") + "'";
|
||||
List<Map<String, Object>> results = (List<Map<String, Object>>) getQueryService().executeQuery(sqlser, new MapListProcessor());
|
||||
if (results.size()==0){
|
||||
returnJson.put("state", 'N');
|
||||
|
@ -97,7 +97,7 @@ public class saleUpdateLJpc extends AbstractNCCRestResource {
|
|||
+ " LEFT JOIN org_salesorg o ON h.pk_org = o.pk_salesorg"
|
||||
+ " WHERE h.vbillcode = '" + dataMap.get("vbillcode") + "' "
|
||||
+ " AND o.code = '" + pk_org + "' "
|
||||
+ " AND b.crowno = '" + dataMap.get("crowno") + "' and b.dr=0 "
|
||||
+ " AND b.csaleorderbid = '" + dataMap.get("crowno") + "' and b.dr=0 "
|
||||
+ ");");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue