and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, device_id, device_unit, number, price, money, reason, c_id, c_time, u_id, u_time, apply_id delete from dm_device_record_new where id = #{id,jdbcType=INTEGER} delete from dm_device_record_new insert into dm_device_record_new (id, name, device_id, device_unit, number, price, money, reason, c_id, c_time, u_id, u_time, apply_id) values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{deviceId,jdbcType=INTEGER}, #{deviceUnit,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, #{price,jdbcType=VARCHAR}, #{money,jdbcType=VARCHAR}, #{reason,jdbcType=VARCHAR}, #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP}, #{uId,jdbcType=INTEGER}, #{uTime,jdbcType=TIMESTAMP}, #{applyId,jdbcType=INTEGER}) insert into dm_device_record_new id, name, device_id, device_unit, number, price, money, reason, c_id, c_time, u_id, u_time, apply_id, #{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{deviceId,jdbcType=INTEGER}, #{deviceUnit,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, #{price,jdbcType=VARCHAR}, #{money,jdbcType=VARCHAR}, #{reason,jdbcType=VARCHAR}, #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP}, #{uId,jdbcType=INTEGER}, #{uTime,jdbcType=TIMESTAMP}, #{applyId,jdbcType=INTEGER}, update dm_device_record_new id = #{record.id,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, device_id = #{record.deviceId,jdbcType=INTEGER}, device_unit = #{record.deviceUnit,jdbcType=VARCHAR}, number = #{record.number,jdbcType=INTEGER}, price = #{record.price,jdbcType=VARCHAR}, money = #{record.money,jdbcType=VARCHAR}, reason = #{record.reason,jdbcType=VARCHAR}, c_id = #{record.cId,jdbcType=INTEGER}, c_time = #{record.cTime,jdbcType=TIMESTAMP}, u_id = #{record.uId,jdbcType=INTEGER}, u_time = #{record.uTime,jdbcType=TIMESTAMP}, apply_id = #{record.applyId,jdbcType=INTEGER}, update dm_device_record_new set id = #{record.id,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, device_id = #{record.deviceId,jdbcType=INTEGER}, device_unit = #{record.deviceUnit,jdbcType=VARCHAR}, number = #{record.number,jdbcType=INTEGER}, price = #{record.price,jdbcType=VARCHAR}, money = #{record.money,jdbcType=VARCHAR}, reason = #{record.reason,jdbcType=VARCHAR}, c_id = #{record.cId,jdbcType=INTEGER}, c_time = #{record.cTime,jdbcType=TIMESTAMP}, u_id = #{record.uId,jdbcType=INTEGER}, u_time = #{record.uTime,jdbcType=TIMESTAMP}, apply_id = #{record.applyId,jdbcType=INTEGER} update dm_device_record_new name = #{name,jdbcType=VARCHAR}, device_id = #{deviceId,jdbcType=INTEGER}, device_unit = #{deviceUnit,jdbcType=VARCHAR}, number = #{number,jdbcType=INTEGER}, price = #{price,jdbcType=VARCHAR}, money = #{money,jdbcType=VARCHAR}, reason = #{reason,jdbcType=VARCHAR}, c_id = #{cId,jdbcType=INTEGER}, c_time = #{cTime,jdbcType=TIMESTAMP}, u_id = #{uId,jdbcType=INTEGER}, u_time = #{uTime,jdbcType=TIMESTAMP}, apply_id = #{applyId,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update dm_device_record_new set name = #{name,jdbcType=VARCHAR}, device_id = #{deviceId,jdbcType=INTEGER}, device_unit = #{deviceUnit,jdbcType=VARCHAR}, number = #{number,jdbcType=INTEGER}, price = #{price,jdbcType=VARCHAR}, money = #{money,jdbcType=VARCHAR}, reason = #{reason,jdbcType=VARCHAR}, c_id = #{cId,jdbcType=INTEGER}, c_time = #{cTime,jdbcType=TIMESTAMP}, u_id = #{uId,jdbcType=INTEGER}, u_time = #{uTime,jdbcType=TIMESTAMP}, apply_id = #{applyId,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}