select id, description, type, effective_date, expiring_date, content, applicable_factory, applicable_workshop, applicable_process, create_by, create_time, update_by, update_time from aps_work_calendar
insert into aps_work_calendar
id,
description,
type,
effective_date,
expiring_date,
content,
applicable_factory,
applicable_workshop,
applicable_process,
create_by,
create_time,
update_by,
update_time,
#{id},
#{description},
#{type},
#{effectiveDate},
#{expiringDate},
#{content, typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER},
#{applicableFactory},
#{applicableWorkshop},
#{applicableProcess},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update aps_work_calendar
description = #{description},
type = #{type},
effective_date = #{effectiveDate},
expiring_date = #{expiringDate},
content = #{content , typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER},
applicable_factory = #{applicableFactory},
applicable_workshop = #{applicableWorkshop},
applicable_process = #{applicableProcess},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from aps_work_calendar where id = #{id}
delete from aps_work_calendar where id in
#{id}