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>