@Select("select * from discount_code where id in (${disCode})")
List<DiscountCodeInfo> selectByIds(@Param("disCode") String disCode);
mybatis中in对一个string数组取值
最新推荐文章于 2024-04-25 17:07:01 发布
@Select("select * from discount_code where id in (${disCode})")
List<DiscountCodeInfo> selectByIds(@Param("disCode") String disCode);