he2802 1 年之前
父節點
當前提交
195071cd55
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

@@ -282,6 +282,9 @@
                 #{item}
             </foreach>
         </if>
+        <if test="withNotSpec != null and withNotSpec != ''">
+            AND g.spec_template_id is NULL
+        </if>
         <if test="goodsType != null and goodsType != ''">
             AND g.goods_type = #{goodsType}
         </if>