|
@@ -15,7 +15,7 @@ |
|
|
(case when p.build_org_name is null then b.base_build_deprt else p.build_org_name end) build_org_name,prfd.project_code |
|
|
(case when p.build_org_name is null then b.base_build_deprt else p.build_org_name end) build_org_name,prfd.project_code |
|
|
from nd_project_renewal_fund_declaration prfd |
|
|
from nd_project_renewal_fund_declaration prfd |
|
|
left join nd_project p on prfd.project_code = p.project_code and p.newest = true |
|
|
left join nd_project p on prfd.project_code = p.project_code and p.newest = true |
|
|
left join gov_biz_project_baseinfo b on prfd.project_code = b.base_proj_code and b.deleted = false |
|
|
|
|
|
|
|
|
left join gov_biz_project_baseinfo b on prfd.project_code = b.base_proj_id and b.deleted = false |
|
|
where prfd.deleted = false |
|
|
where prfd.deleted = false |
|
|
<if test="param.projectName != null and param.projectName != ''"> |
|
|
<if test="param.projectName != null and param.projectName != ''"> |
|
|
and (p.project_name like concat('%',#{param.projectName},'%') or |
|
|
and (p.project_name like concat('%',#{param.projectName},'%') or |
|
|