Forráskód Böngészése

商品分部可以为空

zouxuan 4 éve
szülő
commit
fb8f09d61e

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

@@ -339,7 +339,7 @@
             </if>
             <if test="noOrganSearch == null">
                 <if test="organId != null and organId != ''">
-                    AND INTE_ARRAY (#{organId},CONCAT_WS(",",replacement_show_organ_id_,member_fee_show_organ_id_,
+                    AND INTE_ARRAY (#{organId},CONCAT(replacement_show_organ_id_,member_fee_show_organ_id_,
                     course_fee_show_organ_id_,education_show_organ_id_,student_show_organ_id_))
                 </if>
             </if>
@@ -380,7 +380,7 @@
                 AND FIND_IN_SET(#{goodsQuery.replacementShowOrganId},g.replacement_show_organ_id_)
             </if>
             <if test="goodsQuery.organId != null">
-                AND FIND_IN_SET (#{goodsQuery.organId},CONCAT_WS(",",replacement_show_organ_id_,member_fee_show_organ_id_,
+                AND FIND_IN_SET (#{goodsQuery.organId},CONCAT(replacement_show_organ_id_,member_fee_show_organ_id_,
                 course_fee_show_organ_id_,education_show_organ_id_,student_show_organ_id_))
             </if>
         </where>