|
|
@ -39,6 +39,9 @@ |
|
|
left join users u2 on td.site = u2.site and u2.userId = tl.task_initiator |
|
|
left join users u2 on td.site = u2.site and u2.userId = tl.task_initiator |
|
|
<where> |
|
|
<where> |
|
|
td.site = #{site} |
|
|
td.site = #{site} |
|
|
|
|
|
<if test="taskInitiator != null and taskInitiator != ''"> |
|
|
|
|
|
and tl.created_by like #{taskInitiator} |
|
|
|
|
|
</if> |
|
|
<if test="department != null and department != ''"> |
|
|
<if test="department != null and department != ''"> |
|
|
and td.department like #{department} |
|
|
and td.department like #{department} |
|
|
</if> |
|
|
</if> |
|
|
|