Ver Fonte

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

zou.yingbin há 4 anos atrás
pai
commit
fbb8e454af
2 ficheiros alterados com 1 adições e 2 exclusões
  1. 0 1
      models/ermcp3.go
  2. 1 1
      models/tjmd.go

Diff do ficheiro suprimidas por serem muito extensas
+ 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))
 

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff