| | |
| | | int markDeletedByScenicSpotId(Long scenicSpotId); |
| | | |
| | | @Insert("INSERT INTO operation_scenic_meeting_point " + |
| | | "(scenic_spot_id, point_name, longitude, latitude, status, is_default, sort_order, deleted) " + |
| | | "VALUES (#{scenicSpotId}, #{pointName}, #{longitude}, #{latitude}, #{status}, #{isDefault}, #{sortOrder}, 0) " + |
| | | "ON DUPLICATE KEY UPDATE longitude = VALUES(longitude), latitude = VALUES(latitude), status = VALUES(status), " + |
| | | "(scenic_spot_id, point_name, address, longitude, latitude, status, is_default, sort_order, deleted) " + |
| | | "VALUES (#{scenicSpotId}, #{pointName}, #{address}, #{longitude}, #{latitude}, #{status}, #{isDefault}, #{sortOrder}, 0) " + |
| | | "ON DUPLICATE KEY UPDATE address = VALUES(address), longitude = VALUES(longitude), latitude = VALUES(latitude), status = VALUES(status), " + |
| | | "is_default = VALUES(is_default), sort_order = VALUES(sort_order), deleted = 0") |
| | | int upsert(ScenicMeetingPoint point); |
| | | } |