This commit is contained in:
parent
22639e72c6
commit
55085ab8d8
10 changed files with 16 additions and 15 deletions
|
|
@ -40,7 +40,7 @@ export class ProfileActpositionEmployeeController extends Controller {
|
|||
throw new HttpError(HttpStatus.BAD_REQUEST, "ไม่พบ profile ดังกล่าว");
|
||||
}
|
||||
const getProfileActpositionId = await this.profileActpositionRepo.find({
|
||||
where: { profileEmployeeId: profile.id },
|
||||
where: { profileEmployeeId: profile.id, isDeleted: false },
|
||||
order: { createdAt: "ASC" },
|
||||
});
|
||||
if (!getProfileActpositionId) {
|
||||
|
|
@ -58,7 +58,7 @@ export class ProfileActpositionEmployeeController extends Controller {
|
|||
if (_workflow == false)
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", profileEmployeeId);
|
||||
const getProfileActpositionId = await this.profileActpositionRepo.find({
|
||||
where: { profileEmployeeId: profileEmployeeId },
|
||||
where: { profileEmployeeId: profileEmployeeId, isDeleted: false },
|
||||
order: { createdAt: "ASC" },
|
||||
});
|
||||
if (!getProfileActpositionId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue