浏览代码

敞口现货明细只查今天定价量大于0的

zou.yingbin 4 年之前
父节点
当前提交
ebbc698829
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/ermcp3.go

+ 1 - 1
models/ermcp3.go

@@ -1140,7 +1140,7 @@ select to_char(t.updatetime, 'yyyy-mm-dd hh24:mi:ss') createtime,
   left join erms2_wrsconvertdetail c
     on t.middlegoodsid = c.middlegoodsid
    and t.wrstandardid = c.wrstandardid
- where 1 = 1
+ where 1 = 1 and t.todaypricedqty > 0
 `
 	sqlId.And("s.userid", r.Areauserid)
 	sqlId.And("t.middlegoodsid", r.MiddlegoodsId)