12345678910 |
- <?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.juxiao.xchat.module.xbd.mapper.report.OneDayRoomRecvSumMapper">
- <select id="getUsersCharm" resultType="java.lang.Integer">
- select COALESCE(SUM(sum_gold),0) as totalNum
- from one_day_room_recv_sum where recv_uid = #{erBanNo} and create_time between #{startTime} and #{endTime}
- </select>
- </mapper>
|