Browse Source

#1271 合同入库量要过滤撤销量
#1258/#1290 掉期要过滤待退市/审核拒绝商品

zou.yingbin 4 years ago
parent
commit
fbb8e454af
2 changed files with 1 additions and 2 deletions
  1. 0 1
      models/ermcp3.go
  2. 1 1
      models/tjmd.go

File diff suppressed because it is too large
+ 0 - 1
models/ermcp3.go


+ 1 - 1
models/tjmd.go

@@ -53,7 +53,7 @@ select g1.goodsid,
     on g1.refgoodsid = g2.goodsid
   left join goodsgroup gp
     on g1.goodsgroupid = gp.goodsgroupid
-  where 1=1
+  where 1=1 and and g1.goodsstatus = 3
 `
 	sqlId.JoinEx(r.FtMarketIds != "", fmt.Sprintf(" and gp.marketid in(%v)", r.FtMarketIds))
 

Some files were not shown because too many files changed in this diff