|
|
|
@ -82,7 +82,7 @@ |
|
|
|
LEFT JOIN plm_project_info c ON a.site = c.site AND a.project_id = c.project_id |
|
|
|
LEFT JOIN plm_customer_information j ON j.site = c.site and j.customer_no = c.customer_id |
|
|
|
<where> |
|
|
|
a.site = #{query.site} AND isnull(a.ECN_flag, 'N') = 'N' and a.status <![CDATA[<>]]> 'cg' and isnull(a.show_in_query_flag, 'Y') = 'Y' |
|
|
|
a.site = #{site} AND isnull(a.ECN_flag, 'N') = 'N' and a.status <![CDATA[<>]]> 'cg' and isnull(a.show_in_query_flag, 'Y') = 'Y' |
|
|
|
<if test = "buNo != null and buNo != ''"> |
|
|
|
AND b.bu_no = #{buNo} |
|
|
|
</if> |
|
|
|
|