|
@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="getMyTaskList" resultMap="ProjectDecisionVoResult">
|
|
<select id="getMyTaskList" resultMap="ProjectDecisionVoResult">
|
|
|
select a.id,a.proc_inst_id, a.project_pool_id,tp.project_name, tp.industry,tp.project_stage,
|
|
select a.id,a.proc_inst_id, a.project_pool_id,tp.project_name, tp.industry,tp.project_stage,
|
|
|
tp.project_state,tp.invest_head, a.participants_id,a.participants,
|
|
tp.project_state,tp.invest_head, a.participants_id,a.participants,
|
|
|
- a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,
|
|
|
|
|
|
|
+ a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,a.status,
|
|
|
p.PROC_INST_ID_ as 'procInsId',
|
|
p.PROC_INST_ID_ as 'procInsId',
|
|
|
p.PROC_DEF_ID_ as 'procDefId',
|
|
p.PROC_DEF_ID_ as 'procDefId',
|
|
|
date_format(p.START_TIME_, '%Y-%m-%d %H:%i:%s') as 'applyTime',
|
|
date_format(p.START_TIME_, '%Y-%m-%d %H:%i:%s') as 'applyTime',
|
|
@@ -102,11 +102,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
)
|
|
)
|
|
|
and a.del_flag="0"
|
|
and a.del_flag="0"
|
|
|
<include refid="where_sql"></include>
|
|
<include refid="where_sql"></include>
|
|
|
|
|
+ order by a.create_time desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="getMyDoneTaskList" resultMap="ProjectDecisionVoResult">
|
|
<select id="getMyDoneTaskList" resultMap="ProjectDecisionVoResult">
|
|
|
select a.id,a.proc_inst_id, a.project_pool_id,tp.project_name, tp.industry,tp.project_stage,
|
|
select a.id,a.proc_inst_id, a.project_pool_id,tp.project_name, tp.industry,tp.project_stage,
|
|
|
tp.project_state,tp.invest_head,a.participants_id,a.participants,
|
|
tp.project_state,tp.invest_head,a.participants_id,a.participants,
|
|
|
- a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,
|
|
|
|
|
|
|
+ a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,a.status,
|
|
|
p.PROC_INST_ID_ as 'procInsId',
|
|
p.PROC_INST_ID_ as 'procInsId',
|
|
|
p.PROC_DEF_ID_ as 'procDefId',
|
|
p.PROC_DEF_ID_ as 'procDefId',
|
|
|
date_format(p.START_TIME_, '%Y-%m-%d %H:%i:%s') as 'applyTime',
|
|
date_format(p.START_TIME_, '%Y-%m-%d %H:%i:%s') as 'applyTime',
|
|
@@ -134,12 +135,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and a.del_flag="0"
|
|
and a.del_flag="0"
|
|
|
<include refid="where_sql"></include>
|
|
<include refid="where_sql"></include>
|
|
|
GROUP BY a.id
|
|
GROUP BY a.id
|
|
|
- ORDER BY ht.END_TIME_ DESC;
|
|
|
|
|
|
|
+ order by a.create_time desc
|
|
|
</select>
|
|
</select>
|
|
|
<select id="getMyList" resultMap="ProjectDecisionVoResult">
|
|
<select id="getMyList" resultMap="ProjectDecisionVoResult">
|
|
|
select a.id,a.proc_inst_id, a.project_pool_id,tp.project_name, tp.industry,tp.project_stage,
|
|
select a.id,a.proc_inst_id, a.project_pool_id,tp.project_name, tp.industry,tp.project_stage,
|
|
|
tp.project_state,tp.invest_head, a.participants_id, a.participants,
|
|
tp.project_state,tp.invest_head, a.participants_id, a.participants,
|
|
|
- a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,
|
|
|
|
|
|
|
+ a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,a.status,
|
|
|
u.nick_name as 'applyUserName',
|
|
u.nick_name as 'applyUserName',
|
|
|
p.PROC_INST_ID_ as 'procInsId',
|
|
p.PROC_INST_ID_ as 'procInsId',
|
|
|
p.PROC_DEF_ID_ as 'procDefId',
|
|
p.PROC_DEF_ID_ as 'procDefId',
|
|
@@ -171,6 +172,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and a.del_flag="0"
|
|
and a.del_flag="0"
|
|
|
<include refid="where_sql"></include>
|
|
<include refid="where_sql"></include>
|
|
|
GROUP BY a.id
|
|
GROUP BY a.id
|
|
|
|
|
+ order by a.create_time desc
|
|
|
</select>
|
|
</select>
|
|
|
<!--<select id="selectTProjectPoolById" parameterType="String" resultMap="TProjectPoolResult">
|
|
<!--<select id="selectTProjectPoolById" parameterType="String" resultMap="TProjectPoolResult">
|
|
|
<include refid="selectTProjectPoolVo"/>
|
|
<include refid="selectTProjectPoolVo"/>
|
|
@@ -178,7 +180,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>-->
|
|
</select>-->
|
|
|
<select id="selectTProjectDecisionByProcInstId" parameterType="java.lang.String" resultMap="TProjectDecisionResult">
|
|
<select id="selectTProjectDecisionByProcInstId" parameterType="java.lang.String" resultMap="TProjectDecisionResult">
|
|
|
select a.id,a.proc_inst_id, a.project_pool_id, a.participants_id,a.participants,
|
|
select a.id,a.proc_inst_id, a.project_pool_id, a.participants_id,a.participants,
|
|
|
- a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,
|
|
|
|
|
|
|
+ a.provision, a.remark, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time ,a.need_meeting,
|
|
|
t.TASK_DEF_KEY_ as 'taskDefKey'
|
|
t.TASK_DEF_KEY_ as 'taskDefKey'
|
|
|
from t_project_decision a
|
|
from t_project_decision a
|
|
|
left join ACT_RU_TASK t on a.proc_inst_id = t.PROC_INST_ID_
|
|
left join ACT_RU_TASK t on a.proc_inst_id = t.PROC_INST_ID_
|