|
@@ -107,7 +107,7 @@ public class ERPServiceImpl implements ERPService {
|
|
|
}
|
|
}
|
|
|
//获取总数
|
|
//获取总数
|
|
|
StringBuffer searchSql = new StringBuffer();
|
|
StringBuffer searchSql = new StringBuffer();
|
|
|
- searchSql.append("SELECT pi_inoutno,pi_class,to_char(pi_date,'yyyy-mm-dd hh24:mi:ss') pi_date,pd_pdno,pd_prodcode,pr_detail,pr_spec,pr_unit,pd_outqty,pd_inqty,pd_whcode,pd_whname,pd_batchcode,pd_ordercode,pi_status,pi_purpose,pi_type,pi_departmentname,pi_cardcode,pi_title" +
|
|
|
|
|
|
|
+ searchSql.append("SELECT pd_id,pi_inoutno,pi_class,to_char(pi_date,'yyyy-mm-dd hh24:mi:ss') pi_date,pd_pdno,pd_prodcode,pr_detail,pr_spec,pr_unit,pd_outqty,pd_inqty,pd_whcode,pd_whname,pd_batchcode,pd_ordercode,pi_status,pi_purpose,pi_type,pi_departmentname,pi_cardcode,pi_title" +
|
|
|
",to_char(pi_date1,'yyyy-mm-dd hh24:mi:ss') pi_date1,pi_recordman" +
|
|
",to_char(pi_date1,'yyyy-mm-dd hh24:mi:ss') pi_date1,pi_recordman" +
|
|
|
",pi_vouchercode,nvl(pd_seller,pi_sellername) sellername,nvl(pd_sellercode,pi_sellercode) sellercode ")
|
|
",pi_vouchercode,nvl(pd_seller,pi_sellername) sellername,nvl(pd_sellercode,pi_sellercode) sellercode ")
|
|
|
.append(" from ProdInOut inner join ProdIODetail on pd_piid=pi_id left join Product on pr_code=pd_prodcode " )
|
|
.append(" from ProdInOut inner join ProdIODetail on pd_piid=pi_id left join Product on pr_code=pd_prodcode " )
|