首检添加数据看板
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Infrastructure.Extensions;
|
||||
using MiniExcelLibs;
|
||||
using SqlSugar.IOC;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using ZR.Common;
|
||||
using ZR.Model.System;
|
||||
@@ -54,7 +53,7 @@ namespace ZR.Service.System
|
||||
.WhereColumns(it => it.MenuId)//如果不是主键可以这样实现(多字段it=>new{it.x1,it.x2})
|
||||
.ToStorage();
|
||||
var result = x.AsInsertable.OffIdentity().ExecuteCommand();//插入可插入部分;
|
||||
|
||||
|
||||
string msg = $"[菜单数据] 插入{x.InsertList.Count} 错误数据{x.ErrorList.Count} 总共{x.TotalList.Count}";
|
||||
return (msg, x.ErrorList, x.IgnoreList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user