|
@@ -1188,7 +1188,7 @@ func (r *THJPurchaseTradeDetailReq) GetData() (rsp *THJPurchaseTradeDetailRsp, e
|
|
|
inner join THJ_PurchaseTradeDetail td on t.wrtradedetailid = td.wrtradedetailid
|
|
inner join THJ_PurchaseTradeDetail td on t.wrtradedetailid = td.wrtradedetailid
|
|
|
inner join WR_PresaleInfo pi on t.presaleapplyid = pi.presaleapplyid
|
|
inner join WR_PresaleInfo pi on t.presaleapplyid = pi.presaleapplyid
|
|
|
inner join wrstandard wr on wr.wrstandardid = td.wrstandardid
|
|
inner join wrstandard wr on wr.wrstandardid = td.wrstandardid
|
|
|
- where td.wrstandardid = %v
|
|
|
|
|
|
|
+ where t.transferstatus = 1 and td.wrstandardid = %v
|
|
|
`, r.WRSTANDARDID)
|
|
`, r.WRSTANDARDID)
|
|
|
if err = engine.SQL(sql).Find(&deliveryDates); err != nil {
|
|
if err = engine.SQL(sql).Find(&deliveryDates); err != nil {
|
|
|
return
|
|
return
|