|
@@ -66,22 +66,6 @@
|
|
|
|
|
|
|
|
<select id="selectPageData" resultType="com.xunmei.common.core.domain.edu.vo.CoreEduTrainingTaskPageVo"
|
|
<select id="selectPageData" resultType="com.xunmei.common.core.domain.edu.vo.CoreEduTrainingTaskPageVo"
|
|
|
parameterType="com.xunmei.common.core.domain.edu.dto.CoreEduTrainingTaskPageDto">
|
|
parameterType="com.xunmei.common.core.domain.edu.dto.CoreEduTrainingTaskPageDto">
|
|
|
- <!-- <include refid="selectCoreEduTrainingTaskVo"/>-->
|
|
|
|
|
- <!-- <where>-->
|
|
|
|
|
- <!-- <if test="request.title != null and request.title != ''">-->
|
|
|
|
|
- <!-- and title like concat('%', #{request.title}, '%')-->
|
|
|
|
|
- <!-- </if>-->
|
|
|
|
|
- <!-- <if test="request.type != null ">-->
|
|
|
|
|
- <!-- and type = #{request.type}-->
|
|
|
|
|
- <!-- </if>-->
|
|
|
|
|
- <!-- <if test="request.status != null ">-->
|
|
|
|
|
- <!-- and status = #{request.status}-->
|
|
|
|
|
- <!-- </if>-->
|
|
|
|
|
- <!-- <if test="request.range != null ">-->
|
|
|
|
|
- <!-- and start_date >= #{request.range[0]}-->
|
|
|
|
|
- <!-- and end_date <![CDATA[ <= ]]> #{request.range[1]}-->
|
|
|
|
|
- <!-- </if>-->
|
|
|
|
|
- <!-- </where>-->
|
|
|
|
|
select t.id, plan_id, t.org_id, t.org_name, title, type, status, host_id,u.name as hostName,
|
|
select t.id, plan_id, t.org_id, t.org_name, title, type, status, host_id,u.name as hostName,
|
|
|
start_date, end_date, t.training_start_date_time,t.training_end_date_time, t.pdf_url as pdfUrl
|
|
start_date, end_date, t.training_start_date_time,t.training_end_date_time, t.pdf_url as pdfUrl
|
|
|
from core_edu_training_task t left join sys_user u on t.host_id=u.id
|
|
from core_edu_training_task t left join sys_user u on t.host_id=u.id
|
|
@@ -110,6 +94,7 @@
|
|
|
and t.end_date <![CDATA[<=]]> #{request.endTime}
|
|
and t.end_date <![CDATA[<=]]> #{request.endTime}
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
|
|
+ order by t.update_time desc
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectEduTrainingTaskDetail"
|
|
<select id="selectEduTrainingTaskDetail"
|