|
|
@@ -196,13 +196,12 @@
|
|
|
|
|
|
<select id="selectRecPage" resultType="com.xunmei.common.core.domain.drill.vo.CoreDrillTaskRecPageVo">
|
|
|
select * from core_drill_task t
|
|
|
- <where>
|
|
|
- <if test="request.recStatus!=null">
|
|
|
- t.rec_status =#{request.recStatus}
|
|
|
- </if>
|
|
|
- and t.org_path like concat(#{request.orgPath},'%')
|
|
|
- <include refid="timeRangeSql"/>
|
|
|
- </where>
|
|
|
+ where t.rec_status is not null
|
|
|
+ <if test="request.recStatus!=null">
|
|
|
+ and t.rec_status =#{request.recStatus}
|
|
|
+ </if>
|
|
|
+ and t.org_path like concat(#{request.orgPath},'%')
|
|
|
+ <include refid="timeRangeSql"/>
|
|
|
</select>
|
|
|
<sql id="recTaskListPage">
|
|
|
<if test="request.orgPath !=null and request.orgPath != ''">
|