`id`,`tenant_id`,`merchant_id`,`type`,`cover_img`,`title`,`sub_title`,`sale_price`,`use_price`,`use_limit_quantity`,`target_ad`,`send_type`,`send_start_date`,`send_end_date`,`valid_type`,`valid_start_date`,`valid_end_date`,`valid_days`,`detail`,`price`,`remain_inventory`,`inventory`,`remark`,`status`,`create_date`,`update_date`,`business` where 1 = 1 and `id` = #{id} and `tenant_id` like concat('%', #{tenantId},'%') and `merchant_id` = #{merchantId} and `type` = #{type} and `cover_img` like concat('%', #{coverImg},'%') and `title` like concat('%', #{title},'%') and `sub_title` like concat('%', #{subTitle},'%') and `sale_price` = #{salePrice} and `use_price` = #{usePrice} and `use_limit_quantity` = #{useLimitQuantity} and `target_ad` = #{targetAd} and `send_type` = #{sendType} and `send_start_date` = #{sendStartDate} and `send_end_date` = #{sendEndDate} and `valid_type` = #{validType} and `valid_start_date` = #{validStartDate} and `valid_end_date` = #{validEndDate} and `valid_days` = #{validDays} and `detail` like concat('%', #{detail},'%') and `price` = #{price} and `remain_inventory` = #{remainInventory} and `inventory` = #{inventory} and `remark` like concat('%', #{remark},'%') and `status` = #{status} and `create_date` = #{createDate} and `update_date` = #{updateDate} and `business` like concat('%', #{business},'%') and id in #{idItem} order by ${sortColumns}