|
|
@@ -100,7 +100,7 @@ public class CoreDrillDictionaryServiceImpl extends ServiceImpl<CoreDrillDiction
|
|
|
if (null != drillTypeDictList && ObjectUtil.isNotEmpty(drillTypeDictList)) {
|
|
|
drillTypeDictList.stream().filter(dict -> ObjectUtil.equal(dict.getDictValue(), request.getDrillType())).findFirst().ifPresent(dict -> dictionary.setDrillTypeName(dict.getDictLabel()));
|
|
|
}
|
|
|
- SysOrg sysOrg = getOrg(request.getOrgId());
|
|
|
+ SysOrg sysOrg = getOrg(SecurityUtils.getLoginUser().getOrgId());
|
|
|
dictionary.setOrgName(sysOrg.getShortName());
|
|
|
dictionary.setOrgPath(sysOrg.getPath());
|
|
|
dictionary.setOrgId(sysOrg.getId());
|