|
|
|
@ -110,6 +110,15 @@ |
|
|
|
<if test="params.referenceNo != null and params.referenceNo != ''"> |
|
|
|
and a.reference_no like #{params.referenceNo} |
|
|
|
</if> |
|
|
|
<if test="params.status != null and params.status != ''"> |
|
|
|
and a.status = #{params.status} |
|
|
|
</if> |
|
|
|
<if test="params.nodeId != null and params.nodeId != ''"> |
|
|
|
and d.node_id = #{params.nodeId} |
|
|
|
</if> |
|
|
|
<if test="params.currentApprover != null and params.currentApprover != ''"> |
|
|
|
and dbo.get_plm_Approval_username(a.site, prh.workflow_id, d.node_id, a.reference_no) like #{params.currentApprover} |
|
|
|
</if> |
|
|
|
<if test="params.applicant != null and params.applicant != ''"> |
|
|
|
and a.applicant like #{params.applicant} |
|
|
|
</if> |
|
|
|
|