he2802 3 年之前
父节点
当前提交
d1887ca1e5

+ 4 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionServiceImpl.java

@@ -1054,6 +1054,10 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
                         qContent = qContent +   content +"<br />";
                     }
                     //第一个选项
+                    System.out.println(content);
+                    System.out.println(content.length());
+                    System.out.println("FFF");
+                    System.out.println(content.startsWith("A."));
                     if(content.startsWith("A.")||(nowPart==1&&!isLineStart(content))) {
                         if (Validator.isEmpty(qContent)) {
                             errorLog += "第" + index + "条题目内容空白\n";

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/user/vo/SectionStudyRecordVo.java

@@ -79,4 +79,7 @@ public class SectionStudyRecordVo {
     private Long gradeId;
     @ApiModelProperty("订单商品ID")
     private Long orderGoodsId;
+    /** 节类型 1录播 2直播 3回放 */
+    @ApiModelProperty("节类型 1录播 2直播 3回放")
+    private Integer sectionType;
 }

+ 2 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserStudyRecordMapper.xml

@@ -61,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="moduleName" column="module_name"/>
         <result property="chapterName" column="chapter_name"/>
         <result property="sectionName" column="section_name"/>
+        <result property="sectionType" column="section_type"/>
         <result property="durationTime" column="duration_time"/>
         <result property="startTime" column="start_time"/>
         <result property="endTime" column="end_time"/>
@@ -1192,6 +1193,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             cs.`name` as section_name,
             cs.cover_url,
             cs.duration_time,
+            cs.section_type,
             r.*,
             g.goods_name,
             cgu.order_goods_id