更新修改

main
lgd 2 months ago
parent ce48534257
commit 60839ad8c5

@ -397,7 +397,7 @@ namespace OpenAuth.App.ServiceApp
public async Task<Response<string>> UpdatePicStatus(string id, int showOnMap, int display, string fileTags, string graffitiJson)
{
string sql = "update lasa_mediafile set \"ShowOnMap\"=" + showOnMap + ",display=" + display+ ",\"FileTags\"='" + fileTags + "',display='" + display + "',\"GraffitiJson\"='" + graffitiJson + "' where \"Id\"='" + id+"'";
string sql = "update lasa_mediafile set \"ShowOnMap\"=" + showOnMap + ",display=" + display+ ",\"FileTags\"='" + fileTags + "',\"GraffitiJson\"='" + graffitiJson + "' where \"Id\"='" + id+"'";
await _client.Ado.ExecuteCommandAsync(sql);
return new Response<string> { Result = "修改成功!" };
}

Loading…
Cancel
Save