课表申请功能重写 bug修复

This commit is contained in:
liumengyu
2026-08-25 18:47:22 +08:00
parent aa4145fd33
commit a30b963dea
58 changed files with 1203 additions and 1632 deletions
@@ -1,8 +1,9 @@
package com.roomroot.jwgl.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.roomroot.jwgl.unit.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -17,55 +18,48 @@ import java.time.LocalDateTime;
@TableName("调课申请_保障明细")
public class DKSQBZMX extends BaseEntity {
/**
* 编号
*/
@TableId(value = "编号", type = IdType.INPUT)
private String bh;
/**
* 申请编号
*/
@TableField("申请编号")
private String sqbh;
/**
* 保障提供明细编号
*/
@TableField("保障提供明细编号")
private String bztgmxbh;
/**
* 数量
*/
@TableField("数量")
private Integer sl;
/**
* 备注
*/
@TableField("备注")
private String bz;
/**
* 查收状态
*/
@TableField("查收状态")
private Integer cszt;
/**
* 查收时间
*/
@TableField("查收时间")
private LocalDateTime cssj;
/**
* 年度
*/
@TableField("年度")
private Integer nd;
/**
* 日期
*/
@TableField("日期")
private LocalDateTime rq;
/**
* 节次
*/
@TableField("节次")
private Integer jc;
@TableField(exist = false)
private LocalDateTime createTime;
@TableField(exist = false)
private LocalDateTime updateTime;
@TableField(exist = false)
private String createBy;
@TableField(exist = false)
private String updateBy;
@TableField(exist = false)
private Integer delFlag;
}
@@ -1,8 +1,9 @@
package com.roomroot.jwgl.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.roomroot.jwgl.unit.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -17,60 +18,51 @@ import java.time.LocalDateTime;
@TableName("调课申请_辅助教员")
public class DKSQFZJY extends BaseEntity {
/**
* 编号
*/
@TableId(value = "编号", type = IdType.INPUT)
private String bh;
/**
* 调课申请编号
*/
@TableField("调课申请编号")
private String dksqbh;
/**
* 辅助教员编号
*/
@TableField("辅助教员编号")
private String fzjybh;
/**
* 查收状态
*/
@TableField("查收状态")
private Integer cszt;
/**
* 查收时间
*/
@TableField("查收时间")
private LocalDateTime cssj;
/**
* 主教员
*/
@TableField("主教员")
private Integer zjy;
/**
* 移除状态
*/
@TableField("移除状态")
private Integer yczt;
/**
* 年度
*/
@TableField("年度")
private Integer nd;
/**
* 备注
*/
@TableField("备注")
private String bz;
/**
* 日期
*/
@TableField("日期")
private LocalDateTime rq;
/**
* 节次
*/
@TableField("节次")
private Integer jc;
@TableField(exist = false)
private LocalDateTime createTime;
@TableField(exist = false)
private LocalDateTime updateTime;
@TableField(exist = false)
private String createBy;
@TableField(exist = false)
private String updateBy;
@TableField(exist = false)
private Integer delFlag;
}
@@ -1,8 +1,9 @@
package com.roomroot.jwgl.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.roomroot.jwgl.unit.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -17,40 +18,39 @@ import java.time.LocalDateTime;
@TableName("调课申请_教室")
public class DKSQJS extends BaseEntity {
/**
* 编号
*/
@TableId(value = "编号", type = IdType.INPUT)
private String bh;
/**
* 调课申请编号
*/
@TableField("调课申请编号")
private String dksqbh;
/**
* 教室编号
*/
@TableField("教室编号")
private String jsbh;
/**
* 备注
*/
@TableField("备注")
private String bz;
/**
* 年度
*/
@TableField("年度")
private Integer nd;
/**
* 日期
*/
@TableField("日期")
private LocalDateTime rq;
/**
* 节次
*/
@TableField("节次")
private Integer jc;
@TableField(exist = false)
private LocalDateTime createTime;
@TableField(exist = false)
private LocalDateTime updateTime;
@TableField(exist = false)
private String createBy;
@TableField(exist = false)
private String updateBy;
@TableField(exist = false)
private Integer delFlag;
}
@@ -1,8 +1,9 @@
package com.roomroot.jwgl.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.roomroot.jwgl.unit.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -17,50 +18,45 @@ import java.time.LocalDateTime;
@TableName("调课申请_学员队")
public class DKSQXYD extends BaseEntity {
/**
* 编号
*/
@TableId(value = "编号", type = IdType.INPUT)
private String bh;
/**
* 调课申请编号
*/
@TableField("调课申请编号")
private String dksqbh;
/**
* 学员队编号
*/
@TableField("学员队编号")
private String xydbh;
/**
* 查收状态
*/
@TableField("查收状态")
private Integer cszt;
/**
* 查收时间
*/
@TableField("查收时间")
private LocalDateTime cssj;
/**
* 移除状态
*/
@TableField("移除状态")
private Integer yczt;
/**
* 年度
*/
@TableField("年度")
private Integer nd;
/**
* 日期
*/
@TableField("日期")
private LocalDateTime rq;
/**
* 节次
*/
@TableField("节次")
private Integer jc;
@TableField(exist = false)
private LocalDateTime createTime;
@TableField(exist = false)
private LocalDateTime updateTime;
@TableField(exist = false)
private String createBy;
@TableField(exist = false)
private String updateBy;
@TableField(exist = false)
private Integer delFlag;
}
@@ -57,16 +57,6 @@ public class SSDKSQ extends BaseEntity {
@TableField("教研室批准人编号")
private String jyspzrbh;
/** 原表无此列 */
@TableField(exist = false)
private Integer jxxspzzt;
@TableField(exist = false)
private LocalDateTime jxxspzsj;
@TableField(exist = false)
private String jxxspzrbh;
@TableField("备注")
private String bz;
@@ -1,81 +0,0 @@
package com.roomroot.jwgl.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.roomroot.jwgl.unit.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;
/**
* 实施_调课申请审批
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("实施_调课申请审批")
public class SSDKSQSP extends BaseEntity {
/**
* 编号
*/
@TableId(value = "编号", type = IdType.INPUT)
private String bh;
/**
* 实施_调课申请编号
*/
private String ssdksqbh;
/**
* 机关编号
*/
private String jgbh;
/**
* 创建时间
*/
private LocalDateTime cjsj;
/**
* 审批时间
*/
private LocalDateTime spsj;
/**
* 审批状态
*/
private Integer spzt;
/**
* 审批人编号
*/
private String sprbh;
/**
* 查收状态
*/
private Integer cszt;
/**
* 查收时间
*/
private LocalDateTime cssj;
/**
* 查收人编号
*/
private String csrbh;
/**
* 发回意见
*/
private String fhyj;
/**
* 年度
*/
private Integer nd;
}
@@ -5,7 +5,9 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.roomroot.jwgl.handler.DmGuidTypeHandler;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;
import java.time.LocalDateTime;
@@ -13,13 +15,14 @@ import java.time.LocalDateTime;
* 实施_课程
*/
@Data
@TableName(value = "实施_课程")
@TableName(value = "实施_课程", autoResultMap = true)
public class SSKC {
/**
* 编号
* 编号(库内 VARBINARY(16),Java 侧按 36 位 UUID 字符串使用)
*/
@TableId(value = "编号", type = IdType.INPUT)
@TableField(value = "编号", jdbcType = JdbcType.VARBINARY, typeHandler = DmGuidTypeHandler.class)
private String bh;
/**
@@ -1,74 +0,0 @@
package com.roomroot.jwgl.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 实施_调课策略
* <p>
* 管理调课的时间段限制策略与免审批策略。
* 策略类型为 TIME_LIMIT 时,用于限制教员在规定时间后不得调整下周课程;
* 策略类型为 AUTO_APPROVE 时,用于在生效范围内自动通过调课申请,跳过三级审批。
* </p>
*/
@Data
@TableName("实施_调课策略")
public class ScheduleAdjustStrategy {
/** 策略编号 */
@TableId(value = "策略编号", type = IdType.INPUT)
private String clbh;
/** 策略名称 */
@TableField("策略名称")
private String clmc;
/**
* 策略类型:TIME_LIMIT=时间段限制,AUTO_APPROVE=免审批
*/
@TableField("策略类型")
private String cllx;
/** 是否启用:0=停用,1=启用 */
@TableField("是否启用")
private Integer sfqy;
/**
* 截止星期:0-6(周日到周六),仅 TIME_LIMIT 类型使用。
* 含义:当前时间超过该星期时,不允许调整下周课程。为空表示不限制星期。
*/
@TableField("截止星期")
private Integer jzxq;
/**
* 截止节次:仅 TIME_LIMIT 类型使用。
* 含义:到达截止星期当天的该节次后不允许调整下周课程。为空表示不限制节次。
*/
@TableField("截止节次")
private Integer jzjc;
/** 生效开始时间(包含),为空表示不限制开始时间 */
@TableField("生效开始时间")
private LocalDateTime sxkssj;
/** 生效结束时间(包含),为空表示不限制结束时间 */
@TableField("生效结束时间")
private LocalDateTime sxjssj;
/** 备注 */
@TableField("备注")
private String bz;
/** 创建时间 */
@TableField("创建时间")
private LocalDateTime cjsj;
/** 更新时间 */
@TableField("更新时间")
private LocalDateTime gxsj;
}