Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
aa12116b
提交
aa12116b
authored
1月 26, 2024
作者:
jiangwenye
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
平台账户配置
上级
f8fe47f4
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
29 行增加
和
2 行删除
+29
-2
PerformanceResultEnum.java
...java/com/clx/performance/enums/PerformanceResultEnum.java
+3
-1
OwnerAccountServiceImpl.java
...clx/performance/service/impl/OwnerAccountServiceImpl.java
+26
-1
没有找到文件。
performance-api/src/main/java/com/clx/performance/enums/PerformanceResultEnum.java
浏览文件 @
aa12116b
...
@@ -115,7 +115,9 @@ public enum PerformanceResultEnum implements ResultEnum {
...
@@ -115,7 +115,9 @@ public enum PerformanceResultEnum implements ResultEnum {
PLATFORM_ACCOUNT_CONFIG_ONLY
(
1913
,
"当前配置已存在"
),
PLATFORM_ACCOUNT_CONFIG_ONLY
(
1913
,
"当前配置已存在"
),
PLATFORM_ACCOUNT_CONFIG_WITHDRAWAL_IS_NULL
(
1914
,
"提现平台账户未配置"
),
PLATFORM_ACCOUNT_CONFIG_WITHDRAWAL_IS_NULL
(
1914
,
"提现平台账户未配置"
),
PLATFORM_ACCOUNT_CONFIG_WITHDRAWAL_MANY
(
1915
,
"提现平台账户配置多个"
),
PLATFORM_ACCOUNT_CONFIG_WITHDRAWAL_MANY
(
1915
,
"提现平台账户配置不唯一"
),
PLATFORM_ACCOUNT_CONFIG_RECHARGE_IS_NULL
(
1916
,
"充值平台账户未配置"
),
PLATFORM_ACCOUNT_CONFIG_RECHARGE_MANY
(
1917
,
"充值平台账户配置不唯一"
),
;
;
private
final
int
code
;
private
final
int
code
;
private
final
String
msg
;
private
final
String
msg
;
...
...
performance-web/src/main/java/com/clx/performance/service/impl/OwnerAccountServiceImpl.java
浏览文件 @
aa12116b
...
@@ -18,6 +18,7 @@ import com.clx.performance.dao.*;
...
@@ -18,6 +18,7 @@ import com.clx.performance.dao.*;
import
com.clx.performance.enums.IdTypeEnum
;
import
com.clx.performance.enums.IdTypeEnum
;
import
com.clx.performance.enums.OwnerAccountEnum
;
import
com.clx.performance.enums.OwnerAccountEnum
;
import
com.clx.performance.enums.PerformanceResultEnum
;
import
com.clx.performance.enums.PerformanceResultEnum
;
import
com.clx.performance.enums.PlatformAccountConfigEnum
;
import
com.clx.performance.extranal.user.OwnerInfoService
;
import
com.clx.performance.extranal.user.OwnerInfoService
;
import
com.clx.performance.model.*
;
import
com.clx.performance.model.*
;
import
com.clx.performance.param.app.CheckMobileParam
;
import
com.clx.performance.param.app.CheckMobileParam
;
...
@@ -32,6 +33,7 @@ import com.clx.performance.param.pc.owner.CreteAccountParam;
...
@@ -32,6 +33,7 @@ import com.clx.performance.param.pc.owner.CreteAccountParam;
import
com.clx.performance.param.pc.owner.FrozenAccountParam
;
import
com.clx.performance.param.pc.owner.FrozenAccountParam
;
import
com.clx.performance.param.pc.owner.ThawAccountParam
;
import
com.clx.performance.param.pc.owner.ThawAccountParam
;
import
com.clx.performance.service.OwnerAccountService
;
import
com.clx.performance.service.OwnerAccountService
;
import
com.clx.performance.service.PlatformAccountConfigService
;
import
com.clx.performance.struct.OwnerAccountStruct
;
import
com.clx.performance.struct.OwnerAccountStruct
;
import
com.clx.performance.utils.MyMD5Util
;
import
com.clx.performance.utils.MyMD5Util
;
import
com.clx.performance.utils.excel.ExcelData
;
import
com.clx.performance.utils.excel.ExcelData
;
...
@@ -41,6 +43,7 @@ import com.clx.performance.utils.excel.ExcelUtil;
...
@@ -41,6 +43,7 @@ import com.clx.performance.utils.excel.ExcelUtil;
import
com.clx.performance.vo.pc.OwnerAccountAllVO
;
import
com.clx.performance.vo.pc.OwnerAccountAllVO
;
import
com.clx.performance.vo.pc.OwnerAccountRunningWaterRecordVO
;
import
com.clx.performance.vo.pc.OwnerAccountRunningWaterRecordVO
;
import
com.clx.performance.vo.pc.OwnerAccountVO
;
import
com.clx.performance.vo.pc.OwnerAccountVO
;
import
com.clx.performance.vo.pc.carrier.settle.CarrierPagePlatformAccountConfigVO
;
import
com.clx.user.enums.owner.FreezeSettingEnum
;
import
com.clx.user.enums.owner.FreezeSettingEnum
;
import
com.clx.user.feign.OwnerFeign
;
import
com.clx.user.feign.OwnerFeign
;
import
com.clx.user.feign.OwnerInfoFeign
;
import
com.clx.user.feign.OwnerInfoFeign
;
...
@@ -55,6 +58,7 @@ import com.msl.user.data.UserSessionData;
...
@@ -55,6 +58,7 @@ import com.msl.user.data.UserSessionData;
import
com.msl.user.utils.TokenUtil
;
import
com.msl.user.utils.TokenUtil
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.poi.xssf.streaming.SXSSFWorkbook
;
import
org.apache.poi.xssf.streaming.SXSSFWorkbook
;
import
org.springframework.amqp.core.Message
;
import
org.springframework.amqp.core.Message
;
...
@@ -111,6 +115,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
...
@@ -111,6 +115,8 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
private
final
OwnerInfoService
ownerInfoService
;
private
final
OwnerInfoService
ownerInfoService
;
private
final
PlatformAccountConfigService
platformAccountConfigService
;
@Override
@Override
public
IPage
<
OwnerAccountVO
>
pageList
(
PageOwnerAccountListParam
param
)
{
public
IPage
<
OwnerAccountVO
>
pageList
(
PageOwnerAccountListParam
param
)
{
return
ownerAccountDao
.
pageList
(
param
);
return
ownerAccountDao
.
pageList
(
param
);
...
@@ -615,7 +621,26 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
...
@@ -615,7 +621,26 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
@Override
@Override
public
OwnerTransferInfo
transferPublic
()
{
public
OwnerTransferInfo
transferPublic
()
{
return
ownerTransferInfoDao
.
getEntityByKey
(
1
).
orElse
(
null
);
List
<
CarrierPagePlatformAccountConfigVO
>
configs
=
platformAccountConfigService
.
getPlatformAccountConfigByType
(
PlatformAccountConfigEnum
.
BusinessType
.
RECHARGE
.
getCode
(),
PlatformAccountConfigEnum
.
OwnerType
.
COMPANY
.
getCode
(),
null
,
null
,
null
);
if
(
CollectionUtils
.
isNotEmpty
(
configs
)){
if
(
configs
.
size
()
>
1
){
throw
new
ServiceSystemException
(
PerformanceResultEnum
.
PLATFORM_ACCOUNT_CONFIG_RECHARGE_IS_NULL
);
}
OwnerTransferInfo
info
=
new
OwnerTransferInfo
();
CarrierPagePlatformAccountConfigVO
vo
=
configs
.
get
(
0
);
info
.
setAccountNumber
(
vo
.
getBankCardNo
());
info
.
setOpenAccountBank
(
vo
.
getOpenBank
());
info
.
setOpenAccountBankNumber
(
vo
.
getBankCode
());
info
.
setEnterpriseName
(
vo
.
getCompanyName
());
return
info
;
}
else
{
throw
new
ServiceSystemException
(
PerformanceResultEnum
.
PLATFORM_ACCOUNT_CONFIG_RECHARGE_IS_NULL
);
}
//return ownerTransferInfoDao.getEntityByKey(1).orElse(null);
}
}
@Override
@Override
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论