[後端] 修改table 另名錯誤

This commit is contained in:
dev02 2023-05-22 10:19:15 +08:00
parent ccdc6e76c9
commit aa61f21354

View File

@ -88,7 +88,7 @@ namespace FrontendWebApi.ApiControllers
try try
{ {
var sqlString = @$"select building_tag as Value, full_name as Name from building a where a.deleted = 0 and a.status = 0 ORDER BY A.priority ASC, A.created_at DESC"; var sqlString = @$"select building_tag as Value, full_name as Name from building a where a.deleted = 0 and a.status = 0 ORDER BY a.priority ASC, a.created_at DESC";
KeyValue = await backendRepository.GetAllAsync<KeyValue>(sqlString); KeyValue = await backendRepository.GetAllAsync<KeyValue>(sqlString);
apiResult.Code = "0000"; apiResult.Code = "0000";