|
|
@ -19,7 +19,7 @@ |
|
|
<result column="ktGroupName" jdbcType="BIGINT" property="ktGroupName" /> |
|
|
<result column="ktGroupName" jdbcType="BIGINT" property="ktGroupName" /> |
|
|
<result column="description" jdbcType="LONGVARCHAR" property="description" /> |
|
|
<result column="description" jdbcType="LONGVARCHAR" property="description" /> |
|
|
<result column="deliverables" jdbcType="LONGVARCHAR" property="deliverables" /> |
|
|
<result column="deliverables" jdbcType="LONGVARCHAR" property="deliverables" /> |
|
|
<collection property="deliverableList" select="queryDeliverableList" |
|
|
<collection property="deliverableShouldList" select="queryDeliverableList" |
|
|
ofType="com.research.system.domain.vo.TaskVo$DeliverableResult" |
|
|
ofType="com.research.system.domain.vo.TaskVo$DeliverableResult" |
|
|
column="id"> |
|
|
column="id"> |
|
|
</collection> |
|
|
</collection> |
|
|
@ -37,6 +37,8 @@ |
|
|
task_list t |
|
|
task_list t |
|
|
left join |
|
|
left join |
|
|
kts_kt_group g on g.id = t.kt_group_id |
|
|
kts_kt_group g on g.id = t.kt_group_id |
|
|
|
|
|
left join |
|
|
|
|
|
task_executor e on e.task_id = t.id |
|
|
where |
|
|
where |
|
|
t.del_flag = 0 |
|
|
t.del_flag = 0 |
|
|
<if test="dto.taskName != null and dto.taskName != ''"> |
|
|
<if test="dto.taskName != null and dto.taskName != ''"> |
|
|
@ -57,8 +59,10 @@ |
|
|
</if> |
|
|
</if> |
|
|
</if> |
|
|
</if> |
|
|
<if test="dto.isMine != null and dto.isMine == 1"> |
|
|
<if test="dto.isMine != null and dto.isMine == 1"> |
|
|
and t.create_by = #{dto.userName} |
|
|
and (t.create_by = #{dto.userName} |
|
|
|
|
|
or e.id is not null ) |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
group by t.id |
|
|
order by |
|
|
order by |
|
|
t.id desc |
|
|
t.id desc |
|
|
</select> |
|
|
</select> |
|
|
|