修改更新方式
parent
e60c132b19
commit
e4e5c87d1b
|
|
@ -144,7 +144,7 @@ namespace OpenAuth.App.ServiceApp.DataMaintenance
|
|||
//编辑应用
|
||||
public async Task<Response<bool>> Update(ApplicationData app)
|
||||
{
|
||||
if (await Repository.AsUpdateable(app).SetColumns(r => new ApplicationData
|
||||
if (await Repository.AsUpdateable(app).UpdateColumns(r => new ApplicationData
|
||||
{
|
||||
ApplicationName = app.ApplicationName,
|
||||
ServerId = app.ServerId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue