Parcourir la source

更新SQL错误

deng.yinping il y a 3 ans
Parent
commit
71f5c4e1ba
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      models/ferroalloy.go

+ 2 - 2
models/ferroalloy.go

@@ -771,7 +771,7 @@ func (r *Thjpurchasetradedetail) buildSql() string {
 		wr.UNITID,
 		t.TRANSFERPRICE,
 		pi.PRESALESTATUS,
-		to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME,
+		to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME
 	from THJ_PurchaseTradeDetail t
 	inner join WR_PresaleInfo pi 
 		on t.presaleapplyid = pi.presaleapplyid
@@ -856,7 +856,7 @@ func (r *Thjpurchasetradedetail) buildSql2() string {
 		wr.UNITID,
 		t.TRANSFERPRICE,
 		pi.PRESALESTATUS,
-		to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME,
+		to_char(pi.CREATETIME, 'yyyy-MM-dd') CREATETIME
 	from THJ_PurchaseTradeDetail t
 	inner join WR_PresaleInfo pi 
 		on t.presaleapplyid = pi.presaleapplyid