and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, record_id, static_date, charger_code, charger_name, earliest_time, thelatest_time, total_points, abnormal_times, remark, data_state, create_time, create_op, modify_time, modify_op delete from tp_e_employee_abnormal_sta_tail where id = #{id,jdbcType=BIGINT} delete from tp_e_employee_abnormal_sta_tail SELECT LAST_INSERT_ID() insert into tp_e_employee_abnormal_sta_tail (record_id, static_date, charger_code, charger_name, earliest_time, thelatest_time, total_points, abnormal_times, remark, data_state, create_time, create_op, modify_time, modify_op) values (#{recordId,jdbcType=BIGINT}, #{staticDate,jdbcType=DATE}, #{chargerCode,jdbcType=VARCHAR}, #{chargerName,jdbcType=VARCHAR}, #{earliestTime,jdbcType=TIMESTAMP}, #{thelatestTime,jdbcType=TIMESTAMP}, #{totalPoints,jdbcType=INTEGER}, #{abnormalTimes,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createOp,jdbcType=BIGINT}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into tp_e_employee_abnormal_sta_tail record_id, static_date, charger_code, charger_name, earliest_time, thelatest_time, total_points, abnormal_times, remark, data_state, create_time, create_op, modify_time, modify_op, #{recordId,jdbcType=BIGINT}, #{staticDate,jdbcType=DATE}, #{chargerCode,jdbcType=VARCHAR}, #{chargerName,jdbcType=VARCHAR}, #{earliestTime,jdbcType=TIMESTAMP}, #{thelatestTime,jdbcType=TIMESTAMP}, #{totalPoints,jdbcType=INTEGER}, #{abnormalTimes,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createOp,jdbcType=BIGINT}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=BIGINT}, update tp_e_employee_abnormal_sta_tail id = #{record.id,jdbcType=BIGINT}, record_id = #{record.recordId,jdbcType=BIGINT}, static_date = #{record.staticDate,jdbcType=DATE}, charger_code = #{record.chargerCode,jdbcType=VARCHAR}, charger_name = #{record.chargerName,jdbcType=VARCHAR}, earliest_time = #{record.earliestTime,jdbcType=TIMESTAMP}, thelatest_time = #{record.thelatestTime,jdbcType=TIMESTAMP}, total_points = #{record.totalPoints,jdbcType=INTEGER}, abnormal_times = #{record.abnormalTimes,jdbcType=INTEGER}, remark = #{record.remark,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, create_op = #{record.createOp,jdbcType=BIGINT}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=BIGINT}, update tp_e_employee_abnormal_sta_tail set id = #{record.id,jdbcType=BIGINT}, record_id = #{record.recordId,jdbcType=BIGINT}, static_date = #{record.staticDate,jdbcType=DATE}, charger_code = #{record.chargerCode,jdbcType=VARCHAR}, charger_name = #{record.chargerName,jdbcType=VARCHAR}, earliest_time = #{record.earliestTime,jdbcType=TIMESTAMP}, thelatest_time = #{record.thelatestTime,jdbcType=TIMESTAMP}, total_points = #{record.totalPoints,jdbcType=INTEGER}, abnormal_times = #{record.abnormalTimes,jdbcType=INTEGER}, remark = #{record.remark,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, create_op = #{record.createOp,jdbcType=BIGINT}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=BIGINT} update tp_e_employee_abnormal_sta_tail record_id = #{recordId,jdbcType=BIGINT}, static_date = #{staticDate,jdbcType=DATE}, charger_code = #{chargerCode,jdbcType=VARCHAR}, charger_name = #{chargerName,jdbcType=VARCHAR}, earliest_time = #{earliestTime,jdbcType=TIMESTAMP}, thelatest_time = #{thelatestTime,jdbcType=TIMESTAMP}, total_points = #{totalPoints,jdbcType=INTEGER}, abnormal_times = #{abnormalTimes,jdbcType=INTEGER}, remark = #{remark,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_op = #{createOp,jdbcType=BIGINT}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update tp_e_employee_abnormal_sta_tail set record_id = #{recordId,jdbcType=BIGINT}, static_date = #{staticDate,jdbcType=DATE}, charger_code = #{chargerCode,jdbcType=VARCHAR}, charger_name = #{chargerName,jdbcType=VARCHAR}, earliest_time = #{earliestTime,jdbcType=TIMESTAMP}, thelatest_time = #{thelatestTime,jdbcType=TIMESTAMP}, total_points = #{totalPoints,jdbcType=INTEGER}, abnormal_times = #{abnormalTimes,jdbcType=INTEGER}, remark = #{remark,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_op = #{createOp,jdbcType=BIGINT}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}