|
@@ -56,7 +56,7 @@ public class ERPServiceImpl implements ERPService {
|
|
|
|
|
|
|
|
//获取总数
|
|
//获取总数
|
|
|
StringBuffer searchSql = new StringBuffer();
|
|
StringBuffer searchSql = new StringBuffer();
|
|
|
- searchSql.append("select pw_avprice,pr_location,pw_prodcode,pr_orispeccode,pr_brand,pr_spec,pr_specrule pr_spec_rule,pw_prodid,pr_unit,pw_id,pw_whcode,pw_onhand,pw_movedate,pr_buyername,pw_amount,pr_serial,wh_description,pw_lastdate,pr_detail")
|
|
|
|
|
|
|
+ searchSql.append("select pw_avprice,pr_location,pw_prodcode,pr_orispeccode,pr_brand,pr_spec,pr_specrule pr_spec_rule,pw_prodid,pr_unit,pw_id,pw_whcode,pw_onhand,pw_movedate,pr_buyername,pw_amount,pr_serial,wh_description,pw_lastdate,pr_detail,pr_speccs")
|
|
|
.append(" ,purc_inprogress, po_qty, ma_qty, pick_qty, made_qty, wip_qty ")
|
|
.append(" ,purc_inprogress, po_qty, ma_qty, pick_qty, made_qty, wip_qty ")
|
|
|
.append(" from productWH tab left join warehouse on pw_whcode=wh_code LEFT JOIN USER_PDMAPI_VIEW on pw_prodcode=pr_code " )
|
|
.append(" from productWH tab left join warehouse on pw_whcode=wh_code LEFT JOIN USER_PDMAPI_VIEW on pw_prodcode=pr_code " )
|
|
|
.append("WHERE nvl(pw_onhand,0) > 0 ").append(cond_sql);
|
|
.append("WHERE nvl(pw_onhand,0) > 0 ").append(cond_sql);
|