fix(hjgl): 修复焊口打印与防腐数据处理
This commit is contained in:
@@ -802,7 +802,8 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
if (!string.IsNullOrEmpty(col30))
|
||||
{
|
||||
// AF列为非必填项,只有填写时才按防腐字典校验并回填字典ID
|
||||
var paint = getPaintCodeDict.FirstOrDefault(x => !string.IsNullOrEmpty(x.PaintCode) && x.PaintCode.Contains(col30));
|
||||
// LINQ to SQL 不支持翻译 string.IsNullOrEmpty;AF 已确认非空,直接按字典编码精确匹配。
|
||||
var paint = getPaintCodeDict.FirstOrDefault(x => x.PaintCode == col30);
|
||||
if (paint == null)
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "防腐等级" + "【" + col30 + "】不存在!" + "|");
|
||||
|
||||
Reference in New Issue
Block a user