You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
664 B
27 lines
664 B
using medical.transfomer.entity; |
|
using ReZero.DependencyInjection; |
|
using SqlSugar; |
|
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
namespace medical.transfomer.business |
|
{ |
|
public class std_object_mapping_business : IScopeContract |
|
{ |
|
//属性注入 |
|
[DI] |
|
public ISqlSugarClient? db { get; set; } |
|
|
|
|
|
// 批量插入信息 |
|
public int ListInsert(List<STD_OBJECT_MAPPING> list) |
|
{ |
|
var result = new List<STD_OBJECT_MAPPING>(); |
|
|
|
return db.Insertable<STD_OBJECT_MAPPING>(list).ExecuteCommand(); |
|
} |
|
} |
|
}
|
|
|