@@ -84,6 +89,12 @@ LEFT JOIN hygf_document_station on hygf_document_station.station_id=hygf_peasan
<iftest="province != null and province != ''">
and hygf_peasant_household.project_address like concat(concat('%',#{province}),'%')
</if>
<iftest="projectAddress != null and projectAddress != '' and projectAddress.contains('/'.toString())">
AND concat_ws('/',hygf_peasant_household.project_address_name,hygf_peasant_household.project_address_detail) LIKE CONCAT('%', #{projectAddress}, '%')
</if>
<iftest="projectAddress != null and projectAddress != '' and !projectAddress.contains('/'.toString())">
AND REPLACE(concat(hygf_peasant_household.project_address_name,hygf_peasant_household.project_address_detail), '/', '') LIKE CONCAT('%', #{projectAddress}, '%')
</if>
</where>
<!-- GROUP BY hygf_peasant_household.sequence_nbr-->