mirror of https://gitee.com/stylefeng/roses
【8.3.3】【sys】更新机构的层级编码
parent
3dd0aca930
commit
0ba098f14e
|
@ -119,6 +119,13 @@ public class HrOrganization extends BaseExpandFieldEntity implements AbstractTre
|
|||
@ChineseDescription("对接外部主数据的父级机构id")
|
||||
private String masterOrgParentId;
|
||||
|
||||
/**
|
||||
* 组织机构层级编码,来自sys_hr_organization_level表
|
||||
*/
|
||||
@TableField("level_code")
|
||||
@ChineseDescription("组织机构层级编码,来自sys_hr_organization_level表")
|
||||
private String levelCode;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
|
|
|
@ -109,6 +109,12 @@ public class HrOrganizationRequest extends BaseRequest {
|
|||
@ChineseDescription("对接外部主数据的机构id")
|
||||
private String masterOrgId;
|
||||
|
||||
/**
|
||||
* 组织机构层级编码,来自sys_hr_organization_level表
|
||||
*/
|
||||
@ChineseDescription("组织机构层级编码,来自sys_hr_organization_level表")
|
||||
private String levelCode;
|
||||
|
||||
/**
|
||||
* 对接外部主数据的父级机构id
|
||||
*/
|
||||
|
|
|
@ -175,7 +175,7 @@ public class HrOrganizationServiceImpl extends ServiceImpl<HrOrganizationMapper,
|
|||
wrapper.eq(HrOrganization::getOrgId, hrOrganizationRequest.getOrgId());
|
||||
wrapper.select(HrOrganization::getOrgId, HrOrganization::getOrgName, HrOrganization::getOrgShortName, HrOrganization::getOrgCode,
|
||||
HrOrganization::getOrgParentId, HrOrganization::getOrgSort, HrOrganization::getOrgType, HrOrganization::getStatusFlag,
|
||||
HrOrganization::getTaxNo, HrOrganization::getRemark, HrOrganization::getOrgPids);
|
||||
HrOrganization::getTaxNo, HrOrganization::getRemark, HrOrganization::getOrgPids, HrOrganization::getLevelCode);
|
||||
|
||||
HrOrganization hrOrganization = this.getOne(wrapper, false);
|
||||
if (ObjectUtil.isEmpty(hrOrganization)) {
|
||||
|
|
Loading…
Reference in New Issue