فهرست منبع

修复报名其他商品包含下架商品

周箭河 4 سال پیش
والد
کامیت
ad5f6718d3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

@@ -192,6 +192,6 @@
         SELECT * FROM goods WHERE FIND_IN_SET(id_,#{ids})
     </select>
     <select id="findTypeGoods" resultMap="Goods">
-        SELECT * FROM goods WHERE type_ = #{type}
+        SELECT * FROM goods WHERE type_ = #{type} AND status_ != 0
     </select>
 </mapper>