日期:2014-05-19 浏览次数:21026 次
<select id="getAddressPoolConfigCount" resultClass="Integer"
parameterClass="Map">
select count(*) from TMS_ADDRESS_POOL_CONFIG tapc, SYS_CITY
sc,SYS_PROVINCE sp where tapc.PROVINCE_ID = sp.PROVINCE_ID and
tapc.CITY_ID = sc.CITY_ID
<isNotEmpty prepend="AND" property="provinceId">
tapc.PROVINCE_ID like '%'
------其他解决方案--------------------
#title#
------其他解决方案--------------------
#provinceId#
------其他解决方案--------------------
'%'
</isNotEmpty>
<isNotEmpty prepend="AND" property="cityId">
tapc.CITY_ID like '%'