| @@ -114,6 +114,12 @@ | |||||
| </where> | </where> | ||||
| </select> | </select> | ||||
| <select id="findCount" parameterType="com.iformall.domain.po.WxCardSpend" resultType="Integer"> | |||||
| select count(*) | |||||
| from wx_card_spend | |||||
| <include refid="dynamicWhereConditions"/> | |||||
| </select> | |||||
| <resultMap id="VoResultMap" type="com.iformall.domain.vo.WxCardSpendVo"> | <resultMap id="VoResultMap" type="com.iformall.domain.vo.WxCardSpendVo"> | ||||
| <id column="id" jdbcType="BIGINT" property="id"/> | <id column="id" jdbcType="BIGINT" property="id"/> | ||||
| @@ -227,12 +233,6 @@ | |||||
| </if> | </if> | ||||
| </sql> | </sql> | ||||
| <select id="findCount" parameterType="com.iformall.domain.vo.WxCardSpendVo" resultType="Integer"> | |||||
| select count(*) | |||||
| from wx_card_spend cs | |||||
| <include refid="dynamicVoWhereConditions"/> | |||||
| </select> | |||||
| <select id="findCardSpendVoList" parameterType="com.iformall.domain.vo.WxCardSpendVo" resultMap="VoResultMap"> | <select id="findCardSpendVoList" parameterType="com.iformall.domain.vo.WxCardSpendVo" resultMap="VoResultMap"> | ||||
| select | select | ||||
| <include refid="allVoColumns"/> | <include refid="allVoColumns"/> | ||||