|
|
@ -103,8 +103,19 @@ |
|
|
|
pi.pro_no |
|
|
|
from bs_sgc_jsjd_bui_pro_info pi |
|
|
|
left join bs_slgc_qqjd_spe_pro_proposal pp on pi.pro_code = pp.project_code and pi.pro_no = pp.pro_no |
|
|
|
where pi.pro_code in (SELECT DISTINCT PROJECT_CODE |
|
|
|
FROM bs_slgc_qqjd_pro_bid_result ) and pi.pro_no in (SELECT DISTINCT PRO_NO |
|
|
|
FROM bs_slgc_qqjd_pro_bid_result ) |
|
|
|
<where> |
|
|
|
pi.pro_code in (SELECT DISTINCT PROJECT_CODE |
|
|
|
FROM bs_slgc_qqjd_pro_bid_result ) and pi.pro_no in (SELECT DISTINCT PRO_NO |
|
|
|
FROM bs_slgc_qqjd_pro_bid_result ) |
|
|
|
<if test="adcd!=null and adcd !=''"> |
|
|
|
and adcd like concat(#{adcd},'%') |
|
|
|
</if> |
|
|
|
<if test="projectName!=null and projectName!=''"> |
|
|
|
and project_name like concat('%',#{projectName},'%') |
|
|
|
</if> |
|
|
|
<if test="status!=null and status!=''"> |
|
|
|
and status=#{status} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|