|
|
|
@ -107,7 +107,7 @@ |
|
|
|
, td.task_id |
|
|
|
, dbo.Get_chat_LastType(td.site,td.id,td.created_by) chatLastType |
|
|
|
,tl.AllowCloseByHand,tl.OrderRef1,tl.OrderRef2, |
|
|
|
tl.OrderRef3,tl.OrderRefType,tl.OrderRef4 |
|
|
|
tl.OrderRef3,tl.OrderRefType,tl.OrderRef4,tl.taskType,tl.oldSpec,tl.newSpec |
|
|
|
from task_detail td |
|
|
|
left join task_list tl on td.task_id = tl.id AND td.site = tl.site |
|
|
|
left join users u on td.site = u.site and u.userId = td.responsible_person |
|
|
|
@ -127,6 +127,15 @@ |
|
|
|
</if> |
|
|
|
<if test="customer != null and customer != ''"> |
|
|
|
and tl.customer like #{customer} |
|
|
|
</if> |
|
|
|
<if test="taskType != null and taskType != ''"> |
|
|
|
and tl.taskType like #{taskType} |
|
|
|
</if> |
|
|
|
<if test="oldSpec != null and oldSpec != ''"> |
|
|
|
and tl.oldSpec like #{oldSpec} |
|
|
|
</if> |
|
|
|
<if test="newSpec != null and newSpec != ''"> |
|
|
|
and tl.newSpec like #{newSpec} |
|
|
|
</if> |
|
|
|
<if test="project != null and project != ''"> |
|
|
|
and tl.project like #{project} |
|
|
|
|