提交 719a4250 authored 作者: hzh's avatar hzh

代码优化

上级 3d6363dc
......@@ -16,7 +16,6 @@ import org.dromara.common.core.constant.CacheNames;
import org.dromara.common.core.constant.UserConstants;
import org.dromara.common.core.exception.ServiceException;
import org.dromara.common.core.utils.*;
import org.dromara.common.excel.core.DropDownOptions;
import org.dromara.common.mybatis.helper.DataBaseHelper;
import org.dromara.common.redis.utils.CacheUtils;
import org.dromara.common.satoken.utils.LoginHelper;
......@@ -91,7 +90,7 @@ public class SysDeptServiceImpl implements ISysDeptService {
Collections.reverse(nameList);
}
// 拼接层级名称
String fullName = StrUtil.join(DropDownOptions.DELIMITER, nameList);
String fullName = StrUtil.join(split, nameList);
SysDeptVo sd = BeanUtil.copyProperties(d, SysDeptVo.class);
sd.setDeptName(fullName);
return sd;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论