修改仓储方法
This commit is contained in:
parent
fe05697687
commit
9980386e9c
@ -14,11 +14,12 @@ namespace ZR.Repository
|
||||
[AppService(ServiceLifetime = LifeTime.Transient)]
|
||||
public class GendemoRepository : BaseRepository<Gendemo>
|
||||
{
|
||||
public GendemoRepository() : base(configId: 1)
|
||||
public GendemoRepository() : base(configId: "1")
|
||||
{
|
||||
}
|
||||
|
||||
#region 业务逻辑代码
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@ -44,7 +44,7 @@ namespace ZR.Repository.System
|
||||
/// <returns></returns>
|
||||
public long InsertDictData(SysDictData dict)
|
||||
{
|
||||
var result = InsertReturnBigIdentity(dict);
|
||||
var result = Context.Insertable(dict).ExecuteReturnBigIdentity();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user