<iftest="query.updateBy != null and query.updateBy != ''"> and `bms_channel_point`.`update_by` = #{query.updateBy}</if>
<iftest="query.costFlag != null and query.costFlag != ''"> and `bms_channel_point`.`cost_flag` = #{query.costFlag}</if>
</where>
ORDER BY `bms_channel_point`.`create_time` DESC
ORDER BY `bms_channel_point`.`id` DESC
</select>
@ -351,6 +351,7 @@
<iftest="query.id != null"> and `bms_channel_point`.`id` = #{query.id}</if>
<iftest="query.channelId != null"> and `bms_channel_point`.`channel_id` = #{query.channelId}</if>
<iftest="query.channelName != null and query.channelName != ''"> and `bms_channel_point`.`channel_name` like concat('%',#{query.channelName},'%') </if>
<iftest="query.channelCode != null and query.channelCode != ''"> and `bms_channel_point`.`channel_code` like concat('%',#{query.channelCode},'%') </if>
<iftest="query.pointCode != null and query.pointCode != ''"> and `bms_channel_point`.`point_code` like concat('%',#{query.pointCode},'%') </if>
<iftest="query.pointName != null and query.pointName != ''"> and `bms_channel_point`.`point_name` like concat('%',#{query.pointName},'%') </if>
<iftest="query.shopArea != null and query.shopArea != ''"> and `bms_channel_point`.`shop_area` = #{query.shopArea}</if>