|
@@ -640,7 +640,7 @@ func (r *THJWrstandardDetailReq) GetTHJWrstandardDetail() (rsp *THJWrstandardDet
|
|
|
t.SPOTGOODSPRICE,
|
|
t.SPOTGOODSPRICE,
|
|
|
t.TRADEDATE
|
|
t.TRADEDATE
|
|
|
from ERMCP_SpotGoodsPriceLog t
|
|
from ERMCP_SpotGoodsPriceLog t
|
|
|
- where t.wrstandardid = %v
|
|
|
|
|
|
|
+ where t.SPOTGOODSPRICE <> 0 AND t.wrstandardid = %v
|
|
|
order by t.tradedate
|
|
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 {
|