Browse Source

商品关联分部

zouxuan 4 years ago
parent
commit
819ce069f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

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

@@ -313,7 +313,7 @@
     <sql id="queryGoodsPageSql">
     <sql id="queryGoodsPageSql">
         <where>
         <where>
             <if test="organId != null and organId != ''">
             <if test="organId != null and organId != ''">
-                AND INTE_ARRAY(organId,g.organ_id_list_)
+                AND INTE_ARRAY(#{organId},g.organ_id_list_)
             </if>
             </if>
             <if test="goodsCategoryId != null">
             <if test="goodsCategoryId != null">
                 AND g.goods_category_id_ = #{goodsCategoryId}
                 AND g.goods_category_id_ = #{goodsCategoryId}