fix sort
This commit is contained in:
parent
4b6fd79264
commit
d4dffef020
2 changed files with 2 additions and 2 deletions
|
|
@ -3069,7 +3069,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
const profileInformation = await this.informationHistoryRepository.find({
|
||||
where: { profileEmployeeId: profileEmployeeId },
|
||||
order: {
|
||||
createdAt: "ASC",
|
||||
createdAt: "DESC",
|
||||
},
|
||||
});
|
||||
return new HttpSuccess(profileInformation);
|
||||
|
|
|
|||
|
|
@ -2951,7 +2951,7 @@ export class ProfileEmployeeTempController extends Controller {
|
|||
const profileInformation = await this.informationHistoryRepository.find({
|
||||
where: { profileEmployeeId: profileEmployeeId },
|
||||
order: {
|
||||
createdAt: "ASC",
|
||||
createdAt: "DESC",
|
||||
},
|
||||
});
|
||||
return new HttpSuccess(profileInformation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue