AND a.SETTLE_DOMAIN = #{tSocialFundInfo.settleDomain}
</if>
<iftest="tSocialFundInfo.settleDomainName != null and tSocialFundInfo.settleDomainName.trim() != ''">
AND (a.SETTLE_DOMAIN_NAME = #{tSocialFundInfo.settleDomainName} or a.SETTLE_DOMAIN_NAME_FUND = #{tSocialFundInfo.settleDomainName})
AND (a.SETTLE_DOMAIN_NAME like concat('%',#{tSocialFundInfo.settleDomainName},'%') or a.SETTLE_DOMAIN_NAME_FUND like concat('%',#{tSocialFundInfo.settleDomainName},'%'))
</if>
<iftest="tSocialFundInfo.unitName != null and tSocialFundInfo.unitName.trim() != ''">
AND (a.UNIT_NAME = #{tSocialFundInfo.unitName} or a.UNIT_NAME_FUND = #{tSocialFundInfo.unitName})
AND (a.UNIT_NAME like concat('%',#{tSocialFundInfo.unitName},'%') or a.UNIT_NAME_FUND like concat('%',#{tSocialFundInfo.unitName},'%'))
</if>
<iftest="tSocialFundInfo.unitId != null and tSocialFundInfo.unitId.trim() != ''">
AND a.UNIT_ID = #{tSocialFundInfo.unitId}
...
...
@@ -563,7 +563,7 @@
AND a.SOCIAL_HOUSEHOLD = #{tSocialFundInfo.socialHousehold}
</if>
<iftest="tSocialFundInfo.socialHouseholdName != null and tSocialFundInfo.socialHouseholdName.trim() != ''">
AND a.SOCIAL_HOUSEHOLD_NAME = #{tSocialFundInfo.socialHouseholdName}
AND a.SOCIAL_HOUSEHOLD_NAME like concat('%',#{tSocialFundInfo.socialHouseholdName},'%')
</if>
<iftest="tSocialFundInfo.socialProvince != null and tSocialFundInfo.socialProvince.trim() != ''">
AND a.SOCIAL_PROVINCE = #{tSocialFundInfo.socialProvince}
...
...
@@ -578,7 +578,7 @@
AND a.PROVIDENT_HOUSEHOLD = #{tSocialFundInfo.providentHousehold}
</if>
<iftest="tSocialFundInfo.providentHouseholdName != null and tSocialFundInfo.providentHouseholdName.trim() != ''">
AND a.PROVIDENT_HOUSEHOLD_NAME = #{tSocialFundInfo.providentHouseholdName}
AND a.PROVIDENT_HOUSEHOLD_NAME like concat('%',#{tSocialFundInfo.providentHouseholdName},'%')
</if>
<iftest="tSocialFundInfo.fundProvince != null and tSocialFundInfo.fundProvince.trim() != ''">
AND a.FUND_PROVINCE = #{tSocialFundInfo.fundProvince}
...
...
@@ -865,6 +865,12 @@
<iftest="tSocialFundInfo.latestCardinalityFund != null and tSocialFundInfo.latestCardinalityFund.trim() != ''">
AND a.LATEST_CARDINALITY_FUND = #{tSocialFundInfo.latestCardinalityFund}
</if>
<iftest="tSocialFundInfo.socialStatus != null and tSocialFundInfo.socialStatus.trim() != ''">
AND a.SOCIAL_STATUS = #{tSocialFundInfo.socialStatus}
</if>
<iftest="tSocialFundInfo.fundStatus != null and tSocialFundInfo.fundStatus.trim() != ''">