id, plan_id, group_id, start_time, stop_time, duration, intake_ids, current_state
delete from ir_irrigate_schedule
where id = #{id,jdbcType=BIGINT}
insert into ir_irrigate_schedule (id, plan_id, group_id,
start_time, stop_time, duration,
intake_ids, current_state)
values (#{id,jdbcType=BIGINT}, #{planId,jdbcType=BIGINT}, #{groupId,jdbcType=BIGINT},
#{startTime,jdbcType=TIMESTAMP}, #{stopTime,jdbcType=TIMESTAMP}, #{duration,jdbcType=INTEGER},
#{intakeIds,jdbcType=LONGVARCHAR}, #{currentState,jdbcType=TINYINT})
insert into ir_irrigate_schedule
id,
plan_id,
group_id,
start_time,
stop_time,
duration,
intake_ids,
current_state,
#{id,jdbcType=BIGINT},
#{planId,jdbcType=BIGINT},
#{groupId,jdbcType=BIGINT},
#{startTime,jdbcType=TIMESTAMP},
#{stopTime,jdbcType=TIMESTAMP},
#{duration,jdbcType=INTEGER},
#{intakeIds,jdbcType=LONGVARCHAR},
#{currentState,jdbcType=TINYINT},
update ir_irrigate_schedule
plan_id = #{planId,jdbcType=BIGINT},
group_id = #{groupId,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=TIMESTAMP},
stop_time = #{stopTime,jdbcType=TIMESTAMP},
duration = #{duration,jdbcType=INTEGER},
intake_ids = #{intakeIds,jdbcType=LONGVARCHAR},
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},
start_time = #{startTime,jdbcType=TIMESTAMP},
stop_time = #{stopTime,jdbcType=TIMESTAMP},
duration = #{duration,jdbcType=INTEGER},
intake_ids = #{intakeIds,jdbcType=LONGVARCHAR},
current_state = #{currentState,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}