|
|
|
@ -45,7 +45,7 @@ |
|
|
|
<where> |
|
|
|
pbc.site = #{query.site} |
|
|
|
<if test="query.componentPart != null and query.componentPart != ''"> |
|
|
|
AND pbc.component_part = #{query.componentPart} |
|
|
|
AND pbc.component_part like #{query.componentPart} |
|
|
|
</if> |
|
|
|
<if test="query.componentPartDesc != null and query.componentPartDesc != ''"> |
|
|
|
AND dbo.get_part_name(pbc.site, pbc.component_part) LIKE #{query.componentPartDesc} |
|
|
|
@ -57,7 +57,7 @@ |
|
|
|
AND p2.part_status = #{query.componentPartStatus} |
|
|
|
</if> |
|
|
|
<if test="query.parentPartNo != null and query.parentPartNo != ''"> |
|
|
|
AND pbc.part_no = #{query.parentPartNo} |
|
|
|
AND pbc.part_no like #{query.parentPartNo} |
|
|
|
</if> |
|
|
|
<if test="query.parentPartDesc != null and query.parentPartDesc != ''"> |
|
|
|
AND dbo.get_part_name(pbc.site, pbc.part_no) LIKE #{query.parentPartDesc} |
|
|
|
|