select id, name, url, img_status, station_id, station_name, parent_id from integral_shop_pic insert into integral_shop_pic name, url, img_status, station_id, station_name, parent_id, #{name}, #{url}, #{imgStatus}, #{stationId}, #{stationName}, #{parentId}, update integral_shop_pic name = #{name}, url = #{url}, img_status = #{imgStatus}, station_id = #{stationId}, station_name = #{stationName}, parent_id = #{parentId}, where id = #{id} delete from integral_shop_pic where id = #{id} delete from integral_shop_pic where id in #{id} delete from integral_shop_pic and name like concat('%', #{name}, '%') and url = #{url} and img_status = #{imgStatus} and station_id = #{stationId} and station_name like concat('%', #{stationName}, '%') and parent_id = #{parentId}