Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
76ff682e
提交
76ff682e
authored
10月 25, 2023
作者:
huyufan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
资金相关
上级
11b00ef2
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
7 行删除
+11
-7
PagePlatformMarginAccountParam.java
.../performance/param/pc/PagePlatformMarginAccountParam.java
+1
-1
PagePlatformPrepaidFreightAccountParam.java
...ance/param/pc/PagePlatformPrepaidFreightAccountParam.java
+1
-1
OwnerAccountServiceImpl.java
...clx/performance/service/impl/OwnerAccountServiceImpl.java
+8
-4
OwnerRunningWaterRecordServiceImpl.java
...ance/service/impl/OwnerRunningWaterRecordServiceImpl.java
+1
-1
没有找到文件。
performance-api/src/main/java/com/clx/performance/param/pc/PagePlatformMarginAccountParam.java
浏览文件 @
76ff682e
...
@@ -24,7 +24,7 @@ public class PagePlatformMarginAccountParam extends PageParam {
...
@@ -24,7 +24,7 @@ public class PagePlatformMarginAccountParam extends PageParam {
private
String
runningWaterNo
;
private
String
runningWaterNo
;
@ApiModelProperty
(
value
=
"流水类型10:充值 20:冻结 30:解冻 40:提现冻结 50:提现成功 60:扣除 70:提现失败"
,
example
=
"10"
)
@ApiModelProperty
(
value
=
"流水类型10:充值 20:冻结 30:解冻 40:提现冻结 50:提现成功 60:扣除 70:提现失败"
,
example
=
"10"
)
private
String
runningWaterType
;
private
Integer
runningWaterType
;
@ApiModelProperty
(
value
=
"操作开始时间"
,
example
=
"2020-01-01 10:10:10"
)
@ApiModelProperty
(
value
=
"操作开始时间"
,
example
=
"2020-01-01 10:10:10"
)
private
String
beginTime
;
private
String
beginTime
;
...
...
performance-api/src/main/java/com/clx/performance/param/pc/PagePlatformPrepaidFreightAccountParam.java
浏览文件 @
76ff682e
...
@@ -27,7 +27,7 @@ public class PagePlatformPrepaidFreightAccountParam extends PageParam {
...
@@ -27,7 +27,7 @@ public class PagePlatformPrepaidFreightAccountParam extends PageParam {
private
String
orderChildNo
;
private
String
orderChildNo
;
@ApiModelProperty
(
value
=
"流水类型10:充值 20:冻结 30:解冻 40:提现冻结 50:提现成功 60:扣除 70:提现失败"
,
example
=
"10"
)
@ApiModelProperty
(
value
=
"流水类型10:充值 20:冻结 30:解冻 40:提现冻结 50:提现成功 60:扣除 70:提现失败"
,
example
=
"10"
)
private
String
runningWaterType
;
private
Integer
runningWaterType
;
@ApiModelProperty
(
value
=
"操作开始时间"
,
example
=
"2020-01-01 10:10:10"
)
@ApiModelProperty
(
value
=
"操作开始时间"
,
example
=
"2020-01-01 10:10:10"
)
private
String
beginTime
;
private
String
beginTime
;
...
...
performance-web/src/main/java/com/clx/performance/service/impl/OwnerAccountServiceImpl.java
浏览文件 @
76ff682e
...
@@ -166,6 +166,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
...
@@ -166,6 +166,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
entity
.
setStatus
(
OwnerAccountEnum
.
CaseOutStatus
.
PENDING_PAYMENT
.
getCode
());
entity
.
setStatus
(
OwnerAccountEnum
.
CaseOutStatus
.
PENDING_PAYMENT
.
getCode
());
entity
.
setCaseOutBank
(
param
.
getOwnerOpenBank
());
entity
.
setCaseOutBank
(
param
.
getOwnerOpenBank
());
entity
.
setCaseOutBankNumber
(
param
.
getOwnerBankAccount
());
entity
.
setCaseOutBankNumber
(
param
.
getOwnerBankAccount
());
entity
.
setCreateBy
(
loginUserInfo
.
getUserName
());
ownerCaseOutDao
.
saveEntity
(
entity
);
ownerCaseOutDao
.
saveEntity
(
entity
);
...
@@ -326,12 +327,15 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
...
@@ -326,12 +327,15 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
*/
*/
@Override
@Override
public
void
accountCaseOutApprove
(
OwnerCaseOutApproveParam
param
)
{
public
void
accountCaseOutApprove
(
OwnerCaseOutApproveParam
param
)
{
UserSessionData
loginUserInfo
=
TokenUtil
.
getLoginUserInfo
();
OwnerCaseOut
entity
=
new
OwnerCaseOut
();
OwnerCaseOut
entity
=
new
OwnerCaseOut
();
entity
.
setId
(
param
.
getId
());
entity
.
setId
(
param
.
getId
());
entity
.
setPaymentProof
(
param
.
getPaymentProof
());
entity
.
setPaymentProof
(
param
.
getPaymentProof
());
entity
.
setPlatformPaymentBank
(
entity
.
getPlatformPaymentBank
());
entity
.
setPlatformPaymentBank
(
entity
.
getPlatformPaymentBank
());
entity
.
setPlatformPaymentBankNumber
(
param
.
getPlatformPaymentBankNumber
());
entity
.
setPlatformPaymentBankNumber
(
param
.
getPlatformPaymentBankNumber
());
entity
.
setPlatformPayBalance
(
param
.
getPlatformPayBalance
());
entity
.
setPlatformPayBalance
(
param
.
getPlatformPayBalance
());
entity
.
setPaymentTime
(
LocalDateTime
.
now
());
entity
.
setPaymentBy
(
loginUserInfo
.
getUserName
());
entity
.
setStatus
(
OwnerAccountEnum
.
CaseOutStatus
.
TO_BE_CONFIRMED
.
getCode
());
entity
.
setStatus
(
OwnerAccountEnum
.
CaseOutStatus
.
TO_BE_CONFIRMED
.
getCode
());
ownerCaseOutDao
.
updateEntityByKey
(
entity
);
ownerCaseOutDao
.
updateEntityByKey
(
entity
);
}
}
...
@@ -346,10 +350,10 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
...
@@ -346,10 +350,10 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
}
}
OwnerCaseOut
ownerCaseOut
=
optional
.
get
();
OwnerCaseOut
ownerCaseOut
=
optional
.
get
();
BigDecimal
caseOutBalance
=
ownerCaseOut
.
getCaseOutBalance
();
BigDecimal
caseOutBalance
=
ownerCaseOut
.
getCaseOutBalance
();
BigDecimal
platformPayBalance
=
ownerCaseOut
.
getPlatformPayBalance
();
//
BigDecimal platformPayBalance = ownerCaseOut.getPlatformPayBalance();
if
(
platformPayBalance
.
compareTo
(
caseOutBalance
)
!=
0
)
{
//
if (platformPayBalance.compareTo(caseOutBalance) != 0) {
throw
new
ServiceSystemException
(
PerformanceResultEnum
.
MONEY_NO_SAME
);
//
throw new ServiceSystemException(PerformanceResultEnum.MONEY_NO_SAME);
}
//
}
//给对应账户减少金额
//给对应账户减少金额
while
(
true
)
{
while
(
true
)
{
...
...
performance-web/src/main/java/com/clx/performance/service/impl/OwnerRunningWaterRecordServiceImpl.java
浏览文件 @
76ff682e
...
@@ -81,7 +81,7 @@ public class OwnerRunningWaterRecordServiceImpl implements OwnerRunningWaterReco
...
@@ -81,7 +81,7 @@ public class OwnerRunningWaterRecordServiceImpl implements OwnerRunningWaterReco
rowData
.
add
(
new
ExcelData
(
dto
.
getUsableBalance
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getUsableBalance
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getAccountBalance
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getAccountBalance
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getTakeOutBalance
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getTakeOutBalance
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getRunningWaterNo
().
toString
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getRunningWaterNo
()
==
null
?
""
:
dto
.
getRunningWaterNo
()
.
toString
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getCreateBy
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getCreateBy
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getCreateTime
().
toString
()));
rowData
.
add
(
new
ExcelData
(
dto
.
getCreateTime
().
toString
()));
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论