This commit is contained in:
2024-08-14 11:53:10 +08:00
parent 40f8e9bb2f
commit 5f5f9db1ff
5 changed files with 27 additions and 1 deletions

View File

@@ -311,12 +311,14 @@ namespace Tnb.EquipMgr
{
string id = dic["id"];
string executeUserId = dic["executeUserId"];
string repeat_user_id = dic["repeat_user_id"];
ToolMoldMaintainRecordH eqpSpotInsRecordH = await _repository.GetSingleAsync(x => x.id == id);
if (eqpSpotInsRecordH.status == "1")
{
_ = await _repository.UpdateAsync(x => new ToolMoldMaintainRecordH()
{
execute_user_id = executeUserId,
repeat_user_id = repeat_user_id,
modify_id = _userManager.UserId,
modify_time = DateTime.Now
}, x => x.id == id);