|
|
|
@ -16,7 +16,6 @@ |
|
|
|
FROM |
|
|
|
plm_rfq_header |
|
|
|
<where> |
|
|
|
visible = 'Y' |
|
|
|
<if test="query.id != null"> |
|
|
|
AND id = #{query.id} |
|
|
|
</if> |
|
|
|
@ -43,9 +42,12 @@ |
|
|
|
AND priority_level = #{query.priorityLevel} |
|
|
|
</if> |
|
|
|
<if test="query.status =='EE'"> |
|
|
|
AND status in ('B','D') |
|
|
|
AND status in ('B','D') AND visible = 'Y' |
|
|
|
</if> |
|
|
|
<if test="query.status != null and query.status != '' and query.status !='EE'"> |
|
|
|
<if test="query.status =='BB'"> |
|
|
|
AND status = 'B' AND visible = 'Y' |
|
|
|
</if> |
|
|
|
<if test="query.status != null and query.status != '' and query.status !='EE' and query.status !='BB'"> |
|
|
|
AND status = #{query.status} |
|
|
|
</if> |
|
|
|
<if test="query.bomStatusDb != null and query.bomStatusDb != ''"> |
|
|
|
|