|
|
@@ -147,8 +147,8 @@ func (r *WrOrderQuote) buildSqlFixedPrice() string {
|
|
|
" on e.enumitemname = wg.unitid" +
|
|
|
" and e.enumdiccode = 'goodsunit'" +
|
|
|
" left join ermcp_spotgoodsprice sgp" +
|
|
|
- " on sgp.deliverygoodsid = dg.deliverygoodsid" +
|
|
|
- " and sgp.wrstandardid = w.warehouseid" +
|
|
|
+ " on sgp.deliverygoodsid = w.deliverygoodsid" +
|
|
|
+ " and sgp.wrstandardid = w.wrstandardid" +
|
|
|
" and sgp.spotgoodsbrandid = 0" +
|
|
|
" and sgp.CURRENCYID = 1" +
|
|
|
" where 1=1 %v " +
|