feat(api): 添加代理创建租户功能
- 新增 AgentCreateTenant 请求类 - 添加 ApiAgentController 控制器 - 实现代理创建租户的接口 - 更新数据库配置 - 删除冗余代码和模板main-p
parent
b44ef7f120
commit
0c9a1ac2b1
|
|
@ -59,6 +59,7 @@ public class HeaderCheckAspect {
|
|||
|
||||
|
||||
TenantSecretKey tenantSecretKey = tenantSecretKeyService.selectTenantSecretKeyByTenantKey(key);
|
||||
Assert.isTrue(!tenantSecretKey.getAgentType(), "当前用户不是租户");
|
||||
Assert.notNull(tenantSecretKey, "key不存在");
|
||||
|
||||
Assert.isTrue(tenantSecretKey.getTenantStatus(), "当前租户已停用");
|
||||
|
|
|
|||
|
|
@ -0,0 +1,53 @@
|
|||
package com.ff.api.controller;
|
||||
|
||||
|
||||
import com.ff.annotation.CheckHeader;
|
||||
import com.ff.api.response.TenantInfoResponse;
|
||||
import com.ff.base.core.controller.BaseController;
|
||||
import com.ff.base.core.domain.AjaxResult;
|
||||
import com.ff.base.enums.TenantQuotaType;
|
||||
import com.ff.base.utils.bean.BeanUtils;
|
||||
import com.ff.common.domain.TenantGameQuota;
|
||||
import com.ff.common.domain.TenantSecretKey;
|
||||
import com.ff.common.service.ITenantGameQuotaService;
|
||||
import com.ff.config.KeyConfig;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
* api控制器
|
||||
*
|
||||
* @author shi
|
||||
* @date 2025/02/10
|
||||
*/
|
||||
@RestController
|
||||
@CheckHeader
|
||||
@RequestMapping("/api/agent")
|
||||
@Slf4j
|
||||
public class ApiAgentController extends BaseController {
|
||||
|
||||
|
||||
@Resource
|
||||
private ITenantGameQuotaService tenantGameQuotaService;
|
||||
@Resource
|
||||
private KeyConfig keyConfig;
|
||||
|
||||
/**
|
||||
* 信息
|
||||
*
|
||||
* @return {@link AjaxResult }
|
||||
*/
|
||||
@PostMapping("/create/tenant")
|
||||
public AjaxResult info() {
|
||||
TenantSecretKey tenantSecretKey = keyConfig.get();
|
||||
TenantGameQuota tenantGameQuota = tenantGameQuotaService.selectTenantGameQuotaByTenantKey(tenantSecretKey.getTenantKey(), TenantQuotaType.BALANCE.getCode());
|
||||
TenantInfoResponse tenantInfoResponse= new TenantInfoResponse();
|
||||
BeanUtils.copyProperties(tenantGameQuota,tenantInfoResponse);
|
||||
return AjaxResult.success(tenantInfoResponse);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
package com.ff.api.request;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 代理创建租户
|
||||
*
|
||||
* @author shi
|
||||
* @date 2025/02/20
|
||||
*/
|
||||
@Data
|
||||
public class AgentCreateTenant implements Serializable {
|
||||
private static final long serialVersionUID = -5561068216486978354L;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -24,6 +24,11 @@ public class TenantSecretKey extends BaseEntity
|
|||
/** 主键id */
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 代理类型 false 不是
|
||||
*/
|
||||
private Boolean agentType;
|
||||
|
||||
/**
|
||||
* 代理id
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ spring:
|
|||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.1.11:3306/ff-game?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
url: jdbc:mysql://192.168.50.11:3306/ff-game?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
username: root
|
||||
password: 123456
|
||||
# 初始连接数
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
<resultMap type="TenantSecretKey" id="TenantSecretKeyResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="agentId" column="agent_id" />
|
||||
<result property="agentType" column="agent_type" />
|
||||
<result property="tenantKey" column="tenant_key" />
|
||||
<result property="tenantSn" column="tenant_sn" />
|
||||
<result property="tenantSecret" column="tenant_secret" />
|
||||
|
|
@ -19,13 +20,14 @@
|
|||
</resultMap>
|
||||
|
||||
<sql id="selectTenantSecretKeyVo">
|
||||
select id,agent_id, tenant_key, tenant_sn, tenant_secret, tenant_status, tenant_type, create_by, create_time, update_by, update_time from ff_tenant_secret_key
|
||||
select id,agent_id, agent_type, tenant_key, tenant_sn, tenant_secret, tenant_status, tenant_type, create_by, create_time, update_by, update_time from ff_tenant_secret_key
|
||||
</sql>
|
||||
|
||||
<select id="selectTenantSecretKeyList" parameterType="TenantSecretKey" resultMap="TenantSecretKeyResult">
|
||||
<include refid="selectTenantSecretKeyVo"/>
|
||||
<where>
|
||||
<if test="tenantKey != null and tenantKey != ''"> and tenant_key = #{tenantKey}</if>
|
||||
<if test="agentType != null "> and agent_type = #{agentType}</if>
|
||||
<if test="agentId != null "> and agent_id = #{agentId}</if>
|
||||
<if test="tenantSn != null and tenantSn != ''"> and tenant_sn = #{tenantSn}</if>
|
||||
<if test="tenantSecret != null and tenantSecret != ''"> and tenant_secret = #{tenantSecret}</if>
|
||||
|
|
@ -48,6 +50,7 @@
|
|||
insert into ff_tenant_secret_key
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null and tenantKey != ''">tenant_key,</if>
|
||||
<if test="agentType != null ">agent_type,</if>
|
||||
<if test="agentId != null ">agent_id,</if>
|
||||
<if test="tenantSn != null">tenant_sn,</if>
|
||||
<if test="tenantSecret != null and tenantSecret != ''">tenant_secret,</if>
|
||||
|
|
@ -60,6 +63,7 @@
|
|||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null and tenantKey != ''">#{tenantKey},</if>
|
||||
<if test="agentType != null ">#{agentType},</if>
|
||||
<if test="agentId != null ">#{agentId},</if>
|
||||
<if test="tenantSn != null">#{tenantSn},</if>
|
||||
<if test="tenantSecret != null and tenantSecret != ''">#{tenantSecret},</if>
|
||||
|
|
@ -76,6 +80,7 @@
|
|||
update ff_tenant_secret_key
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="tenantKey != null and tenantKey != ''">tenant_key = #{tenantKey},</if>
|
||||
<if test="agentType != null ">agent_type = #{agentType},</if>
|
||||
<if test="agentId != null ">agent_id = #{agentId},</if>
|
||||
<if test="tenantSn != null">tenant_sn = #{tenantSn},</if>
|
||||
<if test="tenantSecret != null and tenantSecret != ''">tenant_secret = #{tenantSecret},</if>
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
restart.include.json=/com.alibaba.fastjson2.*.jar
|
||||
|
|
@ -1,95 +0,0 @@
|
|||
# 数据源配置
|
||||
spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: 127.0.0.1
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
database: 1
|
||||
# 密码
|
||||
password:
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
pool:
|
||||
# 连接池中的最小空闲连接
|
||||
min-idle: 0
|
||||
# 连接池中的最大空闲连接
|
||||
max-idle: 8
|
||||
# 连接池的最大数据库连接数
|
||||
max-active: 8
|
||||
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: -1ms
|
||||
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.1.11:3306/ff-game?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
username: root
|
||||
password: 123456
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
minIdle: 10
|
||||
# 最大连接池数量
|
||||
maxActive: 20
|
||||
# 配置获取连接等待超时的时间
|
||||
maxWait: 60000
|
||||
# 配置连接超时时间
|
||||
connectTimeout: 30000
|
||||
# 配置网络超时时间
|
||||
socketTimeout: 60000
|
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1 FROM DUAL
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
webStatFilter:
|
||||
enabled: true
|
||||
statViewServlet:
|
||||
enabled: true
|
||||
# 设置白名单,不填则允许所有访问
|
||||
allow:
|
||||
url-pattern: /druid/*
|
||||
# 控制台管理用户名和密码
|
||||
login-username: ff
|
||||
login-password: 123456
|
||||
filter:
|
||||
stat:
|
||||
enabled: true
|
||||
# 慢SQL记录
|
||||
log-slow-sql: true
|
||||
slow-sql-millis: 1000
|
||||
merge-sql: true
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
|
||||
forest:
|
||||
backend: okhttp3 # 后端HTTP框架(默认为 okhttp3)
|
||||
max-connections: 1000 # 连接池最大连接数(默认为 500)
|
||||
max-route-connections: 500 # 每个路由的最大连接数(默认为 500)
|
||||
max-request-queue-size: 100 # [自v1.5.22版本起可用] 最大请求等待队列大小
|
||||
max-async-thread-size: 300 # [自v1.5.21版本起可用] 最大异步线程数
|
||||
max-async-queue-size: 16 # [自v1.5.22版本起可用] 最大异步线程池队列大小
|
||||
timeout: 3000 # [已不推荐使用] 请求超时时间,单位为毫秒(默认为 3000)
|
||||
connect-timeout: 3000 # 连接超时时间,单位为毫秒(默认为 timeout)
|
||||
read-timeout: 3000 # 数据读取超时时间,单位为毫秒(默认为 timeout)
|
||||
max-retry-count: 0 # 请求失败后重试次数(默认为 0 次不重试)
|
||||
ssl-protocol: TLS # 单向验证的HTTPS的默认TLS协议(默认为 TLS)
|
||||
log-enabled: true # 打开或关闭日志(默认为 true)
|
||||
log-request: true # 打开/关闭Forest请求日志(默认为 true)
|
||||
log-response-status: true # 打开/关闭Forest响应状态日志(默认为 true)
|
||||
log-response-content: true # 打开/关闭Forest响应内容日志(默认为 false)
|
||||
async-mode: platform # [自v1.5.27版本起可用] 异步模式(默认为 platform)
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
# 项目相关配置
|
||||
ff:
|
||||
# 文件路径 示例( Windows配置D:/ff/uploadPath,Linux配置 /home/ff/uploadPath)
|
||||
profile: D:/opt/sever/dist/ff-admin/uploadPath
|
||||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: 28080
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /ff-api
|
||||
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
com.ff: debug
|
||||
org.springframework: warn
|
||||
file:
|
||||
path: D:/opt/sever/dist/ff-admin/logs
|
||||
|
||||
# 数据源配置
|
||||
spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: 127.0.0.1
|
||||
# 端口,默认为6379
|
||||
port: 26379
|
||||
# 数据库索引
|
||||
database: 0
|
||||
# 密码
|
||||
password: reAa123456
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
pool:
|
||||
# 连接池中的最小空闲连接
|
||||
min-idle: 0
|
||||
# 连接池中的最大空闲连接
|
||||
max-idle: 8
|
||||
# 连接池的最大数据库连接数
|
||||
max-active: 8
|
||||
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: -1ms
|
||||
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.1.11:23306/ff-admin?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
username: root
|
||||
password: myAa123456
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
minIdle: 10
|
||||
# 最大连接池数量
|
||||
maxActive: 20
|
||||
# 配置获取连接等待超时的时间
|
||||
maxWait: 60000
|
||||
# 配置连接超时时间
|
||||
connectTimeout: 30000
|
||||
# 配置网络超时时间
|
||||
socketTimeout: 60000
|
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
# 配置检测连接是否有效
|
||||
validationQuery: SELECT 1 FROM DUAL
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
webStatFilter:
|
||||
enabled: true
|
||||
statViewServlet:
|
||||
enabled: true
|
||||
# 设置白名单,不填则允许所有访问
|
||||
allow:
|
||||
url-pattern: /druid/*
|
||||
# 控制台管理用户名和密码
|
||||
login-username: ff
|
||||
login-password: ff_prod
|
||||
filter:
|
||||
stat:
|
||||
enabled: true
|
||||
# 慢SQL记录
|
||||
log-slow-sql: true
|
||||
slow-sql-millis: 1000
|
||||
merge-sql: true
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
|
|
@ -1,138 +0,0 @@
|
|||
# 项目相关配置
|
||||
ff:
|
||||
# 名称
|
||||
name: FF
|
||||
# 版本
|
||||
version: 0.0.1
|
||||
# 版权年份
|
||||
copyrightYear: 2024
|
||||
# 文件路径 示例( Windows配置D:/ff/uploadPath,Linux配置 /home/ff/uploadPath)
|
||||
profile: D:/ff/uploadPath
|
||||
# 获取ip地址开关
|
||||
addressEnabled: false
|
||||
# 验证码类型 math 数字计算 char 字符验证
|
||||
captchaType: math
|
||||
|
||||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: 9080
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /
|
||||
tomcat:
|
||||
# tomcat的URI编码
|
||||
uri-encoding: UTF-8
|
||||
# 连接数满后的排队数,默认为100
|
||||
accept-count: 1000
|
||||
threads:
|
||||
# tomcat最大线程数,默认为200
|
||||
max: 800
|
||||
# Tomcat启动初始化的线程数,默认值10
|
||||
min-spare: 100
|
||||
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
com.ff: debug
|
||||
org.springframework: warn
|
||||
|
||||
# 用户配置
|
||||
user:
|
||||
password:
|
||||
# 密码最大错误次数
|
||||
maxRetryCount: 5
|
||||
# 密码锁定时间(默认10分钟)
|
||||
lockTime: 10
|
||||
|
||||
# 跑批处理配置
|
||||
batchProcessing:
|
||||
# 批量数量
|
||||
commissionBatchSize: 20
|
||||
agentLevelBatchSize: 50
|
||||
bettingDataBatchSize: 1000
|
||||
|
||||
# Spring配置
|
||||
spring:
|
||||
mvc:
|
||||
pathmatch:
|
||||
matching-strategy: ant_path_matcher
|
||||
# 资源信息
|
||||
messages:
|
||||
# 国际化资源文件路径
|
||||
basename: i18n/messages
|
||||
profiles:
|
||||
active: druid
|
||||
# 文件上传
|
||||
servlet:
|
||||
multipart:
|
||||
# 单个文件大小
|
||||
max-file-size: 20MB
|
||||
# 设置总上传的文件大小
|
||||
max-request-size: 20MB
|
||||
# 服务模块
|
||||
devtools:
|
||||
restart:
|
||||
# 热部署开关
|
||||
enabled: false
|
||||
|
||||
# token配置
|
||||
token:
|
||||
# 令牌自定义标识
|
||||
header: Authorization
|
||||
# 令牌密钥
|
||||
secret: abcdefghijklmnopqrstuvwxyz
|
||||
# 令牌有效期(默认10080分钟 七天)
|
||||
expireTime: 10080
|
||||
|
||||
# MyBatis配置
|
||||
mybatis:
|
||||
# 搜索指定包别名
|
||||
typeAliasesPackage: com.ff.**.domain
|
||||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
||||
mapperLocations: classpath*:mapper/**/*Mapper.xml
|
||||
# 加载全局的配置文件
|
||||
configLocation: classpath:mybatis/mybatis-config.xml
|
||||
|
||||
# PageHelper分页插件
|
||||
pagehelper:
|
||||
helperDialect: mysql
|
||||
supportMethodsArguments: true
|
||||
params: count=countSql
|
||||
|
||||
# Swagger配置
|
||||
swagger:
|
||||
# 是否开启swagger
|
||||
enabled: true
|
||||
# 请求前缀
|
||||
pathMapping: /
|
||||
|
||||
# 防止XSS攻击
|
||||
xss:
|
||||
# 过滤开关
|
||||
enabled: true
|
||||
# 排除链接(多个用逗号分隔)
|
||||
excludes: /system/notice
|
||||
# 匹配链接
|
||||
urlPatterns: /system/*,/monitor/*,/tool/*
|
||||
|
||||
#雪花算法id生成器配置
|
||||
snowflake:
|
||||
worker:
|
||||
id: 1
|
||||
datacenter:
|
||||
id: 1
|
||||
|
||||
#aes密钥
|
||||
encrypt:
|
||||
body:
|
||||
aes-key: gktsdFKqo7lJi3Kc #AES加密秘钥
|
||||
|
||||
netty:
|
||||
app:
|
||||
port: 9820
|
||||
|
||||
web:
|
||||
port: 9821
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,44 +0,0 @@
|
|||
#错误消息
|
||||
opration.success=操作成功
|
||||
opration.fail=操作失败
|
||||
not.null=* 必须填写
|
||||
user.jcaptcha.error=验证码错误
|
||||
user.jcaptcha.expire=验证码已失效
|
||||
user.not.exists=用户不存在/密码错误
|
||||
user.password.not.match=用户不存在/密码错误
|
||||
user.password.retry.limit.count=密码输入错误{0}次
|
||||
user.password.retry.limit.exceed=密码输入错误{0}次,帐户锁定{1}分钟
|
||||
user.password.delete=对不起,您的账号已被删除
|
||||
user.blocked=用户已封禁,请联系管理员
|
||||
role.blocked=角色已封禁,请联系管理员
|
||||
login.blocked=很遗憾,访问IP已被列入系统黑名单
|
||||
user.logout.success=退出成功
|
||||
|
||||
length.not.valid=长度必须在{min}到{max}个字符之间
|
||||
|
||||
user.username.not.valid=* 2到20个汉字、字母、数字或下划线组成,且必须以非数字开头
|
||||
user.password.not.valid=* 5-50个字符
|
||||
|
||||
user.email.not.valid=邮箱格式错误
|
||||
user.mobile.phone.number.not.valid=手机号格式错误
|
||||
user.login.success=登录成功
|
||||
user.register.success=注册成功
|
||||
user.notfound=请重新登录
|
||||
user.forcelogout=管理员强制退出,请重新登录
|
||||
user.unknown.error=未知错误,请重新登录
|
||||
|
||||
##文件上传消息
|
||||
upload.exceed.maxSize=上传的文件大小超出限制的文件大小!<br/>允许的文件最大大小是:{0}MB!
|
||||
upload.filename.exceed.length=上传的文件名最长{0}个字符
|
||||
upload.file.exception=本地文件上传异常
|
||||
upload.file.server.not.exist=文件服务不存在
|
||||
|
||||
##权限
|
||||
no.permission=您没有数据的权限,请联系管理员添加权限 [{0}]
|
||||
no.create.permission=您没有创建数据的权限,请联系管理员添加权限 [{0}]
|
||||
no.update.permission=您没有修改数据的权限,请联系管理员添加权限 [{0}]
|
||||
no.delete.permission=您没有删除数据的权限,请联系管理员添加权限 [{0}]
|
||||
no.export.permission=您没有导出数据的权限,请联系管理员添加权限 [{0}]
|
||||
no.view.permission=您没有查看数据的权限,请联系管理员添加权限 [{0}]
|
||||
|
||||
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<!-- 日志存放路径 -->
|
||||
<property name="log.path" value="/opt/sever/dist/ff-admin/logs" />
|
||||
<!-- 日志输出格式 -->
|
||||
<property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss.SSS}-[%X{dataSource}] [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
|
||||
|
||||
<!-- 控制台输出 -->
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>${log.pattern}</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- 系统日志输出 -->
|
||||
<appender name="file_info" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/sys-info.log</file>
|
||||
<!-- 循环政策:基于时间创建日志文件 -->
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<!-- 日志文件名格式 -->
|
||||
<fileNamePattern>${log.path}/sys-info.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<!-- 日志最大的历史 60天 -->
|
||||
<maxHistory>60</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>${log.pattern}</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.LevelFilter">
|
||||
<!-- 过滤的级别 -->
|
||||
<level>INFO</level>
|
||||
<!-- 匹配时的操作:接收(记录) -->
|
||||
<onMatch>ACCEPT</onMatch>
|
||||
<!-- 不匹配时的操作:拒绝(不记录) -->
|
||||
<onMismatch>DENY</onMismatch>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="file_error" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/sys-error.log</file>
|
||||
<!-- 循环政策:基于时间创建日志文件 -->
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<!-- 日志文件名格式 -->
|
||||
<fileNamePattern>${log.path}/sys-error.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<!-- 日志最大的历史 60天 -->
|
||||
<maxHistory>60</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>${log.pattern}</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.LevelFilter">
|
||||
<!-- 过滤的级别 -->
|
||||
<level>ERROR</level>
|
||||
<!-- 匹配时的操作:接收(记录) -->
|
||||
<onMatch>ACCEPT</onMatch>
|
||||
<!-- 不匹配时的操作:拒绝(不记录) -->
|
||||
<onMismatch>DENY</onMismatch>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<!-- 用户访问日志输出 -->
|
||||
<appender name="sys-user" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/sys-user.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<!-- 按天回滚 daily -->
|
||||
<fileNamePattern>${log.path}/sys-user.%d{yyyy-MM-dd}.log</fileNamePattern>
|
||||
<!-- 日志最大的历史 60天 -->
|
||||
<maxHistory>60</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder>
|
||||
<pattern>${log.pattern}</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<!-- 系统模块日志级别控制 -->
|
||||
<logger name="com.ff" level="info" />
|
||||
<!-- Spring日志级别控制 -->
|
||||
<logger name="org.springframework" level="warn" />
|
||||
|
||||
<root level="info">
|
||||
<appender-ref ref="console" />
|
||||
</root>
|
||||
|
||||
<!--系统操作日志-->
|
||||
<root level="info">
|
||||
<appender-ref ref="file_info" />
|
||||
<appender-ref ref="file_error" />
|
||||
</root>
|
||||
|
||||
<!--系统用户操作日志-->
|
||||
<logger name="sys-user" level="info">
|
||||
<appender-ref ref="sys-user"/>
|
||||
</logger>
|
||||
</configuration>
|
||||
|
|
@ -1,228 +0,0 @@
|
|||
<?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.ff.game.mapper.GameBettingDetailsMapper">
|
||||
|
||||
<resultMap type="GameBettingDetails" id="GameBettingDetailsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="tenantKey" column="tenant_key" />
|
||||
<result property="currencyCode" column="currency_code" />
|
||||
<result property="memberId" column="member_id" />
|
||||
<result property="gameCode" column="game_code" />
|
||||
<result property="gameId" column="game_id" />
|
||||
<result property="gameType" column="game_type" />
|
||||
<result property="platformCode" column="platform_code" />
|
||||
<result property="gameName" column="game_name" />
|
||||
<result property="gameStatus" column="game_status" />
|
||||
<result property="gameStatusType" column="game_status_type" />
|
||||
<result property="gameCurrencyCode" column="game_currency_code" />
|
||||
<result property="account" column="account" />
|
||||
<result property="wagersId" column="wagers_id" />
|
||||
<result property="wagersTime" column="wagers_time" />
|
||||
<result property="betAmount" column="bet_amount" />
|
||||
<result property="payoffTime" column="payoff_time" />
|
||||
<result property="payoffAmount" column="payoff_amount" />
|
||||
<result property="settlementTime" column="settlement_time" />
|
||||
<result property="turnover" column="turnover" />
|
||||
<result property="orderNo" column="order_no" />
|
||||
<result property="settlementStatus" column="settlement_status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectGameBettingDetailsVo">
|
||||
select id,tenant_key, currency_code, member_id, game_code, game_id, game_type, platform_code, game_name, game_status, game_status_type, game_currency_code, account, wagers_id, wagers_time, bet_amount, payoff_time, payoff_amount, settlement_time, turnover, order_no, settlement_status, create_by, create_time, update_by, update_time from ff_game_betting_details
|
||||
</sql>
|
||||
|
||||
<select id="selectGameBettingDetailsList" parameterType="GameBettingDetails" resultMap="GameBettingDetailsResult">
|
||||
<include refid="selectGameBettingDetailsVo"/>
|
||||
<where>
|
||||
<if test="tenantKey != null and tenantKey != ''"> and tenant_key = #{tenantKey}</if>
|
||||
<if test="currencyCode != null and currencyCode != ''"> and currency_code = #{currencyCode}</if>
|
||||
<if test="memberId != null "> and member_id = #{memberId}</if>
|
||||
<if test="gameCode != null "> and game_code = #{gameCode}</if>
|
||||
<if test="gameId != null "> and game_id = #{gameId}</if>
|
||||
<if test="gameType != null "> and game_type = #{gameType}</if>
|
||||
<if test="platformCode != null and platformCode != ''"> and platform_code = #{platformCode}</if>
|
||||
<if test="gameName != null and gameName != ''"> and game_name like concat('%', #{gameName}, '%')</if>
|
||||
<if test="gameStatus != null "> and game_status = #{gameStatus}</if>
|
||||
<if test="gameStatusType != null "> and game_status_type = #{gameStatusType}</if>
|
||||
<if test="gameCurrencyCode != null and gameCurrencyCode != ''"> and game_currency_code = #{gameCurrencyCode}</if>
|
||||
<if test="account != null and account != ''"> and account = #{account}</if>
|
||||
<if test="wagersId != null "> and wagers_id = #{wagersId}</if>
|
||||
<if test="wagersTime != null "> and wagers_time = #{wagersTime}</if>
|
||||
<if test="betAmount != null "> and bet_amount = #{betAmount}</if>
|
||||
<if test="payoffTime != null "> and payoff_time = #{payoffTime}</if>
|
||||
<if test="payoffAmount != null "> and payoff_amount = #{payoffAmount}</if>
|
||||
<if test="settlementTime != null "> and settlement_time = #{settlementTime}</if>
|
||||
<if test="turnover != null "> and turnover = #{turnover}</if>
|
||||
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
||||
<if test="settlementStatus != null "> and settlement_status = #{settlementStatus}</if>
|
||||
<if test="params.beginTime != null">
|
||||
AND wagers_time >= #{params.beginTime}
|
||||
</if>
|
||||
<if test="params.endTime != null">
|
||||
AND wagers_time <= #{params.endTime}
|
||||
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectGameBettingDetailsById" parameterType="Long" resultMap="GameBettingDetailsResult">
|
||||
<include refid="selectGameBettingDetailsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectGameBettingDetailsByWagersId" resultType="java.lang.Long">
|
||||
select wagers_id from ff_game_betting_details
|
||||
|
||||
where wagers_id in
|
||||
<foreach item="wagersId" collection="wagersIds" open="(" separator="," close=")">
|
||||
#{wagersId}
|
||||
</foreach>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<insert id="insertGameBettingDetails" parameterType="GameBettingDetails" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_game_betting_details
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null">tenant_key,</if>
|
||||
<if test="currencyCode != null">currency_code,</if>
|
||||
<if test="memberId != null">member_id,</if>
|
||||
<if test="gameCode != null">game_code,</if>
|
||||
<if test="gameId != null">game_id,</if>
|
||||
<if test="gameType != null">game_type,</if>
|
||||
<if test="platformCode != null">platform_code,</if>
|
||||
<if test="gameName != null">game_name,</if>
|
||||
<if test="gameStatus != null">game_status,</if>
|
||||
<if test="gameStatusType != null">game_status_type,</if>
|
||||
<if test="gameCurrencyCode != null">game_currency_code,</if>
|
||||
<if test="account != null">account,</if>
|
||||
<if test="wagersId != null">wagers_id,</if>
|
||||
<if test="wagersTime != null">wagers_time,</if>
|
||||
<if test="betAmount != null">bet_amount,</if>
|
||||
<if test="payoffTime != null">payoff_time,</if>
|
||||
<if test="payoffAmount != null">payoff_amount,</if>
|
||||
<if test="settlementTime != null">settlement_time,</if>
|
||||
<if test="turnover != null">turnover,</if>
|
||||
<if test="orderNo != null">order_no,</if>
|
||||
<if test="settlementStatus != null">settlement_status,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null">#{tenantKey},</if>
|
||||
<if test="currencyCode != null">#{currencyCode},</if>
|
||||
<if test="memberId != null">#{memberId},</if>
|
||||
<if test="gameCode != null">#{gameCode},</if>
|
||||
<if test="gameId != null">#{gameId},</if>
|
||||
<if test="gameType != null">#{gameType},</if>
|
||||
<if test="platformCode != null">#{platformCode},</if>
|
||||
<if test="gameName != null">#{gameName},</if>
|
||||
<if test="gameStatus != null">#{gameStatus},</if>
|
||||
<if test="gameStatusType != null">#{gameStatusType},</if>
|
||||
<if test="gameCurrencyCode != null">#{gameCurrencyCode},</if>
|
||||
<if test="account != null">#{account},</if>
|
||||
<if test="wagersId != null">#{wagersId},</if>
|
||||
<if test="wagersTime != null">#{wagersTime},</if>
|
||||
<if test="betAmount != null">#{betAmount},</if>
|
||||
<if test="payoffTime != null">#{payoffTime},</if>
|
||||
<if test="payoffAmount != null">#{payoffAmount},</if>
|
||||
<if test="settlementTime != null">#{settlementTime},</if>
|
||||
<if test="turnover != null">#{turnover},</if>
|
||||
<if test="orderNo != null">#{orderNo},</if>
|
||||
<if test="settlementStatus != null">#{settlementStatus},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateGameBettingDetails" parameterType="GameBettingDetails">
|
||||
update ff_game_betting_details
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="tenantKey != null">tenant_key = #{tenantKey},</if>
|
||||
<if test="currencyCode != null">currency_code = #{currencyCode},</if>
|
||||
<if test="memberId != null">member_id = #{memberId},</if>
|
||||
<if test="gameCode != null">game_code = #{gameCode},</if>
|
||||
<if test="gameId != null">game_id = #{gameId},</if>
|
||||
<if test="gameType != null">game_type = #{gameType},</if>
|
||||
<if test="platformCode != null">platform_code = #{platformCode},</if>
|
||||
<if test="gameName != null">game_name = #{gameName},</if>
|
||||
<if test="gameStatus != null">game_status = #{gameStatus},</if>
|
||||
<if test="gameStatusType != null">game_status_type = #{gameStatusType},</if>
|
||||
<if test="gameCurrencyCode != null">game_currency_code = #{gameCurrencyCode},</if>
|
||||
<if test="account != null">account = #{account},</if>
|
||||
<if test="wagersId != null">wagers_id = #{wagersId},</if>
|
||||
<if test="wagersTime != null">wagers_time = #{wagersTime},</if>
|
||||
<if test="betAmount != null">bet_amount = #{betAmount},</if>
|
||||
<if test="payoffTime != null">payoff_time = #{payoffTime},</if>
|
||||
<if test="payoffAmount != null">payoff_amount = #{payoffAmount},</if>
|
||||
<if test="settlementTime != null">settlement_time = #{settlementTime},</if>
|
||||
<if test="turnover != null">turnover = #{turnover},</if>
|
||||
<if test="orderNo != null">order_no = #{orderNo},</if>
|
||||
<if test="settlementStatus != null">settlement_status = #{settlementStatus},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteGameBettingDetailsById" parameterType="Long">
|
||||
delete from ff_game_betting_details where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteGameBettingDetailsByIds" parameterType="String">
|
||||
delete from ff_game_betting_details where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<insert id="batchInsert" parameterType="list" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_game_betting_details
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
tenant_key, game_id, currency_code, member_id, game_code, game_type, platform_code,
|
||||
game_name, game_status, game_status_type, game_currency_code, account,
|
||||
wagers_id, wagers_time, bet_amount, payoff_time, payoff_amount,
|
||||
settlement_time, turnover, order_no, create_by, create_time
|
||||
</trim>
|
||||
values
|
||||
<foreach collection="list" item="item" separator=",">
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
#{item.tenantKey},
|
||||
#{item.gameId},
|
||||
#{item.currencyCode},
|
||||
#{item.memberId},
|
||||
#{item.gameCode},
|
||||
#{item.gameType},
|
||||
#{item.platformCode},
|
||||
#{item.gameName},
|
||||
#{item.gameStatus},
|
||||
#{item.gameStatusType},
|
||||
#{item.gameCurrencyCode},
|
||||
#{item.account},
|
||||
#{item.wagersId},
|
||||
#{item.wagersTime},
|
||||
#{item.betAmount},
|
||||
#{item.payoffTime},
|
||||
#{item.payoffAmount},
|
||||
#{item.settlementTime},
|
||||
#{item.turnover},
|
||||
#{item.orderNo},
|
||||
#{item.createBy},
|
||||
#{item.createTime}
|
||||
</trim>
|
||||
</foreach>
|
||||
</insert>
|
||||
</mapper>
|
||||
|
|
@ -1,132 +0,0 @@
|
|||
<?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.ff.game.mapper.GameExchangeMoneyMapper">
|
||||
|
||||
<resultMap type="GameExchangeMoney" id="GameExchangeMoneyResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="tenantKey" column="tenant_key" />
|
||||
<result property="currencyCode" column="currency_code" />
|
||||
<result property="transactionId" column="transaction_id" />
|
||||
<result property="memberId" column="member_id" />
|
||||
<result property="platformCode" column="platform_code" />
|
||||
<result property="balance" column="balance" />
|
||||
<result property="quota" column="quota" />
|
||||
<result property="coinBefore" column="coin_before" />
|
||||
<result property="coinAfter" column="coin_after" />
|
||||
<result property="currencyBefore" column="currency_before" />
|
||||
<result property="currencyAfter" column="currency_after" />
|
||||
<result property="exchangeType" column="exchange_type" />
|
||||
<result property="status" column="status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectGameExchangeMoneyVo">
|
||||
select id, tenant_key, currency_code, transaction_id, member_id, platform_code, balance, quota, coin_before, coin_after, currency_before, currency_after, exchange_type, status, create_by, create_time, update_by, update_time from ff_game_exchange_money
|
||||
</sql>
|
||||
|
||||
<select id="selectGameExchangeMoneyList" parameterType="GameExchangeMoney" resultMap="GameExchangeMoneyResult">
|
||||
<include refid="selectGameExchangeMoneyVo"/>
|
||||
<where>
|
||||
<if test="tenantKey != null and tenantKey != ''"> and tenant_key = #{tenantKey}</if>
|
||||
<if test="currencyCode != null and currencyCode != ''"> and currency_code = #{currencyCode}</if>
|
||||
<if test="transactionId != null and transactionId != ''"> and transaction_id = #{transactionId}</if>
|
||||
<if test="memberId != null "> and member_id = #{memberId}</if>
|
||||
<if test="platformCode != null and platformCode != ''"> and platform_code = #{platformCode}</if>
|
||||
<if test="balance != null "> and balance = #{balance}</if>
|
||||
<if test="quota != null "> and quota = #{quota}</if>
|
||||
<if test="coinBefore != null "> and coin_before = #{coinBefore}</if>
|
||||
<if test="coinAfter != null "> and coin_after = #{coinAfter}</if>
|
||||
<if test="currencyBefore != null "> and currency_before = #{currencyBefore}</if>
|
||||
<if test="currencyAfter != null "> and currency_after = #{currencyAfter}</if>
|
||||
<if test="exchangeType != null "> and exchange_type = #{exchangeType}</if>
|
||||
<if test="status != null "> and status = #{status}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectGameExchangeMoneyById" parameterType="Long" resultMap="GameExchangeMoneyResult">
|
||||
<include refid="selectGameExchangeMoneyVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertGameExchangeMoney" parameterType="GameExchangeMoney" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_game_exchange_money
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null">tenant_key,</if>
|
||||
<if test="currencyCode != null">currency_code,</if>
|
||||
<if test="transactionId != null">transaction_id,</if>
|
||||
<if test="memberId != null">member_id,</if>
|
||||
<if test="platformCode != null">platform_code,</if>
|
||||
<if test="balance != null">balance,</if>
|
||||
<if test="quota != null">quota,</if>
|
||||
<if test="coinBefore != null">coin_before,</if>
|
||||
<if test="coinAfter != null">coin_after,</if>
|
||||
<if test="currencyBefore != null">currency_before,</if>
|
||||
<if test="currencyAfter != null">currency_after,</if>
|
||||
<if test="exchangeType != null">exchange_type,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null">#{tenantKey},</if>
|
||||
<if test="currencyCode != null">#{currencyCode},</if>
|
||||
<if test="transactionId != null">#{transactionId},</if>
|
||||
<if test="memberId != null">#{memberId},</if>
|
||||
<if test="platformCode != null">#{platformCode},</if>
|
||||
<if test="balance != null">#{balance},</if>
|
||||
<if test="quota != null">#{quota},</if>
|
||||
<if test="coinBefore != null">#{coinBefore},</if>
|
||||
<if test="coinAfter != null">#{coinAfter},</if>
|
||||
<if test="currencyBefore != null">#{currencyBefore},</if>
|
||||
<if test="currencyAfter != null">#{currencyAfter},</if>
|
||||
<if test="exchangeType != null">#{exchangeType},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateGameExchangeMoney" parameterType="GameExchangeMoney">
|
||||
update ff_game_exchange_money
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="tenantKey != null">tenant_key = #{tenantKey},</if>
|
||||
<if test="currencyCode != null">currency_code = #{currencyCode},</if>
|
||||
<if test="transactionId != null">transaction_id = #{transactionId},</if>
|
||||
<if test="memberId != null">member_id = #{memberId},</if>
|
||||
<if test="platformCode != null">platform_code = #{platformCode},</if>
|
||||
<if test="balance != null">balance = #{balance},</if>
|
||||
<if test="quota != null">quota = #{quota},</if>
|
||||
<if test="coinBefore != null">coin_before = #{coinBefore},</if>
|
||||
<if test="coinAfter != null">coin_after = #{coinAfter},</if>
|
||||
<if test="currencyBefore != null">currency_before = #{currencyBefore},</if>
|
||||
<if test="currencyAfter != null">currency_after = #{currencyAfter},</if>
|
||||
<if test="exchangeType != null">exchange_type = #{exchangeType},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteGameExchangeMoneyById" parameterType="Long">
|
||||
delete from ff_game_exchange_money where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteGameExchangeMoneyByIds" parameterType="String">
|
||||
delete from ff_game_exchange_money where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
|
@ -1,137 +0,0 @@
|
|||
<?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.ff.game.mapper.GameFreeRecordMapper">
|
||||
|
||||
<resultMap type="GameFreeRecord" id="GameFreeRecordResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="currencyCode" column="currency_code" />
|
||||
<result property="platformCode" column="platform_code" />
|
||||
<result property="referenceId" column="reference_id" />
|
||||
<result property="memberId" column="member_id" />
|
||||
<result property="memberAccount" column="member_account" />
|
||||
<result property="gameId" column="game_id" />
|
||||
<result property="sendTime" column="send_time" />
|
||||
<result property="expiredTime" column="expired_time" />
|
||||
<result property="freeUpdateTime" column="free_update_time" />
|
||||
<result property="sendGame" column="send_game" />
|
||||
<result property="sendAmount" column="send_amount" />
|
||||
<result property="usedAmount" column="used_amount" />
|
||||
<result property="unusedAmount" column="unused_amount" />
|
||||
<result property="freeStatus" column="free_status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectGameFreeRecordVo">
|
||||
select id, currency_code, platform_code, reference_id, member_id, member_account, game_id, send_time, expired_time, free_update_time, send_game, send_amount, used_amount, unused_amount, free_status, create_by, create_time, update_by, update_time from ff_game_free_record
|
||||
</sql>
|
||||
|
||||
<select id="selectGameFreeRecordList" parameterType="GameFreeRecord" resultMap="GameFreeRecordResult">
|
||||
<include refid="selectGameFreeRecordVo"/>
|
||||
<where>
|
||||
<if test="currencyCode != null and currencyCode != ''"> and currency_code = #{currencyCode}</if>
|
||||
<if test="platformCode != null and platformCode != ''"> and platform_code = #{platformCode}</if>
|
||||
<if test="referenceId != null and referenceId != ''"> and reference_id = #{referenceId}</if>
|
||||
<if test="memberId != null "> and member_id = #{memberId}</if>
|
||||
<if test="memberAccount != null and memberAccount != ''"> and member_account = #{memberAccount}</if>
|
||||
<if test="gameId != null "> and game_id = #{gameId}</if>
|
||||
<if test="sendTime != null "> and send_time = #{sendTime}</if>
|
||||
<if test="expiredTime != null "> and expired_time = #{expiredTime}</if>
|
||||
<if test="freeUpdateTime != null "> and free_update_time = #{freeUpdateTime}</if>
|
||||
<if test="sendGame != null and sendGame != ''"> and send_game = #{sendGame}</if>
|
||||
<if test="sendAmount != null "> and send_amount = #{sendAmount}</if>
|
||||
<if test="usedAmount != null "> and used_amount = #{usedAmount}</if>
|
||||
<if test="unusedAmount != null "> and unused_amount = #{unusedAmount}</if>
|
||||
<if test="freeStatus != null "> and free_status = #{freeStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectGameFreeRecordById" parameterType="Long" resultMap="GameFreeRecordResult">
|
||||
<include refid="selectGameFreeRecordVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertGameFreeRecord" parameterType="GameFreeRecord" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_game_free_record
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="currencyCode != null">currency_code,</if>
|
||||
<if test="platformCode != null">platform_code,</if>
|
||||
<if test="referenceId != null">reference_id,</if>
|
||||
<if test="memberId != null">member_id,</if>
|
||||
<if test="memberAccount != null">member_account,</if>
|
||||
<if test="gameId != null">game_id,</if>
|
||||
<if test="sendTime != null">send_time,</if>
|
||||
<if test="expiredTime != null">expired_time,</if>
|
||||
<if test="freeUpdateTime != null">free_update_time,</if>
|
||||
<if test="sendGame != null">send_game,</if>
|
||||
<if test="sendAmount != null">send_amount,</if>
|
||||
<if test="usedAmount != null">used_amount,</if>
|
||||
<if test="unusedAmount != null">unused_amount,</if>
|
||||
<if test="freeStatus != null">free_status,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="currencyCode != null">#{currencyCode},</if>
|
||||
<if test="platformCode != null">#{platformCode},</if>
|
||||
<if test="referenceId != null">#{referenceId},</if>
|
||||
<if test="memberId != null">#{memberId},</if>
|
||||
<if test="memberAccount != null">#{memberAccount},</if>
|
||||
<if test="gameId != null">#{gameId},</if>
|
||||
<if test="sendTime != null">#{sendTime},</if>
|
||||
<if test="expiredTime != null">#{expiredTime},</if>
|
||||
<if test="freeUpdateTime != null">#{freeUpdateTime},</if>
|
||||
<if test="sendGame != null">#{sendGame},</if>
|
||||
<if test="sendAmount != null">#{sendAmount},</if>
|
||||
<if test="usedAmount != null">#{usedAmount},</if>
|
||||
<if test="unusedAmount != null">#{unusedAmount},</if>
|
||||
<if test="freeStatus != null">#{freeStatus},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateGameFreeRecord" parameterType="GameFreeRecord">
|
||||
update ff_game_free_record
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="currencyCode != null">currency_code = #{currencyCode},</if>
|
||||
<if test="platformCode != null">platform_code = #{platformCode},</if>
|
||||
<if test="referenceId != null">reference_id = #{referenceId},</if>
|
||||
<if test="memberId != null">member_id = #{memberId},</if>
|
||||
<if test="memberAccount != null">member_account = #{memberAccount},</if>
|
||||
<if test="gameId != null">game_id = #{gameId},</if>
|
||||
<if test="sendTime != null">send_time = #{sendTime},</if>
|
||||
<if test="expiredTime != null">expired_time = #{expiredTime},</if>
|
||||
<if test="freeUpdateTime != null">free_update_time = #{freeUpdateTime},</if>
|
||||
<if test="sendGame != null">send_game = #{sendGame},</if>
|
||||
<if test="sendAmount != null">send_amount = #{sendAmount},</if>
|
||||
<if test="usedAmount != null">used_amount = #{usedAmount},</if>
|
||||
<if test="unusedAmount != null">unused_amount = #{unusedAmount},</if>
|
||||
<if test="freeStatus != null">free_status = #{freeStatus},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteGameFreeRecordById" parameterType="Long">
|
||||
delete from ff_game_free_record where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteGameFreeRecordByIds" parameterType="String">
|
||||
delete from ff_game_free_record where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
|
@ -1,159 +0,0 @@
|
|||
<?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.ff.game.mapper.GameMapper">
|
||||
|
||||
<resultMap type="Game" id="GameResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="sortNo" column="sort_no" />
|
||||
<result property="platformId" column="platform_id" />
|
||||
<result property="gameCode" column="game_code" />
|
||||
<result property="gameSourceType" column="game_source_type" />
|
||||
<result property="gameName" column="game_name" />
|
||||
<result property="freespin" column="freespin" />
|
||||
<result property="demoStatus" column="demo_status" />
|
||||
<result property="stopStatus" column="stop_status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectGameVo">
|
||||
select id, sort_no, platform_id, game_code, game_source_type, game_name, freespin, demo_status, stop_status, create_by, create_time, update_by, update_time from ff_game
|
||||
</sql>
|
||||
|
||||
<select id="selectGameList" parameterType="Game" resultMap="GameResult">
|
||||
<include refid="selectGameVo"/>
|
||||
<where>
|
||||
<if test="sortNo != null "> and sort_no = #{sortNo}</if>
|
||||
<if test="platformId != null "> and platform_id = #{platformId}</if>
|
||||
<if test="gameCode != null "> and game_code = #{gameCode}</if>
|
||||
<if test="gameSourceType != null "> and game_source_type = #{gameSourceType}</if>
|
||||
<if test="gameName != null and gameName != ''"> and game_name like concat('%', #{gameName}, '%')</if>
|
||||
<if test="freespin != null "> and freespin = #{freespin}</if>
|
||||
<if test="demoStatus != null "> and demo_status = #{demoStatus}</if>
|
||||
<if test="stopStatus != null "> and stop_status = #{stopStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectGameById" parameterType="Long" resultMap="GameResult">
|
||||
<include refid="selectGameVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertGame" parameterType="Game" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_game
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="sortNo != null">sort_no,</if>
|
||||
<if test="platformId != null">platform_id,</if>
|
||||
<if test="gameCode != null">game_code,</if>
|
||||
<if test="gameSourceType != null">game_source_type,</if>
|
||||
<if test="gameName != null and gameName != ''">game_name,</if>
|
||||
<if test="freespin != null">freespin,</if>
|
||||
<if test="demoStatus != null">demo_status,</if>
|
||||
<if test="stopStatus != null">stop_status,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="sortNo != null">#{sortNo},</if>
|
||||
<if test="platformId != null">#{platformId},</if>
|
||||
<if test="gameCode != null">#{gameCode},</if>
|
||||
<if test="gameSourceType != null">#{gameSourceType},</if>
|
||||
<if test="gameName != null and gameName != ''">#{gameName},</if>
|
||||
<if test="freespin != null">#{freespin},</if>
|
||||
<if test="demoStatus != null">#{demoStatus},</if>
|
||||
<if test="stopStatus != null">#{stopStatus},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateGame" parameterType="Game">
|
||||
update ff_game
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="sortNo != null">sort_no = #{sortNo},</if>
|
||||
<if test="platformId != null">platform_id = #{platformId},</if>
|
||||
<if test="gameCode != null">game_code = #{gameCode},</if>
|
||||
<if test="gameSourceType != null">game_source_type = #{gameSourceType},</if>
|
||||
<if test="gameName != null and gameName != ''">game_name = #{gameName},</if>
|
||||
<if test="freespin != null">freespin = #{freespin},</if>
|
||||
<if test="demoStatus != null">demo_status = #{demoStatus},</if>
|
||||
<if test="stopStatus != null">stop_status = #{stopStatus},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteGameById" parameterType="Long">
|
||||
delete from ff_game where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteGameByIds" parameterType="String">
|
||||
delete from ff_game where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
|
||||
<select id="selectMaxSortNoByPlatformId" parameterType="Long" resultType="java.lang.Integer">
|
||||
select ifnull(max(sort_no), 0)
|
||||
from ff_game
|
||||
where platform_id = #{platformId}
|
||||
</select>
|
||||
|
||||
<resultMap id="GameResponseResultMap" type="com.ff.api.response.GameResponse">
|
||||
<result property="id" column="id"/>
|
||||
<result property="gameName" column="game_name"/>
|
||||
<result property="freeSpin" column="freespin"/>
|
||||
<result property="demoStatus" column="demo_status"/>
|
||||
<result property="platformCode" column="platform_code"/>
|
||||
<result property="platformType" column="platform_type"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectGameResponseList" resultMap="GameResponseResultMap">
|
||||
select
|
||||
g.id,
|
||||
g.game_name,
|
||||
g.freespin,
|
||||
g.demo_status,
|
||||
gp.platform_code,
|
||||
gp.platform_type
|
||||
from ff_game g
|
||||
inner join ff_game_platform gp on g.platform_id=gp.id
|
||||
where gp.stop_status=1 and g.stop_status=1
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<select id="selectGameUniqueList" parameterType="com.ff.game.api.request.GameUniqueDTO" resultMap="GameResult">
|
||||
<include refid="selectGameVo"/>
|
||||
<where>
|
||||
<if test="sortNo != null "> and sort_no = #{sortNo}</if>
|
||||
<if test="platformId != null "> and platform_id = #{platformId}</if>
|
||||
<if test="gameCode != null "> and game_code = #{gameCode}</if>
|
||||
<if test="gameSourceType != null "> and game_source_type = #{gameSourceType}</if>
|
||||
<if test="gameName != null and gameName != ''"> and game_name like concat('%', #{gameName}, '%')</if>
|
||||
<if test="freespin != null "> and freespin = #{freespin}</if>
|
||||
<if test="demoStatus != null "> and demo_status = #{demoStatus}</if>
|
||||
<if test="stopStatus != null "> and stop_status = #{stopStatus}</if>
|
||||
<if test="gameIds != null and gameIds.size() >0 ">
|
||||
and id in
|
||||
<foreach item="gameId" collection="gameIds" open="(" separator="," close=")">
|
||||
#{gameId}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
@ -1,99 +0,0 @@
|
|||
<?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.ff.game.mapper.GamePlatformMapper">
|
||||
|
||||
<resultMap type="GamePlatform" id="GamePlatformResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="sortNo" column="sort_no" />
|
||||
<result property="platformCode" column="platform_code" />
|
||||
<result property="platformType" column="platform_type" />
|
||||
<result property="platformName" column="platform_name" />
|
||||
<result property="stopStatus" column="stop_status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectGamePlatformVo">
|
||||
select id, sort_no, platform_code, platform_type, platform_name, stop_status, create_by, create_time, update_by, update_time from ff_game_platform
|
||||
</sql>
|
||||
|
||||
<select id="selectGamePlatformList" parameterType="GamePlatform" resultMap="GamePlatformResult">
|
||||
<include refid="selectGamePlatformVo"/>
|
||||
<where>
|
||||
<if test="sortNo != null "> and sort_no = #{sortNo}</if>
|
||||
<if test="platformCode != null and platformCode != ''"> and platform_code = #{platformCode}</if>
|
||||
<if test="platformType != null "> and platform_type = #{platformType}</if>
|
||||
<if test="platformName != null and platformName != ''"> and platform_name like concat('%', #{platformName}, '%')</if>
|
||||
<if test="stopStatus != null "> and stop_status = #{stopStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectGamePlatformById" parameterType="Long" resultMap="GamePlatformResult">
|
||||
<include refid="selectGamePlatformVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertGamePlatform" parameterType="GamePlatform" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_game_platform
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="sortNo != null">sort_no,</if>
|
||||
<if test="platformCode != null">platform_code,</if>
|
||||
<if test="platformType != null">platform_type,</if>
|
||||
<if test="platformName != null">platform_name,</if>
|
||||
<if test="stopStatus != null">stop_status,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="sortNo != null">#{sortNo},</if>
|
||||
<if test="platformCode != null">#{platformCode},</if>
|
||||
<if test="platformType != null">#{platformType},</if>
|
||||
<if test="platformName != null">#{platformName},</if>
|
||||
<if test="stopStatus != null">#{stopStatus},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateGamePlatform" parameterType="GamePlatform">
|
||||
update ff_game_platform
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="sortNo != null">sort_no = #{sortNo},</if>
|
||||
<if test="platformCode != null">platform_code = #{platformCode},</if>
|
||||
<if test="platformType != null">platform_type = #{platformType},</if>
|
||||
<if test="platformName != null">platform_name = #{platformName},</if>
|
||||
<if test="stopStatus != null">stop_status = #{stopStatus},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteGamePlatformById" parameterType="Long">
|
||||
delete from ff_game_platform where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteGamePlatformByIds" parameterType="String">
|
||||
delete from ff_game_platform where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="selectMaxSortNo" resultType="java.lang.Integer">
|
||||
|
||||
select ifnull(max(sort_no),0)
|
||||
from ff_game_platform
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
<?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.ff.game.mapper.GameSecretKeyMapper">
|
||||
|
||||
<resultMap type="GameSecretKey" id="GameSecretKeyResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="platform" column="platform" />
|
||||
<result property="code" column="code" />
|
||||
<result property="key" column="key" />
|
||||
<result property="systemCode" column="system_code" />
|
||||
<result property="lang" column="lang" />
|
||||
<result property="systemLangCode" column="system_lang_code" />
|
||||
<result property="info" column="info" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectGameSecretKeyVo">
|
||||
select id, platform, code, `key`, system_code, lang, system_lang_code, info, create_by, create_time, update_by, update_time from ff_game_secret_key
|
||||
</sql>
|
||||
|
||||
<select id="selectGameSecretKeyList" parameterType="GameSecretKey" resultMap="GameSecretKeyResult">
|
||||
<include refid="selectGameSecretKeyVo"/>
|
||||
<where>
|
||||
<if test="platform != null and platform != ''"> and platform = #{platform}</if>
|
||||
<if test="code != null and code != ''"> and code = #{code}</if>
|
||||
<if test="key != null and key != ''"> and `key` = #{key}</if>
|
||||
<if test="systemCode != null and systemCode != ''"> and system_code = #{systemCode}</if>
|
||||
<if test="lang != null and lang != ''"> and lang = #{lang}</if>
|
||||
<if test="systemLangCode != null and systemLangCode != ''"> and system_lang_code = #{systemLangCode}</if>
|
||||
<if test="info != null and info != ''"> and info = #{info}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectGameSecretKeyById" parameterType="Long" resultMap="GameSecretKeyResult">
|
||||
<include refid="selectGameSecretKeyVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertGameSecretKey" parameterType="GameSecretKey" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_game_secret_key
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="platform != null and platform != ''">platform,</if>
|
||||
<if test="code != null and code != ''">code,</if>
|
||||
<if test="key != null and key != ''">`key`,</if>
|
||||
<if test="systemCode != null and systemCode != ''">system_code,</if>
|
||||
<if test="lang != null and lang != ''">lang,</if>
|
||||
<if test="systemLangCode != null">system_lang_code,</if>
|
||||
<if test="info != null and info != ''">info,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="platform != null and platform != ''">#{platform},</if>
|
||||
<if test="code != null and code != ''">#{code},</if>
|
||||
<if test="key != null and key != ''">#{key},</if>
|
||||
<if test="systemCode != null and systemCode != ''">#{systemCode},</if>
|
||||
<if test="lang != null and lang != ''">#{lang},</if>
|
||||
<if test="systemLangCode != null">#{systemLangCode},</if>
|
||||
<if test="info != null and info != ''">#{info},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateGameSecretKey" parameterType="GameSecretKey">
|
||||
update ff_game_secret_key
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="platform != null and platform != ''">platform = #{platform},</if>
|
||||
<if test="code != null and code != ''">code = #{code},</if>
|
||||
<if test="key != null and key != ''">`key` = #{key},</if>
|
||||
<if test="systemCode != null and systemCode != ''">system_code = #{systemCode},</if>
|
||||
<if test="lang != null and lang != ''">lang = #{lang},</if>
|
||||
<if test="systemLangCode != null">system_lang_code = #{systemLangCode},</if>
|
||||
<if test="info != null and info != ''">info = #{info},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteGameSecretKeyById" parameterType="Long">
|
||||
delete from ff_game_secret_key where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteGameSecretKeyByIds" parameterType="String">
|
||||
delete from ff_game_secret_key where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="findSystemByCode" resultType="string">
|
||||
SELECT system_code
|
||||
FROM ff_game_secret_key
|
||||
WHERE code = #{code} and platform = #{platform}
|
||||
</select>
|
||||
|
||||
<select id="findSecretKeyByPlatformAndSystemCode" resultType="com.ff.game.domain.GameSecretKey">
|
||||
<include refid="selectGameSecretKeyVo"/>
|
||||
where platform = #{platform} and system_code = #{systemCode}
|
||||
</select>
|
||||
|
||||
<select id="findByPlatformAndSystemLangCode" resultType="com.ff.game.domain.GameSecretKey">
|
||||
<include refid="selectGameSecretKeyVo"/>
|
||||
where platform = #{platform} and system_lang_code = #{systemLangCode}
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
@ -1,102 +0,0 @@
|
|||
<?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.ff.member.mapper.MemberMapper">
|
||||
|
||||
<resultMap type="Member" id="MemberResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="tenantKey" column="tenant_key" />
|
||||
<result property="memberAccount" column="member_account" />
|
||||
<result property="gameAccount" column="game_account" />
|
||||
<result property="platformCode" column="platform_code" />
|
||||
<result property="currencyCode" column="currency_code" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectMemberVo">
|
||||
select id, tenant_key, member_account, game_account, platform_code, currency_code, create_by, create_time, update_by, update_time from ff_member
|
||||
</sql>
|
||||
|
||||
<select id="selectMemberList" parameterType="Member" resultMap="MemberResult">
|
||||
<include refid="selectMemberVo"/>
|
||||
<where>
|
||||
<if test="tenantKey != null and tenantKey != ''"> and tenant_key = #{tenantKey}</if>
|
||||
<if test="memberAccount != null and memberAccount != ''"> and member_account = #{memberAccount}</if>
|
||||
<if test="gameAccount != null and gameAccount != ''"> and game_account = #{gameAccount}</if>
|
||||
<if test="platformCode != null and platformCode != ''"> and platform_code = #{platformCode}</if>
|
||||
<if test="currencyCode != null and currencyCode != ''"> and currency_code = #{currencyCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectMemberById" parameterType="Long" resultMap="MemberResult">
|
||||
<include refid="selectMemberVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertMember" parameterType="Member" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ff_member
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null">tenant_key,</if>
|
||||
<if test="memberAccount != null and memberAccount != ''">member_account,</if>
|
||||
<if test="gameAccount != null">game_account,</if>
|
||||
<if test="platformCode != null and platformCode != ''">platform_code,</if>
|
||||
<if test="currencyCode != null and currencyCode != ''">currency_code,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="tenantKey != null">#{tenantKey},</if>
|
||||
<if test="memberAccount != null and memberAccount != ''">#{memberAccount},</if>
|
||||
<if test="gameAccount != null">#{gameAccount},</if>
|
||||
<if test="platformCode != null and platformCode != ''">#{platformCode},</if>
|
||||
<if test="currencyCode != null and currencyCode != ''">#{currencyCode},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateMember" parameterType="Member">
|
||||
update ff_member
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="tenantKey != null">tenant_key = #{tenantKey},</if>
|
||||
<if test="memberAccount != null and memberAccount != ''">member_account = #{memberAccount},</if>
|
||||
<if test="gameAccount != null">game_account = #{gameAccount},</if>
|
||||
<if test="platformCode != null and platformCode != ''">platform_code = #{platformCode},</if>
|
||||
<if test="currencyCode != null and currencyCode != ''">currency_code = #{currencyCode},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteMemberById" parameterType="Long">
|
||||
delete from ff_member where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteMemberByIds" parameterType="String">
|
||||
delete from ff_member where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="selectMemberByMemberAccount" parameterType="String" resultMap="MemberResult">
|
||||
<include refid="selectMemberVo"/>
|
||||
where member_account = #{memberAccount}
|
||||
</select>
|
||||
|
||||
<select id="selectMemberByGameAccount" parameterType="String" resultMap="MemberResult">
|
||||
<include refid="selectMemberVo"/>
|
||||
where game_account = #{gameAccount}
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
<?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.ff.quartz.mapper.SysJobLogMapper">
|
||||
|
||||
<resultMap type="SysJobLog" id="SysJobLogResult">
|
||||
<id property="jobLogId" column="job_log_id" />
|
||||
<result property="jobName" column="job_name" />
|
||||
<result property="jobGroup" column="job_group" />
|
||||
<result property="invokeTarget" column="invoke_target" />
|
||||
<result property="jobMessage" column="job_message" />
|
||||
<result property="status" column="status" />
|
||||
<result property="exceptionInfo" column="exception_info" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectJobLogVo">
|
||||
select job_log_id, job_name, job_group, invoke_target, job_message, status, exception_info, create_time
|
||||
from sys_job_log
|
||||
</sql>
|
||||
|
||||
<select id="selectJobLogList" parameterType="SysJobLog" resultMap="SysJobLogResult">
|
||||
<include refid="selectJobLogVo"/>
|
||||
<where>
|
||||
<if test="jobName != null and jobName != ''">
|
||||
AND job_name like concat('%', #{jobName}, '%')
|
||||
</if>
|
||||
<if test="jobGroup != null and jobGroup != ''">
|
||||
AND job_group = #{jobGroup}
|
||||
</if>
|
||||
<if test="status != null and status != ''">
|
||||
AND status = #{status}
|
||||
</if>
|
||||
<if test="invokeTarget != null and invokeTarget != ''">
|
||||
AND invoke_target like concat('%', #{invokeTarget}, '%')
|
||||
</if>
|
||||
<if test="params.beginTime != null "><!-- 开始时间检索 -->
|
||||
and create_time >= #{params.beginTime}
|
||||
|
||||
</if>
|
||||
<if test="params.endTime != null "><!-- 结束时间检索 -->
|
||||
and create_time <= #{params.endTime}
|
||||
|
||||
</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectJobLogAll" resultMap="SysJobLogResult">
|
||||
<include refid="selectJobLogVo"/>
|
||||
</select>
|
||||
|
||||
<select id="selectJobLogById" parameterType="Long" resultMap="SysJobLogResult">
|
||||
<include refid="selectJobLogVo"/>
|
||||
where job_log_id = #{jobLogId}
|
||||
</select>
|
||||
|
||||
<delete id="deleteJobLogById" parameterType="Long">
|
||||
delete from sys_job_log where job_log_id = #{jobLogId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteJobLogByIds" parameterType="Long">
|
||||
delete from sys_job_log where job_log_id in
|
||||
<foreach collection="array" item="jobLogId" open="(" separator="," close=")">
|
||||
#{jobLogId}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<update id="cleanJobLog">
|
||||
truncate table sys_job_log
|
||||
</update>
|
||||
|
||||
<insert id="insertJobLog" parameterType="SysJobLog">
|
||||
insert into sys_job_log(
|
||||
<if test="jobLogId != null and jobLogId != 0">job_log_id,</if>
|
||||
<if test="jobName != null and jobName != ''">job_name,</if>
|
||||
<if test="jobGroup != null and jobGroup != ''">job_group,</if>
|
||||
<if test="invokeTarget != null and invokeTarget != ''">invoke_target,</if>
|
||||
<if test="jobMessage != null and jobMessage != ''">job_message,</if>
|
||||
<if test="status != null and status != ''">status,</if>
|
||||
<if test="exceptionInfo != null and exceptionInfo != ''">exception_info,</if>
|
||||
create_time
|
||||
)values(
|
||||
<if test="jobLogId != null and jobLogId != 0">#{jobLogId},</if>
|
||||
<if test="jobName != null and jobName != ''">#{jobName},</if>
|
||||
<if test="jobGroup != null and jobGroup != ''">#{jobGroup},</if>
|
||||
<if test="invokeTarget != null and invokeTarget != ''">#{invokeTarget},</if>
|
||||
<if test="jobMessage != null and jobMessage != ''">#{jobMessage},</if>
|
||||
<if test="status != null and status != ''">#{status},</if>
|
||||
<if test="exceptionInfo != null and exceptionInfo != ''">#{exceptionInfo},</if>
|
||||
UNIX_TIMESTAMP() * 1000
|
||||
)
|
||||
</insert>
|
||||
|
||||
</mapper>
|
||||
|
|
@ -1,111 +0,0 @@
|
|||
<?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.ff.quartz.mapper.SysJobMapper">
|
||||
|
||||
<resultMap type="SysJob" id="SysJobResult">
|
||||
<id property="jobId" column="job_id" />
|
||||
<result property="jobName" column="job_name" />
|
||||
<result property="jobGroup" column="job_group" />
|
||||
<result property="invokeTarget" column="invoke_target" />
|
||||
<result property="cronExpression" column="cron_expression" />
|
||||
<result property="misfirePolicy" column="misfire_policy" />
|
||||
<result property="concurrent" column="concurrent" />
|
||||
<result property="status" column="status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectJobVo">
|
||||
select job_id, job_name, job_group, invoke_target, cron_expression, misfire_policy, concurrent, status, create_by, create_time, remark
|
||||
from sys_job
|
||||
</sql>
|
||||
|
||||
<select id="selectJobList" parameterType="SysJob" resultMap="SysJobResult">
|
||||
<include refid="selectJobVo"/>
|
||||
<where>
|
||||
<if test="jobName != null and jobName != ''">
|
||||
AND job_name like concat('%', #{jobName}, '%')
|
||||
</if>
|
||||
<if test="jobGroup != null and jobGroup != ''">
|
||||
AND job_group = #{jobGroup}
|
||||
</if>
|
||||
<if test="status != null and status != ''">
|
||||
AND status = #{status}
|
||||
</if>
|
||||
<if test="invokeTarget != null and invokeTarget != ''">
|
||||
AND invoke_target like concat('%', #{invokeTarget}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectJobAll" resultMap="SysJobResult">
|
||||
<include refid="selectJobVo"/>
|
||||
</select>
|
||||
|
||||
<select id="selectJobById" parameterType="Long" resultMap="SysJobResult">
|
||||
<include refid="selectJobVo"/>
|
||||
where job_id = #{jobId}
|
||||
</select>
|
||||
|
||||
<delete id="deleteJobById" parameterType="Long">
|
||||
delete from sys_job where job_id = #{jobId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteJobByIds" parameterType="Long">
|
||||
delete from sys_job where job_id in
|
||||
<foreach collection="array" item="jobId" open="(" separator="," close=")">
|
||||
#{jobId}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<update id="updateJob" parameterType="SysJob">
|
||||
update sys_job
|
||||
<set>
|
||||
<if test="jobName != null and jobName != ''">job_name = #{jobName},</if>
|
||||
<if test="jobGroup != null and jobGroup != ''">job_group = #{jobGroup},</if>
|
||||
<if test="invokeTarget != null and invokeTarget != ''">invoke_target = #{invokeTarget},</if>
|
||||
<if test="cronExpression != null and cronExpression != ''">cron_expression = #{cronExpression},</if>
|
||||
<if test="misfirePolicy != null and misfirePolicy != ''">misfire_policy = #{misfirePolicy},</if>
|
||||
<if test="concurrent != null and concurrent != ''">concurrent = #{concurrent},</if>
|
||||
<if test="status !=null">status = #{status},</if>
|
||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||
update_time = UNIX_TIMESTAMP() * 1000
|
||||
</set>
|
||||
where job_id = #{jobId}
|
||||
</update>
|
||||
|
||||
<insert id="insertJob" parameterType="SysJob" useGeneratedKeys="true" keyProperty="jobId">
|
||||
insert into sys_job(
|
||||
<if test="jobId != null and jobId != 0">job_id,</if>
|
||||
<if test="jobName != null and jobName != ''">job_name,</if>
|
||||
<if test="jobGroup != null and jobGroup != ''">job_group,</if>
|
||||
<if test="invokeTarget != null and invokeTarget != ''">invoke_target,</if>
|
||||
<if test="cronExpression != null and cronExpression != ''">cron_expression,</if>
|
||||
<if test="misfirePolicy != null and misfirePolicy != ''">misfire_policy,</if>
|
||||
<if test="concurrent != null and concurrent != ''">concurrent,</if>
|
||||
<if test="status != null and status != ''">status,</if>
|
||||
<if test="remark != null and remark != ''">remark,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
create_time
|
||||
)values(
|
||||
<if test="jobId != null and jobId != 0">#{jobId},</if>
|
||||
<if test="jobName != null and jobName != ''">#{jobName},</if>
|
||||
<if test="jobGroup != null and jobGroup != ''">#{jobGroup},</if>
|
||||
<if test="invokeTarget != null and invokeTarget != ''">#{invokeTarget},</if>
|
||||
<if test="cronExpression != null and cronExpression != ''">#{cronExpression},</if>
|
||||
<if test="misfirePolicy != null and misfirePolicy != ''">#{misfirePolicy},</if>
|
||||
<if test="concurrent != null and concurrent != ''">#{concurrent},</if>
|
||||
<if test="status != null and status != ''">#{status},</if>
|
||||
<if test="remark != null and remark != ''">#{remark},</if>
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
UNIX_TIMESTAMP() * 1000
|
||||
)
|
||||
</insert>
|
||||
|
||||
</mapper>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE configuration
|
||||
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-config.dtd">
|
||||
<configuration>
|
||||
<!-- 全局参数 -->
|
||||
<settings>
|
||||
<!-- 使全局的映射器启用或禁用缓存 -->
|
||||
<setting name="cacheEnabled" value="true" />
|
||||
<!-- 允许JDBC 支持自动生成主键 -->
|
||||
<setting name="useGeneratedKeys" value="true" />
|
||||
<!-- 配置默认的执行器.SIMPLE就是普通执行器;REUSE执行器会重用预处理语句(prepared statements);BATCH执行器将重用语句并执行批量更新 -->
|
||||
<setting name="defaultExecutorType" value="SIMPLE" />
|
||||
<!-- 指定 MyBatis 所用日志的具体实现 -->
|
||||
<setting name="logImpl" value="SLF4J" />
|
||||
<!-- 使用驼峰命名法转换字段 -->
|
||||
<!-- <setting name="mapUnderscoreToCamelCase" value="true"/> -->
|
||||
</settings>
|
||||
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue