代码修改
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
he 2025-09-28 09:09:09 +08:00
parent 88e7febec5
commit 400504db74
1 changed files with 4 additions and 1 deletions

View File

@ -506,6 +506,9 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
/// <returns></returns>
public Dictionary<string, object> StringEmptyTurnedLine(Dictionary<string, object> myDictionary)
{
List<string> notTurnedKeyList = new List<string>() { "ImageOneUrl", "ImageOneMark", "ImageTwoUrl", "ImageTwoMark" };
foreach (var item in myDictionary)
{
if (item.Value == null)
@ -528,7 +531,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
{
foreach (var item2 in column)
{
if (item2.Value.ToString() == string.Empty || item.Value == null)
if ((item2.Value.ToString() == string.Empty || item.Value == null)&& !notTurnedKeyList.Contains(item2.Key))
{
bool isOrgan = false;
try