Commit b4a00a8b authored by luzhuang's avatar luzhuang

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

parents 469b7946 c3b8cea4
...@@ -93,4 +93,4 @@ public interface BCourseRepository extends BaseMapper<BCourse> { ...@@ -93,4 +93,4 @@ public interface BCourseRepository extends BaseMapper<BCourse> {
"</foreach>" + "</foreach>" +
"</script>") "</script>")
int sortCourser(@Param("map") List<BCourse> map); int sortCourser(@Param("map") List<BCourse> map);
} }
\ No newline at end of file
...@@ -20,4 +20,13 @@ public class QueryCourseResDTO { ...@@ -20,4 +20,13 @@ public class QueryCourseResDTO {
@ApiModelProperty(value = "子章节") @ApiModelProperty(value = "子章节")
private List<BCourse> children; private List<BCourse> children;
@ApiModelProperty(value = "序号")
private int sort;
@ApiModelProperty(value = "序号")
private String pid;
@ApiModelProperty(value = "等级")
private String courseLevel;
} }
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
<resultMap id="BaseResultMapDTO" type="org.rcisoft.business.bcourse.dto.QueryCourseResDTO"> <resultMap id="BaseResultMapDTO" type="org.rcisoft.business.bcourse.dto.QueryCourseResDTO">
<id column="business_id" jdbcType="VARCHAR" property="key"/> <id column="business_id" jdbcType="VARCHAR" property="key"/>
<result column="c_name" jdbcType="VARCHAR" property="title"/> <result column="c_name" jdbcType="VARCHAR" property="title"/>
<result column="sort" jdbcType="VARCHAR" property="sort"/>
<result column="pid" jdbcType="VARCHAR" property="pid"/>
<result column="course_level" jdbcType="VARCHAR" property="courseLevel"/>
</resultMap> </resultMap>
<resultMap id="ChildListResultMap" type="org.rcisoft.business.bcourse.dto.QueryCourseResDTO" extends="BaseResultMapDTO"> <resultMap id="ChildListResultMap" type="org.rcisoft.business.bcourse.dto.QueryCourseResDTO" extends="BaseResultMapDTO">
......
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