หาผู้มีอำนาจลูกจ้าง

This commit is contained in:
mamoss 2025-05-29 10:45:21 +07:00
parent 301d3a38a7
commit bcdb1ac739

View file

@ -863,7 +863,7 @@ export class WorkflowController extends Controller {
orgChild1Id: IsNull(),
};
if (type.trim().toUpperCase() == "OPERATE") {
if (type.trim().toUpperCase() == "OPERATE" || body.type == "employee") {
condition.push({
isDirector: true,
orgRootId: posMasterUser.orgRootId,