|
@@ -639,7 +639,7 @@ func (r *THJWrstandardDetailReq) GetTHJWrstandardDetail() (rsp *THJWrstandardDet
|
|
|
t.TRADEDATE
|
|
t.TRADEDATE
|
|
|
from ERMCP_SpotGoodsPriceLog t
|
|
from ERMCP_SpotGoodsPriceLog t
|
|
|
where t.wrstandardid = %v
|
|
where t.wrstandardid = %v
|
|
|
- order by t.operatetime
|
|
|
|
|
|
|
+ order by t.tradedate
|
|
|
`, r.WRSTANDARDID)
|
|
`, r.WRSTANDARDID)
|
|
|
if err = engine.SQL(sql).Find(&spotGoodsPriceLogs); err != nil {
|
|
if err = engine.SQL(sql).Find(&spotGoodsPriceLogs); err != nil {
|
|
|
return
|
|
return
|
|
@@ -1069,7 +1069,7 @@ func (r *THJGoodsDetailReq) GetTHJGoodsDetail() (rsp *THJGoodsDetailRsp, err err
|
|
|
where t.wrstandardid = %v
|
|
where t.wrstandardid = %v
|
|
|
and t.SPOTGOODSBRANDID = 0
|
|
and t.SPOTGOODSBRANDID = 0
|
|
|
and t.CURRENCYID = 1
|
|
and t.CURRENCYID = 1
|
|
|
- order by t.LogID
|
|
|
|
|
|
|
+ order by t.tradedate
|
|
|
`, r.WRSTANDARDID)
|
|
`, r.WRSTANDARDID)
|
|
|
if err = engine.SQL(sql).Find(&spotGoodsPriceLogs); err != nil {
|
|
if err = engine.SQL(sql).Find(&spotGoodsPriceLogs); err != nil {
|
|
|
return
|
|
return
|