|
|
@ -191,7 +191,7 @@ |
|
|
|
LEFT JOIN HZ_ST_EX_TASK_USER b on t.ID=b.TASK_ID and b.IS_DELETED=0 |
|
|
|
LEFT JOIN HZ_ST_EX_TASK_USER b on t.ID=b.TASK_ID and b.IS_DELETED=0 |
|
|
|
where t.IS_DELETED=0 |
|
|
|
where t.IS_DELETED=0 |
|
|
|
<if test="task.userId != null "> |
|
|
|
<if test="task.userId != null "> |
|
|
|
and u.USER_ID=#{task.userId} |
|
|
|
and b.USER_ID=#{task.userId} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<include refid="getTaskListSql"></include> |
|
|
|
<include refid="getTaskListSql"></include> |
|
|
|
GROUP BY t.id |
|
|
|
GROUP BY t.id |
|
|
@ -209,7 +209,7 @@ |
|
|
|
LEFT JOIN HZ_ST_EX_TASK_USER b on t.ID=b.TASK_ID and b.IS_DELETED=0 |
|
|
|
LEFT JOIN HZ_ST_EX_TASK_USER b on t.ID=b.TASK_ID and b.IS_DELETED=0 |
|
|
|
where t.IS_DELETED=0 |
|
|
|
where t.IS_DELETED=0 |
|
|
|
<if test="task.userId != null "> |
|
|
|
<if test="task.userId != null "> |
|
|
|
and u.USER_ID=#{task.userId} |
|
|
|
and b.USER_ID=#{task.userId} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<include refid="getTaskListSql"></include> |
|
|
|
<include refid="getTaskListSql"></include> |
|
|
|
GROUP BY t.id |
|
|
|
GROUP BY t.id |
|
|
|