id, weather_id, `name`, start_dt, end_dt, life1_start, life1_end, life1_factor, life2_start, life2_end, life2_factor, life3_start, life3_end, life3_factor, life4_start, life4_end, life4_factor, stopped, remarks, create_dt, deleted id, weather_id, `name`, start_dt, end_dt, life1_start, life1_end, life1_factor, life2_start, life2_end, life2_factor, life3_start, life3_end, life3_factor, life4_start, life4_end, life4_factor, stopped, remarks, create_dt delete from md_crops where id = #{id,jdbcType=BIGINT} insert into md_crops (id, weather_id, `name`, start_dt, end_dt, life1_start, life1_end, life1_factor, life2_start, life2_end, life2_factor, life3_start, life3_end, life3_factor, life4_start, life4_end, life4_factor, stopped, remarks, create_dt, deleted ) values (#{id,jdbcType=BIGINT}, #{weatherId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{startDt,jdbcType=VARCHAR}, #{endDt,jdbcType=VARCHAR}, #{life1Start,jdbcType=INTEGER}, #{life1End,jdbcType=INTEGER}, #{life1Factor,jdbcType=DOUBLE}, #{life2Start,jdbcType=INTEGER}, #{life2End,jdbcType=INTEGER}, #{life2Factor,jdbcType=DOUBLE}, #{life3Start,jdbcType=INTEGER}, #{life3End,jdbcType=INTEGER}, #{life3Factor,jdbcType=DOUBLE}, #{life4Start,jdbcType=INTEGER}, #{life4End,jdbcType=INTEGER}, #{life4Factor,jdbcType=DOUBLE}, #{stopped,jdbcType=TINYINT}, #{remarks,jdbcType=VARCHAR}, #{createDt,jdbcType=TIMESTAMP}, #{deleted,jdbcType=TINYINT} ) insert into md_crops id, weather_id, `name`, start_dt, end_dt, life1_start, life1_end, life1_factor, life2_start, life2_end, life2_factor, life3_start, life3_end, life3_factor, life4_start, life4_end, life4_factor, stopped, remarks, create_dt, deleted, #{id,jdbcType=BIGINT}, #{weatherId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{startDt,jdbcType=VARCHAR}, #{endDt,jdbcType=VARCHAR}, #{life1Start,jdbcType=INTEGER}, #{life1End,jdbcType=INTEGER}, #{life1Factor,jdbcType=DOUBLE}, #{life2Start,jdbcType=INTEGER}, #{life2End,jdbcType=INTEGER}, #{life2Factor,jdbcType=DOUBLE}, #{life3Start,jdbcType=INTEGER}, #{life3End,jdbcType=INTEGER}, #{life3Factor,jdbcType=DOUBLE}, #{life4Start,jdbcType=INTEGER}, #{life4End,jdbcType=INTEGER}, #{life4Factor,jdbcType=DOUBLE}, #{stopped,jdbcType=TINYINT}, #{remarks,jdbcType=VARCHAR}, #{createDt,jdbcType=TIMESTAMP}, #{deleted,jdbcType=TINYINT}, update md_crops weather_id = #{weatherId,jdbcType=BIGINT}, `name` = #{name,jdbcType=VARCHAR}, start_dt = #{startDt,jdbcType=VARCHAR}, end_dt = #{endDt,jdbcType=VARCHAR}, life1_start = #{life1Start,jdbcType=INTEGER}, life1_end = #{life1End,jdbcType=INTEGER}, life1_factor = #{life1Factor,jdbcType=DOUBLE}, life2_start = #{life2Start,jdbcType=INTEGER}, life2_end = #{life2End,jdbcType=INTEGER}, life2_factor = #{life2Factor,jdbcType=DOUBLE}, life3_start = #{life3Start,jdbcType=INTEGER}, life3_end = #{life3End,jdbcType=INTEGER}, life3_factor = #{life3Factor,jdbcType=DOUBLE}, life4_start = #{life4Start,jdbcType=INTEGER}, life4_end = #{life4End,jdbcType=INTEGER}, life4_factor = #{life4Factor,jdbcType=DOUBLE}, stopped = #{stopped,jdbcType=TINYINT}, remarks = #{remarks,jdbcType=VARCHAR}, create_dt = #{createDt,jdbcType=TIMESTAMP}, deleted = #{deleted,jdbcType=TINYINT}, where id = #{id,jdbcType=BIGINT} update md_crops set weather_id = #{weatherId,jdbcType=BIGINT}, `name` = #{name,jdbcType=VARCHAR}, start_dt = #{startDt,jdbcType=VARCHAR}, end_dt = #{endDt,jdbcType=VARCHAR}, life1_start = #{life1Start,jdbcType=INTEGER}, life1_end = #{life1End,jdbcType=INTEGER}, life1_factor = #{life1Factor,jdbcType=DOUBLE}, life2_start = #{life2Start,jdbcType=INTEGER}, life2_end = #{life2End,jdbcType=INTEGER}, life2_factor = #{life2Factor,jdbcType=DOUBLE}, life3_start = #{life3Start,jdbcType=INTEGER}, life3_end = #{life3End,jdbcType=INTEGER}, life3_factor = #{life3Factor,jdbcType=DOUBLE}, life4_start = #{life4Start,jdbcType=INTEGER}, life4_end = #{life4End,jdbcType=INTEGER}, life4_factor = #{life4Factor,jdbcType=DOUBLE}, stopped = #{stopped,jdbcType=TINYINT}, remarks = #{remarks,jdbcType=VARCHAR}, create_dt = #{createDt,jdbcType=TIMESTAMP}, deleted = #{deleted,jdbcType=TINYINT} where id = #{id,jdbcType=BIGINT} update md_crops set deleted = 1 where id = #{id,jdbcType=BIGINT}