我们发布啦
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zbkj.crmeb.finance.dao.UserRechargeDao">
|
||||
|
||||
<select id="getSumByType" resultType="java.math.BigDecimal" parameterType="string">
|
||||
select sum(price) as price from eb_user_recharge
|
||||
<if test="type != null and type != '' ">
|
||||
where recharge_type = #{type, jdbcType=VARCHAR}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user