This commit is contained in:
PQZ 2024-10-10 19:42:52 +08:00
commit 3c3956deda
3 changed files with 5 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class DlBaseNoticeController {
return CommonResult.ok(); return CommonResult.ok();
} }
@GetMapping("get") @GetMapping("/get")
@Operation(summary = "平台通用信息公告 查询 按服务") @Operation(summary = "平台通用信息公告 查询 按服务")
public CommonResult<?> getNoticeById(@RequestParam("id") String id) { public CommonResult<?> getNoticeById(@RequestParam("id") String id) {
return success(dlBaseNoticeService.getById(id)); return success(dlBaseNoticeService.getById(id));

View File

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.notice.entity; package cn.iocoder.yudao.module.notice.entity;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO; import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
@ -16,7 +17,7 @@ import lombok.EqualsAndHashCode;
@TableName(value ="dl_base_notice") @TableName(value ="dl_base_notice")
@Data @Data
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
public class DlBaseNotice extends TenantBaseDO { public class DlBaseNotice extends BaseDO {
/** /**
* 公告ID * 公告ID
*/ */

View File

@ -296,6 +296,7 @@ yudao:
- /admin-api/rescue/driverLogin - /admin-api/rescue/driverLogin
- /admin-api/rescuePayApi/payNotify - /admin-api/rescuePayApi/payNotify
- /admin-api/payApi/payNotify - /admin-api/payApi/payNotify
- /admin-api/base/notice/**
ignore-tables: ignore-tables:
- system_tenant - system_tenant
@ -342,6 +343,7 @@ yudao:
- tmp_report_data_1 - tmp_report_data_1
- tmp_report_data_income - tmp_report_data_income
- system_users - system_users
- dl_base_notice
ignore-caches: ignore-caches:
- permission_menu_ids - permission_menu_ids
- oauth_client - oauth_client