查询count(*)abatis

<select id="cn.gov.cpc.server.Offer.queryOfferTotal" resultClass="int" >

   <![CDATA[ select COUNT(*) ]]>

   from ctwob.offer where car_id = #car_id#

</select>

原文地址:https://www.cnblogs.com/smallfa/p/1330176.html