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, address, longitude, latitude, mac, operate_user_id, state, create_time, install_time, monitor_point_id, device_version_id delete from device where id = #{id,jdbcType=INTEGER} delete from device insert into device (id, name, address, longitude, latitude, mac, operate_user_id, state, create_time, install_time, monitor_point_id, device_version_id ) values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{longitude,jdbcType=REAL}, #{latitude,jdbcType=REAL}, #{mac,jdbcType=VARCHAR}, #{operateUserId,jdbcType=INTEGER}, #{state,jdbcType=CHAR}, #{createTime,jdbcType=TIMESTAMP}, #{installTime,jdbcType=TIMESTAMP}, #{monitorPointId,jdbcType=INTEGER}, #{deviceVersionId,jdbcType=INTEGER} ) insert into device id, name, address, longitude, latitude, mac, operate_user_id, state, create_time, install_time, monitor_point_id, device_version_id, #{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{longitude,jdbcType=REAL}, #{latitude,jdbcType=REAL}, #{mac,jdbcType=VARCHAR}, #{operateUserId,jdbcType=INTEGER}, #{state,jdbcType=CHAR}, #{createTime,jdbcType=TIMESTAMP}, #{installTime,jdbcType=TIMESTAMP}, #{monitorPointId,jdbcType=INTEGER}, #{deviceVersionId,jdbcType=INTEGER}, update device id = #{record.id,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, address = #{record.address,jdbcType=VARCHAR}, longitude = #{record.longitude,jdbcType=REAL}, latitude = #{record.latitude,jdbcType=REAL}, mac = #{record.mac,jdbcType=VARCHAR}, operate_user_id = #{record.operateUserId,jdbcType=INTEGER}, state = #{record.state,jdbcType=CHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, install_time = #{record.installTime,jdbcType=TIMESTAMP}, monitor_point_id = #{record.monitorPointId,jdbcType=INTEGER}, device_version_id = #{record.deviceVersionId,jdbcType=INTEGER}, update device set id = #{record.id,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, address = #{record.address,jdbcType=VARCHAR}, longitude = #{record.longitude,jdbcType=REAL}, latitude = #{record.latitude,jdbcType=REAL}, mac = #{record.mac,jdbcType=VARCHAR}, operate_user_id = #{record.operateUserId,jdbcType=INTEGER}, state = #{record.state,jdbcType=CHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, install_time = #{record.installTime,jdbcType=TIMESTAMP}, monitor_point_id = #{record.monitorPointId,jdbcType=INTEGER}, device_version_id = #{record.deviceVersionId,jdbcType=INTEGER} update device name = #{name,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, longitude = #{longitude,jdbcType=REAL}, latitude = #{latitude,jdbcType=REAL}, mac = #{mac,jdbcType=VARCHAR}, operate_user_id = #{operateUserId,jdbcType=INTEGER}, state = #{state,jdbcType=CHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, install_time = #{installTime,jdbcType=TIMESTAMP}, monitor_point_id = #{monitorPointId,jdbcType=INTEGER}, device_version_id = #{deviceVersionId,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update device set name = #{name,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, longitude = #{longitude,jdbcType=REAL}, latitude = #{latitude,jdbcType=REAL}, mac = #{mac,jdbcType=VARCHAR}, operate_user_id = #{operateUserId,jdbcType=INTEGER}, state = #{state,jdbcType=CHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, install_time = #{installTime,jdbcType=TIMESTAMP}, monitor_point_id = #{monitorPointId,jdbcType=INTEGER}, device_version_id = #{deviceVersionId,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}