Browse Source

update db

deason 1 year ago
parent
commit
953ef13076

+ 1 - 1
install/mysql/init/exam_reserve_db.sql

@@ -149,7 +149,7 @@ create table t_student_apply
     cancel         bit(1) not null comment '是否取消预约',
     ticket_number  varchar(50) comment '准考证号',
     seat_number    varchar(20) comment '座位号',
-    user_id        bigint null comment '后台操作人员ID',
+    operate_id     bigint comment '操作人ID',
     PRIMARY KEY (id)
 ) comment '考生预约记录表';
 

+ 2 - 3
src/main/java/com/qmth/exam/reserve/entity/StudentApplyEntity.java

@@ -2,7 +2,6 @@ package com.qmth.exam.reserve.entity;
 
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.qmth.exam.reserve.entity.base.BaseEntity;
-
 import lombok.Getter;
 import lombok.Setter;
 
@@ -49,8 +48,8 @@ public class StudentApplyEntity extends BaseEntity {
     private String seatNumber;
 
     /**
-     * 后台操作人ID
+     * 操作人ID
      */
-    private Long userId;
+    private Long operateId;
 
 }