feat:修改打印字体

This commit is contained in:
dzc committed 2025-01-19 17:27:56 +08:00
1 parent 3231303204
commit 072b2223ac
2 files changed
+2 -2

No files matched your search

@@ -30,7 +30,7 @@ public class Drawing2D {
private final int horizontalPadding = 20;
private final String fontFamily = "宋体";
private final String fontFamily = "SimSun";
/**
* end ****************** config ****************** end
@@ -221,7 +221,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
*/
@Override
public IPage getUsersWithRolePage(Page page, UserDTO userDTO) {
if (userDTO.getIsDeepDept() && ObjectUtil.isNotEmpty(userDTO.getDeptId())) {
if (ObjectUtil.isNotEmpty(userDTO.getIsDeepDept()) && userDTO.getIsDeepDept() && ObjectUtil.isNotEmpty(userDTO.getDeptId())) {
List<SysDept> deptList = sysDeptService.listDescendant(userDTO.getDeptId());
userDTO.setDeptId(null);
if (ObjectUtil.isNotEmpty(deptList)) {