id, plan_id, group_id, unit_id, start_time, stop_time, intake_ids, current_state
delete from ir_irrigate_schedule
where id = #{id,jdbcType=BIGINT}
insert into ir_irrigate_schedule (id, plan_id, group_id,
unit_id, start_time, stop_time,
intake_ids, current_state)
values (#{id,jdbcType=BIGINT}, #{planId,jdbcType=BIGINT}, #{groupId,jdbcType=BIGINT},
#{unitId,jdbcType=BIGINT}, #{startTime,jdbcType=TIMESTAMP}, #{stopTime,jdbcType=TIMESTAMP},
#{intakeIds,jdbcType=VARCHAR}, #{currentState,jdbcType=TINYINT})
insert into ir_irrigate_schedule
id,
plan_id,
group_id,
unit_id,
start_time,
stop_time,
intake_ids,
current_state,
#{id,jdbcType=BIGINT},
#{planId,jdbcType=BIGINT},
#{groupId,jdbcType=BIGINT},
#{unitId,jdbcType=BIGINT},
#{startTime,jdbcType=TIMESTAMP},
#{stopTime,jdbcType=TIMESTAMP},
#{intakeIds,jdbcType=VARCHAR},
#{currentState,jdbcType=TINYINT},
update ir_irrigate_schedule
plan_id = #{planId,jdbcType=BIGINT},
group_id = #{groupId,jdbcType=BIGINT},
unit_id = #{unitId,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=TIMESTAMP},
stop_time = #{stopTime,jdbcType=TIMESTAMP},
intake_ids = #{intakeIds,jdbcType=VARCHAR},
current_state = #{currentState,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update ir_irrigate_schedule
set plan_id = #{planId,jdbcType=BIGINT},
group_id = #{groupId,jdbcType=BIGINT},
unit_id = #{unitId,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=TIMESTAMP},
stop_time = #{stopTime,jdbcType=TIMESTAMP},
intake_ids = #{intakeIds,jdbcType=VARCHAR},
current_state = #{currentState,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}