|
|
|
@ -29,7 +29,7 @@ |
|
|
|
ON a.production_area = b.area_id |
|
|
|
AND a.site = b.site |
|
|
|
WHERE a.site = #{query.site} |
|
|
|
AND ISNULL(c.status, '') != 'CLOSED' |
|
|
|
AND c.status != 'CLOSED' and c.status!='UNISSUE' |
|
|
|
<if test="query.subSite != null and query.subSite != ''"> |
|
|
|
AND a.sub_site = #{query.subSite} |
|
|
|
</if> |
|
|
|
|