OneDayRoomRecvSumMapper.xml 493 B

12345678910
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
  3. <mapper namespace="com.juxiao.xchat.module.xbd.mapper.report.OneDayRoomRecvSumMapper">
  4. <select id="getUsersCharm" resultType="java.lang.Integer">
  5. select COALESCE(SUM(sum_gold),0) as totalNum
  6. from one_day_room_recv_sum where recv_uid = #{erBanNo} and create_time between #{startTime} and #{endTime}
  7. </select>
  8. </mapper>