This commit is contained in:
xyy
2026-01-09 11:18:02 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -326,7 +326,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
Debug.WriteLine("检测到运行开始,重置报表插入标记");
}
if (_lastRunStatus && !currentRunStatus && !_isReported)
if (_lastRunStatus && !currentRunStatus && !_isCurrentRecordAdded)
{
var model = await InsertReportAsync();
conductivityRepository.InsertReportItems(model);

View File

@@ -271,7 +271,7 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
Debug.WriteLine("检测到运行开始,重置报表插入标记");
}
if (_lastRunStatus && !currentRunStatus && !_isReported)
if (_lastRunStatus && !currentRunStatus && !_isCurrentRecordAdded)
{
var model = await InsertReportAsync();
conductivityRepository.InsertReportItems(model);