feat(host): 新增主播收入统计查询接口
This commit is contained in:
22
src/main/resources/mapper/ServerHostsRevenueStatsMapper.xml
Normal file
22
src/main/resources/mapper/ServerHostsRevenueStatsMapper.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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.yupi.springbootinit.mapper.ServerHostsRevenueStatsMapper">
|
||||
<resultMap id="BaseResultMap" type="com.yupi.springbootinit.model.entity.ServerHostsRevenueStats">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table server_hosts_revenue_stats-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
|
||||
<result column="history" jdbcType="VARCHAR" property="history" />
|
||||
<result column="display_id" jdbcType="VARCHAR" property="displayId" />
|
||||
<result column="today_revenue" jdbcType="DECIMAL" property="todayRevenue" />
|
||||
<result column="total_revenue" jdbcType="DECIMAL" property="totalRevenue" />
|
||||
<result column="last_days_count" jdbcType="INTEGER" property="lastDaysCount" />
|
||||
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
||||
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, tenant_id, history, display_id, today_revenue, total_revenue, last_days_count,
|
||||
updated_at, created_at
|
||||
</sql>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user