fix sort reason
This commit is contained in:
parent
23e277c277
commit
b7c0075f5a
1 changed files with 1 additions and 0 deletions
|
|
@ -241,6 +241,7 @@ export class KpiUserEvaluationController extends Controller {
|
||||||
async listKpiUserCommanderEvaluation(@Path() id: string, @Path() type: string) {
|
async listKpiUserCommanderEvaluation(@Path() id: string, @Path() type: string) {
|
||||||
const kpiUserEvaluationReason = await this.kpiUserEvaluationReasonRepository.find({
|
const kpiUserEvaluationReason = await this.kpiUserEvaluationReasonRepository.find({
|
||||||
where: { kpiUserEvaluationId: id, type: type.trim().toUpperCase() },
|
where: { kpiUserEvaluationId: id, type: type.trim().toUpperCase() },
|
||||||
|
order: { createdAt: "ASC" }
|
||||||
});
|
});
|
||||||
return new HttpSuccess(kpiUserEvaluationReason);
|
return new HttpSuccess(kpiUserEvaluationReason);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue