|
|
@@ -267,6 +267,20 @@
|
|
|
<include refid="timeRangeSql"/>
|
|
|
order by field(t.status,5,0,1,2,3,4),t.end_date desc
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="selectUserAllDrillSignList" resultType="com.xunmei.common.core.domain.panel.vo.PanelListVo">
|
|
|
+ select distinct t.id as id, title as taskName,t.start_date startTime,t.end_date as endTime,t.status
|
|
|
+ from core_drill_task t
|
|
|
+ inner join core_drill_task_to_user u ON t.id=u.drill_task_id
|
|
|
+ where u.type=1 and u.sign=0 and u.user_id=#{request.userId}
|
|
|
+ and t.status in
|
|
|
+ <foreach collection="list" item="status" open="(" separator="," close=")">
|
|
|
+ #{status}
|
|
|
+ </foreach>
|
|
|
+ <include refid="timeRangeSql"/>
|
|
|
+ order by field(t.status,5,0,1,2,3,4),t.end_date desc
|
|
|
+ </select>
|
|
|
+
|
|
|
<sql id="timeRangeSql">
|
|
|
<if test="request.startTime != null and request.endTime != null">
|
|
|
and (
|