|
@@ -821,7 +821,9 @@ func (r *Thjpurchasetradedetail) buildSql2() string {
|
|
|
t.BUYFREEZECHARGE,
|
|
t.BUYFREEZECHARGE,
|
|
|
t.LASTPRICEDATE,
|
|
t.LASTPRICEDATE,
|
|
|
to_char(pi.enddate, 'yyyy-MM') ENDDATEMONTH,
|
|
to_char(pi.enddate, 'yyyy-MM') ENDDATEMONTH,
|
|
|
- to_char(pi.enddate, 'yyyy-MM-dd') ENDDATE
|
|
|
|
|
|
|
+ to_char(pi.enddate, 'yyyy-MM-dd') ENDDATE,
|
|
|
|
|
+ wr.UNITID,
|
|
|
|
|
+ t.TRANSFERPRICE
|
|
|
from THJ_PurchaseTradeDetail t
|
|
from THJ_PurchaseTradeDetail t
|
|
|
inner join WR_PresaleInfo pi
|
|
inner join WR_PresaleInfo pi
|
|
|
on t.presaleapplyid = pi.presaleapplyid
|
|
on t.presaleapplyid = pi.presaleapplyid
|