INSERT INTO city_user_signout(
user_signout_id,
user_name,
signout_longitude,
signout_latitude,
is_early,
is_outside,
am_pm,
creator,
gmt_create,
modifier,
gmt_modified,
is_delete
) VALUES(
#{userSignoutId},
#{userName},
#{signoutLongitude},
#{signoutLatitude},
#{isEarly},
#{isOutside},
#{amPm},
#{creator},
#{gmtCreate},
#{modifier},
#{gmtModified},
#{isDelete}
)
UPDATE
city_user_signout
SET
is_delete = 1,
modifier = #{modifier},
gmt_modified = #{gmtModified}
WHERE
user_signout_id IN
#{userSignoutIds[${index}]}
UPDATE
city_user_signout
SET
user_id = #{userId},
user_name = #{userName},
signout_longitude = #{signoutLongitude},
signout_latitude = #{signoutLatitude},
is_early = #{isEarly},
is_outside = #{isOutside},
am_pm = #{amPm},
modifier = #{modifier},
gmt_modified = #{gmtModified}
WHERE
user_signout_id = #{userSignoutId}