This commit is contained in:
AdisakKanthawilang 2024-05-16 15:22:30 +07:00
parent 0524653f4b
commit 4dac692284
7 changed files with 26 additions and 22 deletions

View file

@ -159,7 +159,7 @@ export class ProfileChangeNameController extends Controller {
const chkLastRecord = await this.changeNameRepository.findOne({
where:{
profileEmployeeId: record.profileEmployeeId
profileId: record.profileId
},
order:{
createdAt: "DESC"