เงินเดือนไม่มีค่าให้เป็นnull

This commit is contained in:
Kittapath 2024-02-29 14:07:39 +07:00
parent b53176ed05
commit 15c6932f91
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ export class OrganizationUnauthorizeController extends Controller {
posType: item.current_holder.posType.posTypeName,
posLevel: item.current_holder.posLevel.posLevelName,
posExecutive: posExecutive,
amount: amount ? amount : 0,
amount: amount ? amount : null,
rootId: item.orgRootId,
root: item.orgRoot?.orgRootName ? item.orgRoot.orgRootName : null,
child1Id: item.orgChild1Id,

View file

@ -1043,7 +1043,7 @@ export class ProfileController extends Controller {
posType: item.current_holder.posType.posTypeName,
posLevel: item.current_holder.posLevel.posLevelName,
posExecutive: posExecutive,
amount: amount ? amount : 0,
amount: amount ? amount : null,
// revisionId: item.orgRevisionId,
rootId: item.orgRootId,
root: item.orgRoot?.orgRootName ? item.orgRoot.orgRootName : null,