Merge branch 'develop' into develop-Bright

This commit is contained in:
Bright 2025-02-04 17:18:40 +07:00
commit 64fd9fbba8
2 changed files with 2 additions and 3 deletions

View file

@ -4966,7 +4966,7 @@ export class CommandController extends Controller {
: null;
const metaAct = {
profileId: item.posMasterChild.current_holderId,
dateStart: new Date(),
dateStart: body.refIds[0].commandAffectDate,
dateEnd: null,
posNo: shortName,
position: item.posMaster.current_holder.position,

View file

@ -4541,8 +4541,7 @@ export class ProfileEmployeeController extends Controller {
position: profile.position,
leaveDate: profile.dateLeave,
posMasterNo: posMaster == null ? null : posMaster.posMasterNo,
posLevelName:
profile?.posType?.posTypeShortName ?? "" + " " + profile?.posLevel?.posLevelName ?? "",
posLevelName: `${profile?.posType?.posTypeShortName ?? ""} ${profile?.posLevel?.posLevelName ?? ""}`,
posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank,
posLevelId: profile.posLevel == null ? null : profile.posLevel.id,
posTypeName: profile.posType == null ? null : profile.posType.posTypeName,