twc.id, twc.configu_type, sda.dict_label as typeName, twc.config_name, twc.config_val1_max, twc.config_val1_min, twc.config_val2_max, twc.config_val2_min, twc.config_val3_max, twc.config_val3_min, twc.config_val4_max, twc.config_val4_min, twc.config_val5_max, twc.config_val5_min, twc.config_val6_max, twc.config_val6_min update tb_warn_config set del_flag = 1 where id = #{id,jdbcType=BIGINT} insert into tb_warn_config (id, configu_type, config_name, config_val1_max, config_val1_min, config_val2_max, config_val2_min, config_val3_max, config_val3_min, config_val4_max, config_val4_min, config_val5_max, config_val5_min, config_val6_max, config_val6_min, del_flag, create_time, create_user, update_time, update_user) values (#{id,jdbcType=BIGINT}, #{configuType,jdbcType=INTEGER}, #{configName,jdbcType=VARCHAR}, #{configVal1Max,jdbcType=DECIMAL}, #{configVal1Min,jdbcType=DECIMAL}, #{configVal2Max,jdbcType=DECIMAL}, #{configVal2Min,jdbcType=DECIMAL}, #{configVal3Max,jdbcType=DECIMAL}, #{configVal3Min,jdbcType=DECIMAL}, #{configVal4Max,jdbcType=DECIMAL}, #{configVal4Min,jdbcType=DECIMAL}, #{configVal5Max,jdbcType=DECIMAL}, #{configVal5Min,jdbcType=DECIMAL}, #{configVal6Max,jdbcType=DECIMAL}, #{configVal6Min,jdbcType=DECIMAL}, #{delFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{updateUser,jdbcType=INTEGER}) insert into tb_warn_config configu_type, config_name, config_val1_max, config_val1_min, config_val2_max, config_val2_min, config_val3_max, config_val3_min, config_val4_max, config_val4_min, config_val5_max, config_val5_min, config_val6_max, config_val6_min, del_flag, create_time, create_user, #{configuType,jdbcType=INTEGER}, #{configName,jdbcType=VARCHAR}, #{configVal1Max,jdbcType=DECIMAL}, #{configVal1Min,jdbcType=DECIMAL}, #{configVal2Max,jdbcType=DECIMAL}, #{configVal2Min,jdbcType=DECIMAL}, #{configVal3Max,jdbcType=DECIMAL}, #{configVal3Min,jdbcType=DECIMAL}, #{configVal4Max,jdbcType=DECIMAL}, #{configVal4Min,jdbcType=DECIMAL}, #{configVal5Max,jdbcType=DECIMAL}, #{configVal5Min,jdbcType=DECIMAL}, #{configVal6Max,jdbcType=DECIMAL}, #{configVal6Min,jdbcType=DECIMAL}, 0, NOW(), #{createUser,jdbcType=INTEGER}, update tb_warn_config configu_type = #{configuType,jdbcType=INTEGER}, config_name = #{configName,jdbcType=VARCHAR}, config_val1_max = #{configVal1Max,jdbcType=DECIMAL}, config_val1_min = #{configVal1Min,jdbcType=DECIMAL}, config_val2_max = #{configVal2Max,jdbcType=DECIMAL}, config_val2_min = #{configVal2Min,jdbcType=DECIMAL}, config_val3_max = #{configVal3Max,jdbcType=DECIMAL}, config_val3_min = #{configVal3Min,jdbcType=DECIMAL}, config_val4_max = #{configVal4Max,jdbcType=DECIMAL}, config_val4_min = #{configVal4Min,jdbcType=DECIMAL}, config_val5_max = #{configVal5Max,jdbcType=DECIMAL}, config_val5_min = #{configVal5Min,jdbcType=DECIMAL}, config_val6_max = #{configVal6Max,jdbcType=DECIMAL}, config_val6_min = #{configVal6Min,jdbcType=DECIMAL}, del_flag = #{delFlag,jdbcType=INTEGER}, update_time = NOW(), update_user = #{updateUser,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update tb_warn_config set configu_type = #{configuType,jdbcType=INTEGER}, config_name = #{configName,jdbcType=VARCHAR}, config_val1_max = #{configVal1Max,jdbcType=DECIMAL}, config_val1_min = #{configVal1Min,jdbcType=DECIMAL}, config_val2_max = #{configVal2Max,jdbcType=DECIMAL}, config_val2_min = #{configVal2Min,jdbcType=DECIMAL}, config_val3_max = #{configVal3Max,jdbcType=DECIMAL}, config_val3_min = #{configVal3Min,jdbcType=DECIMAL}, config_val4_max = #{configVal4Max,jdbcType=DECIMAL}, config_val4_min = #{configVal4Min,jdbcType=DECIMAL}, config_val5_max = #{configVal5Max,jdbcType=DECIMAL}, config_val5_min = #{configVal5Min,jdbcType=DECIMAL}, config_val6_max = #{configVal6Max,jdbcType=DECIMAL}, config_val6_min = #{configVal6Min,jdbcType=DECIMAL}, del_flag = #{delFlag,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_user = #{createUser,jdbcType=INTEGER}, update_time = #{updateTime,jdbcType=TIMESTAMP}, update_user = #{updateUser,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} update tb_warn_config when id = #{item.id,jdbcType=BIGINT} then #{item.configuType,jdbcType=INTEGER} when id = #{item.id,jdbcType=BIGINT} then #{item.configName,jdbcType=VARCHAR} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal1Max,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal1Min,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal2Max,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal2Min,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal3Max,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal3Min,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal4Max,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal4Min,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal5Max,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal5Min,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal6Max,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.configVal6Min,jdbcType=DECIMAL} when id = #{item.id,jdbcType=BIGINT} then #{item.delFlag,jdbcType=INTEGER} when id = #{item.id,jdbcType=BIGINT} then #{item.createTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=BIGINT} then #{item.createUser,jdbcType=INTEGER} when id = #{item.id,jdbcType=BIGINT} then #{item.updateTime,jdbcType=TIMESTAMP} when id = #{item.id,jdbcType=BIGINT} then #{item.updateUser,jdbcType=INTEGER} where id in #{item.id,jdbcType=BIGINT} delete from tb_warn_config where id in #{id,jdbcType=BIGINT}