点巡检报表 设备维修复核

This commit is contained in:
2024-08-30 12:01:57 +08:00
parent 02a79e3d59
commit a2514a1354
14 changed files with 163 additions and 23 deletions

View File

@@ -186,7 +186,7 @@ namespace Tnb.EquipMgr
attachment = input.attachment,
}, x => x.id == input.id);
_ = await db.Updateable<EqpRepairApply>().SetColumns(x => x.status == RepairApplyStatus.COMPLETED)
_ = await db.Updateable<EqpRepairApply>().SetColumns(x => x.status == RepairApplyStatus.REPEATCHECKING)
.Where(x => x.id == input.repair_apply_id).ExecuteCommandAsync();
});
return !result.IsSuccess ? throw Oops.Oh(ErrorCode.COM1008) : result.IsSuccess ? "登记成功" : result.ErrorMessage;