select id, description, type, effective_date, expiring_date, content, applicable_factory, applicable_workshop, applicable_process, create_by, create_time, update_by, update_time, holidays, applicable, applicable_translate 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, holidays, applicable, applicable_translate, #{id}, #{description}, #{type}, #{effectiveDate}, #{expiringDate}, #{content, typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER}, #{applicableFactory}, #{applicableWorkshop}, #{applicableProcess}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{holidays, typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER}, #{applicable, typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER}, #{applicableTranslate}, 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}, holidays = #{holidays, typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER}, applicable = #{applicable, typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER}, applicable_translate = #{applicableTranslate}, where id = #{id} delete from aps_work_calendar where id = #{id} delete from aps_work_calendar where id in #{id} delete from aps_work_calendar where effective_date=#{effectiveDate} and expiring_date=#{expiringDate} and applicable_factory=#{applicableFactory} and applicable_workshop=#{applicableWorkshop} and applicable_process=#{applicableProcess}