device_id, device_name, device_type, current_type, station_id, brand_model, parent_device_id, serial_number, `status`, del_flag, create_time, create_by, update_time, update_by update xhpc_station_device set del_flag = 2 where device_id = #{deviceId,jdbcType=INTEGER} insert into xhpc_station_device (device_name, device_type, current_type, station_id, parent_device_id, serial_number, brand_model, `status`, del_flag, create_time, create_by, update_time, update_by) values (#{deviceName,jdbcType=VARCHAR}, #{deviceType,jdbcType=VARCHAR}, #{currentType,jdbcType=VARCHAR}, #{stationId,jdbcType=BIGINT}, #{parentDeviceId,jdbcType=BIGINT}, #{serialNumber,jdbcType=VARCHAR}, #{brandModel,jdbcType=VARCHAR}, #{status,jdbcType=SMALLINT}, 0, SYSDATE(), #{createBy,jdbcType=VARCHAR}, SYSDATE(), #{updateBy,jdbcType=VARCHAR}) insert into xhpc_station_device device_name, device_type, current_type, station_id, parent_device_id, serial_number, brand_model, `status`, del_flag, create_time, create_by, update_time, update_by, #{deviceName,jdbcType=VARCHAR}, #{deviceType,jdbcType=VARCHAR}, #{currentType,jdbcType=VARCHAR}, #{stationId,jdbcType=BIGINT}, #{parentDeviceId,jdbcType=BIGINT}, #{serialNumber,jdbcType=VARCHAR}, #{brandModel,jdbcType=VARCHAR}, #{status,jdbcType=SMALLINT}, 0, sysdate(), #{createBy,jdbcType=VARCHAR}, sysdate(), #{updateBy,jdbcType=VARCHAR}, update xhpc_station_device device_name = #{deviceName,jdbcType=VARCHAR}, device_type = #{deviceType,jdbcType=VARCHAR}, current_type = #{currentType,jdbcType=VARCHAR}, station_id = #{stationId,jdbcType=BIGINT}, parent_device_id = #{parentDeviceId,jdbcType=BIGINT}, serial_number = #{serialNumber,jdbcType=VARCHAR}, brand_model = #{brandModel,jdbcType=VARCHAR}, `status` = #{status,jdbcType=SMALLINT}, update_time = sysdate(), update_by = #{updateBy,jdbcType=VARCHAR}, where device_id = #{deviceId,jdbcType=INTEGER} update xhpc_station_device set device_name = #{deviceName,jdbcType=VARCHAR}, device_type = #{deviceType,jdbcType=VARCHAR}, current_type = #{currentType,jdbcType=VARCHAR}, station_id = #{stationId,jdbcType=BIGINT}, parent_device_id = #{parentDeviceId,jdbcType=BIGINT}, serial_number = #{serialNumber,jdbcType=VARCHAR}, brand_model = #{brandModel,jdbcType=VARCHAR}, `status` = #{status,jdbcType=SMALLINT}, update_time = sysdate(), update_by = #{updateBy,jdbcType=VARCHAR} where device_id = #{deviceId,jdbcType=INTEGER}