Commit 24f34c1e authored by 王淑君's avatar 王淑君

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

parents a822263d d0eae3c8
...@@ -33,10 +33,10 @@ public interface BMaterialRepository extends BaseMapper<BMaterial> { ...@@ -33,10 +33,10 @@ public interface BMaterialRepository extends BaseMapper<BMaterial> {
@Insert("<script>insert into b_material " + @Insert("<script>insert into b_material " +
" (business_id,chapter_id,file_name,file_url, " + " (business_id,chapter_id,file_name,file_url, " +
" type,upload_type,file_size,flag,del_flag, " + " type,upload_type,file_size,flag,del_flag, " +
" remarks,create_by,update_by,update_date,create_date) " + " remarks,create_by,update_by,update_date,create_date,file_time) " +
" values(#{businessId},#{chapterId},#{fileName},#{fileUrl}, " + " values(#{businessId},#{chapterId},#{fileName},#{fileUrl}, " +
" #{type},#{uploadType},#{fileSize},#{flag},#{delFlag}, " + " #{type},#{uploadType},#{fileSize},#{flag},#{delFlag}, " +
" #{remarks},#{createBy},#{updateBy},#{updateDate},#{createDate}) " + " #{remarks},#{createBy},#{updateBy},#{updateDate},#{createDate},#{fileTime}) " +
"</script>") "</script>")
int insertMaterial(BMaterial bMaterial); int insertMaterial(BMaterial bMaterial);
......
...@@ -38,6 +38,9 @@ public class BMaterial extends IdEntity<BMaterial> { ...@@ -38,6 +38,9 @@ public class BMaterial extends IdEntity<BMaterial> {
@ApiModelProperty(value = "课程id",required = true) @ApiModelProperty(value = "课程id",required = true)
private String lessonId; private String lessonId;
@ApiModelProperty(value = "文件时长")
private String fileTime;
@Transient @Transient
private String lessonName; private String lessonName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment