select id, org_id, org_name, month_enable, monday, tuesday, wednesday, thursday, friday, saturday, sunday, work_time, open_time, noonbreak_start, noonbreak_end, close_time, work_off_time, create_time, modified_id, modified_name, update_time, year, deleted, effective_date
from sys_work_time_set
insert into sys_work_time_set
org_id,
org_name,
month_enable,
monday,
tuesday,
wednesday,
thursday,
friday,
saturday,
sunday,
work_time,
open_time,
noonbreak_start,
noonbreak_end,
close_time,
work_off_time,
create_time,
modified_id,
modified_name,
update_time,
year,
deleted,
effective_date,
#{orgId},
#{orgName},
#{monthEnable},
#{monday},
#{tuesday},
#{wednesday},
#{thursday},
#{friday},
#{saturday},
#{sunday},
#{workTime},
#{openTime},
#{noonbreakStart},
#{noonbreakEnd},
#{closeTime},
#{workOffTime},
#{createTime},
#{modifiedId},
#{modifiedName},
#{updateTime},
#{year},
#{deleted},
#{effectiveDate},
update sys_work_time_set
org_id =
#{orgId},
org_name =
#{orgName},
month_enable =
#{monthEnable},
monday =
#{monday},
tuesday =
#{tuesday},
wednesday =
#{wednesday},
thursday =
#{thursday},
friday =
#{friday},
saturday =
#{saturday},
sunday =
#{sunday},
work_time =
#{workTime},
open_time =
#{openTime},
noonbreak_start =
#{noonbreakStart},
noonbreak_end =
#{noonbreakEnd},
close_time =
#{closeTime},
work_off_time =
#{workOffTime},
create_time =
#{createTime},
modified_id =
#{modifiedId},
modified_name =
#{modifiedName},
update_time =
#{updateTime},
year =
#{year},
deleted =
#{deleted},
effective_date =
#{effectiveDate},
where id = #{id}
delete
from sys_work_time_set where id = #{id}
delete from sys_work_time_set where id in
#{id}