Parcourir la source

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

zou.yingbin il y a 4 ans
Parent
commit
fbb8e454af
2 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 0 1
      models/ermcp3.go
  2. 1 1
      models/tjmd.go

Fichier diff supprimé car celui-ci est trop grand
+ 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))
 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff