更新原文件上传时间

This commit is contained in:
XaoLi717 2024-11-13 10:56:24 +08:00
parent 33542df0eb
commit 13d09af24a
4 changed files with 0 additions and 31 deletions

View File

@ -24,8 +24,6 @@ public interface ErrorCodeConstants {
ErrorCode BGYP_NOT_EXISTS = new ErrorCode(1_011_005_000, "办公用品管理不存在");
// ========== 加班管理 1_011_006_000 ==========
ErrorCode JBGL_NOT_EXISTS = new ErrorCode(1_011_006_000, "加班管理不存在");
// ========== 会议室管理 1_011_007_000 ==========
ErrorCode HSGL_NOT_EXISTS = new ErrorCode(1_011_007_000, "会议室管理不存在");
// ========== 会议管理 1_011_008_000 ==========
ErrorCode HYGL_NOT_EXISTS = new ErrorCode(1_011_008_000, "会议管理不存在");

View File

@ -3,10 +3,7 @@ package cn.iocoder.yudao.module.home.framework.datapermission.config;
import cn.iocoder.yudao.framework.datapermission.core.rule.dept.DeptDataPermissionRuleCustomizer;
import cn.iocoder.yudao.module.home.dal.dataobject.bgyp.BgypDO;
import cn.iocoder.yudao.module.home.dal.dataobject.clgl.ClglDO;
import cn.iocoder.yudao.module.home.dal.dataobject.hsgl.HsglDO;
import cn.iocoder.yudao.module.home.dal.dataobject.qjgl.QjglDO;
import cn.iocoder.yudao.module.system.dal.dataobject.dept.DeptDO;
import cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@ -25,7 +22,6 @@ public class homeDataPermissionConfiguration {
rule.addDeptColumn(ClglDO.class, "dept"); //车辆管理
rule.addDeptColumn(QjglDO.class, "dept_id"); //请假管理
rule.addDeptColumn(BgypDO.class, "dept_id"); //办公用品
rule.addDeptColumn(HsglDO.class, "dept_id"); //会议室管理
// rule.addDeptColumn(DeptDO.class, "id");
// user
// AdminUserDO 是想要使用权限的表 id 是对那个字段生效 比如 这个表 user_id 使用户id 那就使用 user_id

View File

@ -4,5 +4,4 @@ DELETE FROM "des_homeimg";
DELETE FROM "oa_clgl";
DELETE FROM "oa-bgyp";
DELETE FROM "oa_jbgl";
DELETE FROM "oa_hsgl";
DELETE FROM "oa_hygl";

View File

@ -131,30 +131,6 @@ CREATE TABLE IF NOT EXISTS "oa_jbgl" (
"tenant_id" bigint NOT NULL,
PRIMARY KEY ("id")
) COMMENT '加班管理表';
CREATE TABLE IF NOT EXISTS "oa_hsgl" (
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"title" varchar NOT NULL,
"name" varchar NOT NULL,
"location" varchar NOT NULL,
"room_type" int NOT NULL,
"manager" varchar NOT NULL,
"room_max" varchar,
"capacity" int,
"facilities" varchar,
"room_status" int NOT NULL,
"photo" varchar,
"remark" varchar,
"status" int,
"user_id" bigint NOT NULL,
"process_instance_id" varchar,
"creator" varchar DEFAULT '',
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updater" varchar DEFAULT '',
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
"deleted" bit NOT NULL DEFAULT FALSE,
"tenant_id" bigint NOT NULL,
PRIMARY KEY ("id")
) COMMENT '会议室管理表';
CREATE TABLE IF NOT EXISTS "oa_hygl" (
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"title" varchar NOT NULL,