id, crop_id,growth_period,irrigate_cycle,duration, remarks,operator,operate_time, deleted
insert into ir_irrigate_scheduling
id,
crop_id,
growth_period,
irrigate_cycle,
duration,
operator,
operate_time,
remarks,
deleted,
#{id,jdbcType=BIGINT},
#{cropId,jdbcType=BIGINT},
#{growthPeriod,jdbcType=VARCHAR},
#{irrigateCycle,jdbcType=INTEGER},
#{duration,jdbcType=INTEGER},
#{operator,jdbcType=BIGINT},
#{operateDt,jdbcType=TIMESTAMP},
#{remarks,jdbcType=VARCHAR},
#{deleted,jdbcType=TINYINT},
update ir_irrigate_scheduling
set deleted = 1
where id = #{id,jdbcType=BIGINT}
update ir_irrigate_scheduling
crop_id = #{cropId,jdbcType=BIGINT},
growth_period = #{growthPeriod,jdbcType=VARCHAR},
irrigate_cycle = #{irrigateCycle,jdbcType=INTEGER},
duration = #{duration,jdbcType=INTEGER},
operator = #{operator,jdbcType=BIGINT},
operate_time = #{operateDt,jdbcType=TIMESTAMP},
remarks = #{remarks,jdbcType=VARCHAR},
deleted = #{deleted,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}