|
@@ -13,6 +13,7 @@
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
<result property="fromType" column="from_type"/>
|
|
|
<result property="orderGoodsId" column="order_goods_id"/>
|
|
|
+ <result property="periodWaitTime" column="period_wait_time"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.grade.vo.ClassGradeUserVo" id="ClassGradeUserVoResult">
|
|
@@ -245,7 +246,12 @@
|
|
|
<if test="periodStatus != null ">
|
|
|
and cgu.period_status = #{periodStatus}
|
|
|
</if>
|
|
|
- order by cgu.update_time desc
|
|
|
+ <if test="periodStatus == 2 ">
|
|
|
+ order by cgu.period_wait_time,cgu.update_time desc
|
|
|
+ </if>
|
|
|
+ <if test="periodStatus != 2 ">
|
|
|
+ order by cgu.update_time desc
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<select id="listPeriod" parameterType="com.zhongzheng.modules.grade.bo.ClassGradeUserQueryBo"
|