insert 为带出entity

master
rszn 5 months ago
parent 5aac8e7f0b
commit a07363c148

@ -218,7 +218,7 @@ public class MonitorService
Status = 0, Status = 0,
Type = type Type = type
}; };
MoveBinRecordRepository.Insert(moveBinRecord); moveBinRecord= MoveBinRecordRepository.Insert(moveBinRecord);
result = PlcMgr.HoldOn(); result = PlcMgr.HoldOn();
if (!result) if (!result)
@ -243,6 +243,7 @@ public class MonitorService
MoveBinRecordRepository.Update(moveBinRecord); MoveBinRecordRepository.Update(moveBinRecord);
return Result<bool>.Fail(); return Result<bool>.Fail();
} }
Log.Info($"move battery success update moveBin={JsonConvert.SerializeObject(moveBinRecord)}");
//如果是缓存仓 更新缓存仓的数据 //如果是缓存仓 更新缓存仓的数据
if (putBin.CacheBinFlag == 1) if (putBin.CacheBinFlag == 1)

Loading…
Cancel
Save