Merge branch 'develop' into adiDev
This commit is contained in:
commit
27137aad68
2 changed files with 18 additions and 4 deletions
|
|
@ -1967,7 +1967,7 @@ export class ProfileController extends Controller {
|
|||
process.env.AUTH_ACCOUNT_SECRET,
|
||||
{ expiresIn: "15m" },
|
||||
);
|
||||
const link = process.env.URL + "/verifyemail?upn=" + token;
|
||||
const link = process.env.VITE_URL_USER + "/verifyemail?upn=" + token;
|
||||
|
||||
await new CallAPI()
|
||||
.PostData(req, "/placement/noti/send-mail", {
|
||||
|
|
@ -4136,7 +4136,14 @@ export class ProfileController extends Controller {
|
|||
.leftJoinAndSelect("current_holders.orgChild2", "orgChild2")
|
||||
.leftJoinAndSelect("current_holders.orgChild3", "orgChild3")
|
||||
.leftJoinAndSelect("current_holders.orgChild4", "orgChild4")
|
||||
.where("current_holders.orgRevisionId = :orgRevisionId", { orgRevisionId: findRevision.id })
|
||||
.where(
|
||||
node && nodeId
|
||||
? "current_holders.orgRevisionId = :orgRevisionId"
|
||||
: "1=1",
|
||||
{
|
||||
orgRevisionId: node && nodeId ? findRevision.id : undefined,
|
||||
}
|
||||
)
|
||||
.andWhere(
|
||||
_data.root != undefined && _data.root != null
|
||||
? _data.root[0] != null
|
||||
|
|
@ -4863,7 +4870,7 @@ export class ProfileController extends Controller {
|
|||
node: null,
|
||||
nodeId: null,
|
||||
salary: profile ? profile.amount : null,
|
||||
amountSpecial: profile ? profile.amountSpecial : null
|
||||
amountSpecial: profile ? profile.amountSpecial : null,
|
||||
};
|
||||
|
||||
if (_profile.child4Id != null) {
|
||||
|
|
|
|||
|
|
@ -1454,7 +1454,14 @@ export class ProfileEmployeeController extends Controller {
|
|||
.leftJoinAndSelect("current_holders.orgChild2", "orgChild2")
|
||||
.leftJoinAndSelect("current_holders.orgChild3", "orgChild3")
|
||||
.leftJoinAndSelect("current_holders.orgChild4", "orgChild4")
|
||||
.where("current_holders.orgRevisionId = :orgRevisionId", { orgRevisionId: findRevision.id })
|
||||
.where(
|
||||
node && nodeId
|
||||
? "current_holders.orgRevisionId = :orgRevisionId"
|
||||
: "1=1",
|
||||
{
|
||||
orgRevisionId: node && nodeId ? findRevision.id : undefined,
|
||||
}
|
||||
)
|
||||
.andWhere(
|
||||
_data.root != undefined && _data.root != null
|
||||
? _data.root[0] != null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue