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, static_date, static_date_str, org_id, charger_code, charger_name, earliest_time, thelatest_time, total_points, abnormal_times, employee_abnormal_rate, data_state, create_op, create_time, modify_op, modify_time, remark delete from employee_abnormal_statistic_month where id = #{id,jdbcType=BIGINT} delete from employee_abnormal_statistic_month SELECT LAST_INSERT_ID() insert into employee_abnormal_statistic_month (static_date, static_date_str, org_id, charger_code, charger_name, earliest_time, thelatest_time, total_points, abnormal_times, employee_abnormal_rate, data_state, create_op, create_time, modify_op, modify_time, remark) values (#{staticDate,jdbcType=DATE}, #{staticDateStr,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{chargerCode,jdbcType=VARCHAR}, #{chargerName,jdbcType=VARCHAR}, #{earliestTime,jdbcType=TIMESTAMP}, #{thelatestTime,jdbcType=TIMESTAMP}, #{totalPoints,jdbcType=INTEGER}, #{abnormalTimes,jdbcType=INTEGER}, #{employeeAbnormalRate,jdbcType=DOUBLE}, #{dataState,jdbcType=INTEGER}, #{createOp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into employee_abnormal_statistic_month static_date, static_date_str, org_id, charger_code, charger_name, earliest_time, thelatest_time, total_points, abnormal_times, employee_abnormal_rate, data_state, create_op, create_time, modify_op, modify_time, remark, #{staticDate,jdbcType=DATE}, #{staticDateStr,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{chargerCode,jdbcType=VARCHAR}, #{chargerName,jdbcType=VARCHAR}, #{earliestTime,jdbcType=TIMESTAMP}, #{thelatestTime,jdbcType=TIMESTAMP}, #{totalPoints,jdbcType=INTEGER}, #{abnormalTimes,jdbcType=INTEGER}, #{employeeAbnormalRate,jdbcType=DOUBLE}, #{dataState,jdbcType=INTEGER}, #{createOp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, update employee_abnormal_statistic_month id = #{record.id,jdbcType=BIGINT}, static_date = #{record.staticDate,jdbcType=DATE}, static_date_str = #{record.staticDateStr,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=INTEGER}, 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}, employee_abnormal_rate = #{record.employeeAbnormalRate,jdbcType=DOUBLE}, data_state = #{record.dataState,jdbcType=INTEGER}, create_op = #{record.createOp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=VARCHAR}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, remark = #{record.remark,jdbcType=VARCHAR}, update employee_abnormal_statistic_month set id = #{record.id,jdbcType=BIGINT}, static_date = #{record.staticDate,jdbcType=DATE}, static_date_str = #{record.staticDateStr,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=INTEGER}, 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}, employee_abnormal_rate = #{record.employeeAbnormalRate,jdbcType=DOUBLE}, data_state = #{record.dataState,jdbcType=INTEGER}, create_op = #{record.createOp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=VARCHAR}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, remark = #{record.remark,jdbcType=VARCHAR} update employee_abnormal_statistic_month static_date = #{staticDate,jdbcType=DATE}, static_date_str = #{staticDateStr,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=INTEGER}, 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}, employee_abnormal_rate = #{employeeAbnormalRate,jdbcType=DOUBLE}, data_state = #{dataState,jdbcType=INTEGER}, create_op = #{createOp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update employee_abnormal_statistic_month set static_date = #{staticDate,jdbcType=DATE}, static_date_str = #{staticDateStr,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=INTEGER}, 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}, employee_abnormal_rate = #{employeeAbnormalRate,jdbcType=DOUBLE}, data_state = #{dataState,jdbcType=INTEGER}, create_op = #{createOp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}