访客&&大屏

This commit is contained in:
2025-08-04 19:59:48 +08:00
parent 291f9e7ffa
commit 0c34fedc8d
30 changed files with 856 additions and 49 deletions

View File

@@ -26,4 +26,13 @@ public class RemoteConfigServiceImpl implements RemoteConfigService {
return configService.selectRegisterEnabled(tenantId);
}
/**
* 获取访客机二维码有效期
*/
@Override
public String selectQrTimeOut() {
return configService.selectConfigByKey("sys.fkqr.timeout");
}
}

View File

@@ -25,6 +25,7 @@ import org.dromara.system.api.model.PostDTO;
import org.dromara.system.api.model.RoleDTO;
import org.dromara.system.api.model.XcxLoginUser;
import org.dromara.system.domain.*;
import org.dromara.system.domain.bo.SysDeptBo;
import org.dromara.system.domain.bo.SysUserBo;
import org.dromara.system.domain.vo.SysDeptVo;
import org.dromara.system.domain.vo.SysPostVo;
@@ -478,4 +479,16 @@ public class RemoteUserServiceImpl implements RemoteUserService {
.collect(Collectors.toMap(SysPost::getPostId, SysPost::getPostName));
}
@Override
public Map<String, Integer> seelectOrgcount() {
List<SysDeptVo> sysDeptVos = deptService.selectDeptList(new SysDeptBo());
HashMap<String , Integer> hashMap = new HashMap<>();
for (SysDeptVo sysDeptVo : sysDeptVos) {
Long l = userMapper.selectCount(new LambdaQueryWrapper<SysUser>().eq(SysUser::getDeptId, sysDeptVo.getDeptId()));
hashMap.put(sysDeptVo.getDeptName(), l.intValue());
}
return hashMap;
}
}