|
|
@@ -265,8 +265,9 @@
|
|
|
</update>
|
|
|
|
|
|
<select id="selectCurUserTaskList" 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
|
|
|
+ select distinct t.id as id, title as taskName,t.start_date startTime,t.end_date as endTime,t.status,concat_ws('-',o.affiliated_area,o.affiliated_bank,o.short_name) as orgName
|
|
|
from core_drill_task t <!--inner join core_drill_task_to_role tr on t.id=tr.drill_task_id-->
|
|
|
+ inner join sys_org o on o.id=t.org_id
|
|
|
where t.org_id =#{request.orgId} <!--and tr.role_id in
|
|
|
<foreach collection="request.roleIdList" item="roleId" open="(" separator="," close=")">
|
|
|
#{roleId}
|
|
|
@@ -313,7 +314,7 @@
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectWaitEvaluateTaskList" 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
|
|
|
+ select distinct t.id as id, title as taskName,t.start_date startTime,t.end_date as endTime,t.status,concat_ws('-',o.affiliated_area,o.affiliated_bank,o.short_name) as orgName
|
|
|
from core_drill_task t inner join sys_org o on t.org_id=o.id
|
|
|
where t.status =2
|
|
|
and t.org_path like concat(#{request.orgPath},'%')
|
|
|
@@ -337,8 +338,8 @@
|
|
|
</update>
|
|
|
|
|
|
<select id="selectWaitRecTaskList" 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,t.rec_status
|
|
|
- from core_drill_task t
|
|
|
+ select distinct t.id as id, title as taskName,t.start_date startTime,t.end_date as endTime,t.status,t.rec_status,concat_ws('-',o.affiliated_area,o.affiliated_bank,o.short_name) as orgName
|
|
|
+ from core_drill_task t inner join sys_org o on o.id=t.org_id
|
|
|
where t.org_path like concat(#{request.orgPath},'%')
|
|
|
<include refid="timeRangeSql"/>
|
|
|
<if test="request.orgType==3">
|
|
|
@@ -355,8 +356,8 @@
|
|
|
|
|
|
<!-- 省联社查询地区评优推优待办-->
|
|
|
<select id="selectSpecialWaitRecTaskList" 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,t.rec_status
|
|
|
- from core_drill_task t
|
|
|
+ select distinct t.id as id, title as taskName,t.start_date startTime,t.end_date as endTime,t.status,t.rec_status,concat_ws('-',o.affiliated_area,o.affiliated_bank,o.short_name) as orgName
|
|
|
+ from core_drill_task t inner join sys_org o on o.id=t.org_id
|
|
|
where t.org_path like concat(#{request.orgPath},'%')
|
|
|
<include refid="timeRangeSql"/>
|
|
|
<!-- <if test="request.orgType==3">-->
|