insert into schedule_work_time_period
name,
info,
start_hour,
start_min,
end_hour,
end_Min,
work_Hours,
enable_across_day,
gmt_create,
create_by,
create_uid,
gmt_modified,
edit_by,
edit_uid,
status,
{name},
#{nfo},
#{startHour},
#{startMin},
#{endHour},
#{endMin},
#{workHours},
#{enableAcrossDay},
#{gmtCreate},
#{createBy},
#{createUid},
#{gmtModified},
#{editBy},
#{editUid},
#{status},
update schedule_work_time_period
name = #{name},
info = #{info},
start_hour = #{startHour},
start_min = #{startMin},
end_hour = #{endHour},
end_min = #{endMin},
work_hours = #{workHours},
enable_across_day#{enableAcrossDay},
gmt_create = #{gmtCreate},
create_by = #{createBy},
create_uid = #{createUid},
gmt_modified = #{gmtModified},
edit_by = #{editBy},
edit_uid = #{editUid},
status = #{status},
where id = #{id}
update schedule_work_time_period
set status = #{status}
where id = #{id}