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