|
@@ -12,6 +12,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="createTime" column="create_time"/>
|
|
<result property="createTime" column="create_time"/>
|
|
<result property="updateTime" column="update_time"/>
|
|
<result property="updateTime" column="update_time"/>
|
|
<result property="subjectName" column="subject_name"/>
|
|
<result property="subjectName" column="subject_name"/>
|
|
|
|
+ <result property="sort" column="sort"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.course.vo.CourseProjectTypeVo" id="CourseProjectTypeVoResult">
|
|
<resultMap type="com.zhongzheng.modules.course.vo.CourseProjectTypeVo" id="CourseProjectTypeVoResult">
|
|
@@ -30,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="remark" column="remark"/>
|
|
<result property="remark" column="remark"/>
|
|
<result property="status" column="status"/>
|
|
<result property="status" column="status"/>
|
|
<result property="subjectName" column="subject_name"/>
|
|
<result property="subjectName" column="subject_name"/>
|
|
|
|
+ <result property="sort" column="sort"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.course.vo.CourseProjectTypeVo" id="CourseProjectTypeVoTwoResult">
|
|
<resultMap type="com.zhongzheng.modules.course.vo.CourseProjectTypeVo" id="CourseProjectTypeVoTwoResult">
|
|
@@ -93,7 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="id != null and id!='' ">
|
|
<if test="id != null and id!='' ">
|
|
and s.id = #{id}
|
|
and s.id = #{id}
|
|
</if>
|
|
</if>
|
|
- order by s.update_time desc
|
|
|
|
|
|
+ order by s.sort
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="queryProject" parameterType="map" resultMap="CourseProjectTypeVoResult">
|
|
<select id="queryProject" parameterType="map" resultMap="CourseProjectTypeVoResult">
|