Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/dev' into dev

dzx 7 mesi fa
parent
commit
117b2051d8

+ 5 - 0
src/main/java/com/xjrsoft/module/teacher/vo/ClassInternshipDynamicVo.java

@@ -24,6 +24,11 @@ public class ClassInternshipDynamicVo {
     */
     @ApiModelProperty("主键编号")
     private Long id;
+    /**
+     * 创建时间
+     */
+    @ApiModelProperty("创建时间")
+    private LocalDateTime createDate;
     /**
     * 发布人id
     */

+ 4 - 4
src/main/resources/sqlScript/20250427_sql.sql

@@ -15,9 +15,9 @@ CREATE TABLE `class_homework`
 
     teacher_id             bigint        not null comment '教师id',
     base_course_subject_id bigint        not null comment '课程学科id',
-    title                  varchar(200)  not null comment '作业主题',
+    title                  varchar(64)  not null comment '作业主题',
     completion_deadline    date          not null comment '完成截止时间',
-    content                varchar(1000) not null comment '内容',
+    content                longtext not null comment '内容',
     folder_id              bigint        null comment '附件'
 ) ENGINE = INNODB
   DEFAULT CHARSET = utf8mb4
@@ -81,9 +81,9 @@ CREATE TABLE `class_internship_dynamic`
     enabled_mark   int           not null comment '有效标志',
 
     publisher_id   bigint        not null comment '发布人id',
-    title          varchar(200)  not null comment '实习主题',
+    title          varchar(64)  not null comment '实习主题',
     role_type      int           null comment '发送范围(1:学生、2:家长、3:学生和家长)',
-    content        varchar(1000) not null comment '内容',
+    content        longtext not null comment '内容',
     folder_id      bigint        null comment '附件'
 ) ENGINE = INNODB
   DEFAULT CHARSET = utf8mb4