|
|
@ -157,6 +157,9 @@ |
|
|
<if test="params.rohsStatus != null and params.rohsStatus != ''"> |
|
|
<if test="params.rohsStatus != null and params.rohsStatus != ''"> |
|
|
and a.rohs_status = #{params.rohsStatus} |
|
|
and a.rohs_status = #{params.rohsStatus} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="params.isExpiring != null and params.isExpiring != ''"> |
|
|
|
|
|
and isnull(a.is_expiring, 'N') = #{params.isExpiring} |
|
|
|
|
|
</if> |
|
|
<if test="params.nodeId != null and params.nodeId != ''"> |
|
|
<if test="params.nodeId != null and params.nodeId != ''"> |
|
|
and d.node_id = #{params.nodeId} |
|
|
and d.node_id = #{params.nodeId} |
|
|
</if> |
|
|
</if> |
|
|
@ -213,6 +216,9 @@ |
|
|
<if test="params.rohsStatus != null and params.rohsStatus != ''"> |
|
|
<if test="params.rohsStatus != null and params.rohsStatus != ''"> |
|
|
and a.rohs_status = #{params.rohsStatus} |
|
|
and a.rohs_status = #{params.rohsStatus} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="params.isExpiring != null and params.isExpiring != ''"> |
|
|
|
|
|
and isnull(a.is_expiring, 'N') = #{params.isExpiring} |
|
|
|
|
|
</if> |
|
|
<if test="params.nodeId != null and params.nodeId != ''"> |
|
|
<if test="params.nodeId != null and params.nodeId != ''"> |
|
|
and d.node_id = #{params.nodeId} |
|
|
and d.node_id = #{params.nodeId} |
|
|
</if> |
|
|
</if> |
|
|
@ -285,6 +291,9 @@ |
|
|
<if test="params.rohsStatus != null and params.rohsStatus != ''"> |
|
|
<if test="params.rohsStatus != null and params.rohsStatus != ''"> |
|
|
and a.rohs_status = #{params.rohsStatus} |
|
|
and a.rohs_status = #{params.rohsStatus} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="params.isExpiring != null and params.isExpiring != ''"> |
|
|
|
|
|
and isnull(a.is_expiring, 'N') = #{params.isExpiring} |
|
|
|
|
|
</if> |
|
|
<if test="params.nodeId != null and params.nodeId != ''"> |
|
|
<if test="params.nodeId != null and params.nodeId != ''"> |
|
|
and d.node_id = #{params.nodeId} |
|
|
and d.node_id = #{params.nodeId} |
|
|
</if> |
|
|
</if> |
|
|
|