แก้บัคreport2

This commit is contained in:
Kittapath 2024-04-02 09:51:29 +07:00
parent af474c085d
commit 5432e055e4
4 changed files with 1350 additions and 1363 deletions

View file

@ -91,8 +91,8 @@ export class ProfileAddressController extends Controller {
"currentDistrictId",
"currentSubDistrictId",
"currentZipCode",
"createdFullName",
"createdAt",
"lastUpdateFullName",
"lastUpdatedAt",
],
});
if (!record) {

View file

@ -84,7 +84,15 @@ export class ProfileChangeNameController extends Controller {
public async changeNameHistory(@Path() changeNameId: string) {
const record = await this.changeNameHistoryRepository.find({
where: { profileChangeNameId: changeNameId },
select: ["id", "prefix", "firstName", "lastName", "status", "createdFullName", "createdAt"],
select: [
"id",
"prefix",
"firstName",
"lastName",
"status",
"lastUpdateFullName",
"lastUpdatedAt",
],
order: { createdAt: "DESC" },
});
return new HttpSuccess(record);

View file

@ -97,6 +97,8 @@ export class ProfileDutyController extends Controller {
"detail",
"refCommandNo",
"refCommandDate",
"lastUpdateFullName",
"lastUpdatedAt",
],
order: { createdAt: "DESC" },
});

File diff suppressed because it is too large Load diff