检查内容导入格式判断
This commit is contained in:
parent
97ca280ec5
commit
fb6a81d225
@ -661,6 +661,11 @@ namespace APT.SK.WebApi.Controllers.Api
|
||||
Msg = Msg + "第" + (i + 3) + "行检查内容" + dtSource.Rows[i][1].ToString().Trim() + "已存在,请勿重复导入;";
|
||||
}
|
||||
}
|
||||
string content = dtSource.Rows[i][1].ToString().Trim()[0..^1];
|
||||
if (content.Contains("?"))
|
||||
{
|
||||
Msg = Msg + "第" + (i + 3) + "行检查内容" + dtSource.Rows[i][1].ToString().Trim() + "格式不正确,内容中间不能有问号 ;";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user