|
@@ -771,7 +771,7 @@ func (r *Thjpurchasetradedetail) buildSql() string {
|
|
|
wr.UNITID,
|
|
wr.UNITID,
|
|
|
t.TRANSFERPRICE,
|
|
t.TRANSFERPRICE,
|
|
|
pi.PRESALESTATUS,
|
|
pi.PRESALESTATUS,
|
|
|
- to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME,
|
|
|
|
|
|
|
+ to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME
|
|
|
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
|
|
@@ -856,7 +856,7 @@ func (r *Thjpurchasetradedetail) buildSql2() string {
|
|
|
wr.UNITID,
|
|
wr.UNITID,
|
|
|
t.TRANSFERPRICE,
|
|
t.TRANSFERPRICE,
|
|
|
pi.PRESALESTATUS,
|
|
pi.PRESALESTATUS,
|
|
|
- to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME,
|
|
|
|
|
|
|
+ to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME
|
|
|
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
|