yonge пре 5 година
родитељ
комит
1abdad10ee
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/VipGroupMapper.xml

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

@@ -788,7 +788,7 @@
     </select>
     
     <select id="queryByIds" resultMap="VipGroup" parameterType="string">
-    	select * from vip_group where id_ in (#{idList})
+    	select * from vip_group where FIND_IN_SET(id_,#{idList})
     </select>
     <resultMap id="VipBuyResult" type="com.ym.mec.biz.dal.dto.VipBuyResultDto">
         <result property="vipGroupId" column="id_"/>