2023-10-24

This commit is contained in:
李鹏飞 2023-10-24 17:38:20 +08:00
parent 4157358c68
commit c50fa2cee0
2 changed files with 2 additions and 2 deletions

View File

@ -258,11 +258,11 @@ namespace FineUIPro.Web.HJGL.WeldingManage
string col3 = pds[i].D; string col3 = pds[i].D;
if (string.IsNullOrEmpty(col3)) if (string.IsNullOrEmpty(col3))
{ {
result.Add("第" + (i + 1).ToString() + "行," + "介质名称" + "," + "此项为必填项!" + "|"); result.Add("第" + (i + 1).ToString() + "行," + "介质代号" + "," + "此项为必填项!" + "|");
} }
else else
{ {
var Medium = getMedium.FirstOrDefault(x => x.MediumName == col3); var Medium = getMedium.FirstOrDefault(x => x.MediumCode == col3);
if (Medium == null) if (Medium == null)
{ {
// result += "第" + (i + 1).ToString() + "行," + "该介质不存在!" + "|"; // result += "第" + (i + 1).ToString() + "行," + "该介质不存在!" + "|";