//查询预约工单为 :已下单待配货 UpdateWrapper条件构造器
UpdateWrapper<WorkSecondaryReservationRecord> update=new UpdateWrapper<WorkSecondaryReservationRecord>();
update.lambda().in(WorkSecondaryReservationRecord::getId, refReservationRecordIds).//查询条 件主键id
eq(WorkSecondaryReservationRecord::getIsDeleted, StateConstant.DELETED_ZERO.getValue()).//查询条件 未删除的
in(WorkSecondaryReservationRecord::getInventoryStatus, StateConstant.RESERVATION_RECORD_INVENTORY_STATUS_TWO.getValue()).//查询条件 状态:已下单待配货
set(WorkSecondaryReservationRecord::getInventoryStatus,StateConstant.RESERVATION_RECORD_INVENTORY_STATUS_EIGHT.getValue())//赋值:已入库未使用
;
//更新
workSecondaryReservationRecordService.update(update);