代码修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
88e7febec5
commit
400504db74
|
|
@ -506,6 +506,9 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public Dictionary<string, object> StringEmptyTurnedLine(Dictionary<string, object> myDictionary)
|
public Dictionary<string, object> StringEmptyTurnedLine(Dictionary<string, object> myDictionary)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
List<string> notTurnedKeyList = new List<string>() { "ImageOneUrl", "ImageOneMark", "ImageTwoUrl", "ImageTwoMark" };
|
||||||
|
|
||||||
foreach (var item in myDictionary)
|
foreach (var item in myDictionary)
|
||||||
{
|
{
|
||||||
if (item.Value == null)
|
if (item.Value == null)
|
||||||
|
|
@ -528,7 +531,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
{
|
{
|
||||||
foreach (var item2 in column)
|
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;
|
bool isOrgan = false;
|
||||||
try
|
try
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue