fix:行程规划单根据归属部门补充公司编码字段
This commit is contained in:
parent
4342b31337
commit
7a8d98cd40
|
@ -191,7 +191,7 @@ public class LegEventHandler implements LegEventService {
|
||||||
if (!parentOrganizations.isEmpty()) {
|
if (!parentOrganizations.isEmpty()) {
|
||||||
SystemOrganization organization = parentOrganizations.get(0);
|
SystemOrganization organization = parentOrganizations.get(0);
|
||||||
if (organization.getOrgLevel() == null || organization.getOrgLevel().isEmpty()) {
|
if (organization.getOrgLevel() == null || organization.getOrgLevel().isEmpty()) {
|
||||||
routerOrderExtensionField.setCompanyCode(organization.getOrgShortCode());
|
routerOrderExtensionField.setCompanyCode(org.getOrgShortCode());
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
currentParentId = organization.getParentId();
|
currentParentId = organization.getParentId();
|
||||||
|
|
Loading…
Reference in New Issue