使用自定义FIND_IN_SET
List<ShopDiscountLevelDetail> subList = levelDetailService.list(
new QueryWrapper<ShopDiscountLevelDetail>()
.eq("shop_discount_level_id", level)
.apply(tags != null, "FIND_IN_SET ('" + tags + "', shop_kt_tag_id )")
.orderByAsc("sub_discount")
);