|
|
@@ -730,7 +730,7 @@ public class ErpProdIODetailServiceImpl implements ErpProdIODetailService {
|
|
|
"pai_taxrate as taxrate, pai_whname as whname, purc$acceptitem.pr_code as prodcode, purc$acceptitem.pr_spec as prodspec, purc$acceptitem.pr_unit as produnit, " +
|
|
|
"purc$acceptitem.pr_title as prodtitle, pai_ycheckqty as ycheckqty, (pai_qty - coalesce(pai_ycheckqty, 0)) as thischeckqty, " +
|
|
|
"pa_enuu as custuu, pu_useruu custuseruu, pa_venduu as enuu, pai_id as sourceid, pa_sendcode as sendcode, pd_factory as factory, en_name custname," +
|
|
|
- " pai_payment payment from purc$accept " +
|
|
|
+ " pai_payment payment, b2b_si_id sendId from purc$accept " +
|
|
|
"join purc$acceptitem on pai_paid = pa_id " +
|
|
|
"left join purc$orderitems on pai_pdid = pd_id " +
|
|
|
"left join purc$orders on purc$orders.pu_id = pd_puid " +
|