แก้บัคreport2
This commit is contained in:
parent
af474c085d
commit
5432e055e4
4 changed files with 1350 additions and 1363 deletions
|
|
@ -91,8 +91,8 @@ export class ProfileAddressController extends Controller {
|
|||
"currentDistrictId",
|
||||
"currentSubDistrictId",
|
||||
"currentZipCode",
|
||||
"createdFullName",
|
||||
"createdAt",
|
||||
"lastUpdateFullName",
|
||||
"lastUpdatedAt",
|
||||
],
|
||||
});
|
||||
if (!record) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue