mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
禅道问题修复:站内信模版/消息、日志管理、组织权限使用时间区间查询当日数据失效修复
This commit is contained in:
+2
@@ -3,6 +3,7 @@ package com.cf.imes.module.system.controller.admin.logger;
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.framework.common.pojo.PageParam;
|
||||
import com.cf.imes.framework.common.pojo.PageResult;
|
||||
import com.cf.imes.framework.common.util.date.LocalDateTimeUtils;
|
||||
import com.cf.imes.framework.excel.core.util.ExcelUtils;
|
||||
import com.cf.imes.framework.operatelog.core.annotations.OperateLog;
|
||||
import com.cf.imes.module.system.controller.admin.logger.vo.operatelog.OperateLogPageReqVO;
|
||||
@@ -46,6 +47,7 @@ public class OperateLogController {
|
||||
@Operation(summary = "查看操作日志分页列表")
|
||||
@PreAuthorize("@ss.hasPermission('system:operate-log:query')")
|
||||
public CommonResult<PageResult<OperateLogRespVO>> pageOperateLog(@Valid OperateLogPageReqVO pageReqVO) {
|
||||
pageReqVO.setStartTime(LocalDateTimeUtils.generateTimeSection(pageReqVO.getStartTime()));
|
||||
PageResult<OperateLogDO> pageResult = operateLogService.getOperateLogPage(pageReqVO);
|
||||
// 获得拼接需要的数据
|
||||
Map<Long, AdminUserDO> userMap = userService.getUserMap(
|
||||
|
||||
+2
@@ -3,6 +3,7 @@ package com.cf.imes.module.system.controller.admin.notify;
|
||||
import com.cf.imes.framework.common.enums.UserTypeEnum;
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.framework.common.pojo.PageResult;
|
||||
import com.cf.imes.framework.common.util.date.LocalDateTimeUtils;
|
||||
import com.cf.imes.framework.common.util.object.BeanUtils;
|
||||
import com.cf.imes.module.system.controller.admin.notify.vo.message.NotifyMessagePageReqVO;
|
||||
import com.cf.imes.module.system.controller.admin.notify.vo.message.NotifyMessageRespVO;
|
||||
@@ -47,6 +48,7 @@ public class NotifyMessageController {
|
||||
@PreAuthorize("@ss.hasPermission('system:notify-message:query')")
|
||||
public CommonResult<PageResult<NotifyMessageRespVO>> getNotifyMessagePage(@Valid NotifyMessagePageReqVO pageVO) {
|
||||
pageVO.setUserId(getLoginUserId());
|
||||
pageVO.setCreateTime(LocalDateTimeUtils.generateTimeSection(pageVO.getCreateTime()));
|
||||
PageResult<NotifyMessageDO> pageResult = notifyMessageService.getMyMyNotifyMessagePage(pageVO);
|
||||
return success(BeanUtils.toBean(pageResult, NotifyMessageRespVO.class));
|
||||
}
|
||||
|
||||
+2
@@ -2,6 +2,7 @@ package com.cf.imes.module.system.controller.admin.notify;
|
||||
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.framework.common.pojo.PageResult;
|
||||
import com.cf.imes.framework.common.util.date.LocalDateTimeUtils;
|
||||
import com.cf.imes.framework.common.util.object.BeanUtils;
|
||||
import com.cf.imes.module.system.controller.admin.notify.vo.template.NotifyTemplatePageReqVO;
|
||||
import com.cf.imes.module.system.controller.admin.notify.vo.template.NotifyTemplateRespVO;
|
||||
@@ -71,6 +72,7 @@ public class NotifyTemplateController {
|
||||
@Operation(summary = "获得站内信模版分页")
|
||||
@PreAuthorize("@ss.hasPermission('system:notify-template:query')")
|
||||
public CommonResult<PageResult<NotifyTemplateRespVO>> getNotifyTemplatePage(@Valid NotifyTemplatePageReqVO pageVO) {
|
||||
pageVO.setCreateTime(LocalDateTimeUtils.generateTimeSection(pageVO.getCreateTime()));
|
||||
PageResult<NotifyTemplateDO> pageResult = notifyTemplateService.getNotifyTemplatePage(pageVO);
|
||||
return success(BeanUtils.toBean(pageResult, NotifyTemplateRespVO.class));
|
||||
}
|
||||
|
||||
+2
@@ -3,6 +3,7 @@ package com.cf.imes.module.system.controller.admin.organ;
|
||||
import com.cf.imes.framework.common.enums.CommonStatusEnum;
|
||||
import com.cf.imes.framework.common.pojo.CommonResult;
|
||||
import com.cf.imes.framework.common.pojo.PageResult;
|
||||
import com.cf.imes.framework.common.util.date.LocalDateTimeUtils;
|
||||
import com.cf.imes.framework.common.util.object.BeanUtils;
|
||||
import com.cf.imes.module.system.controller.admin.organ.vo.packages.TenantPackagePageReqVO;
|
||||
import com.cf.imes.module.system.controller.admin.organ.vo.packages.TenantPackageRespVO;
|
||||
@@ -69,6 +70,7 @@ public class TenantPackageController {
|
||||
@Operation(summary = "获得组织套餐分页")
|
||||
@PreAuthorize("@ss.hasPermission('system:tenant-package:query')")
|
||||
public CommonResult<PageResult<TenantPackageRespVO>> getTenantPackagePage(@Valid TenantPackagePageReqVO pageVO) {
|
||||
pageVO.setCreateTime(LocalDateTimeUtils.generateTimeSection(pageVO.getCreateTime()));
|
||||
PageResult<TenantPackageDO> pageResult = tenantPackageService.getTenantPackagePage(pageVO);
|
||||
return success(BeanUtils.toBean(pageResult, TenantPackageRespVO.class));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user