Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
c3ce8754
提交
c3ce8754
authored
8月 31, 2023
作者:
xiaowang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改钱包流水bug
上级
71792f11
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
75 行增加
和
2 行删除
+75
-2
FddConnectConstant.java
...va/com/mmc/iuav/user/constant/fdd/FddConnectConstant.java
+27
-0
FddConstant.java
...main/java/com/mmc/iuav/user/constant/fdd/FddConstant.java
+46
-0
PayWalletServiceImpl.java
...c/iuav/user/service/wallet/impl/PayWalletServiceImpl.java
+2
-2
没有找到文件。
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/constant/fdd/FddConnectConstant.java
0 → 100644
浏览文件 @
c3ce8754
package
com
.
mmc
.
iuav
.
user
.
constant
.
fdd
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Component
;
/**
* @author:zhenjie Date:2022/7/16
* time:14:58
*/
@Component
public
class
FddConnectConstant
{
public
static
String
APP_ID
;
public
static
String
APP_KEY
;
public
static
String
VERSION
;
public
static
String
HOST
;
public
static
String
MMC_URL
;
public
FddConnectConstant
(
@Value
(
"${fdd.appid}"
)
String
appid
,
@Value
(
"${fdd.appkey}"
)
String
appkey
,
@Value
(
"${fdd.version}"
)
String
version
,
@Value
(
"${fdd.host}"
)
String
host
,
@Value
(
"${fdd.mmc-url}"
)
String
mmcUrl
)
{
APP_ID
=
appid
;
APP_KEY
=
appkey
;
VERSION
=
version
;
HOST
=
host
;
MMC_URL
=
mmcUrl
;
}
}
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/constant/fdd/FddConstant.java
0 → 100644
浏览文件 @
c3ce8754
package
com
.
mmc
.
iuav
.
user
.
constant
.
fdd
;
import
org.springframework.stereotype.Component
;
/**
* author:zhenjie
* Date:2022/7/22
* time:11:07
*/
@Component
public
class
FddConstant
{
public
static
final
String
CODE
=
"code"
;
public
static
final
String
DATA
=
"data"
;
public
static
final
String
SUCCESS
=
"1"
;
public
static
final
String
MSG
=
"msg"
;
public
static
final
String
SIGNATURE_ID
=
"signature_id"
;
public
static
final
String
UPLOAD_FILE
=
"uploadFile/"
;
//企业实名认证异步回调
public
static
final
String
NOTIFY_E_CERT_RES
=
"fddservlet/fdd/notifyECertRes"
;
//企业实名认证同步回调
public
static
final
String
RETURN_E_CERT_RES
=
"fddservlet/fdd/returnECertRes"
;
//小程序企业实名认证异步回调
public
static
final
String
APP_NOTIFY_E_CERT_RES
=
"fddservlet/appfdd/notifyECertRes"
;
//签署合同异步回调
public
static
final
String
NOTIFY_STAMP
=
"fddservlet/contract/notifyStamp"
;
public
static
final
String
UAV_NOTIFY_STAMP
=
"fddservlet/uav/contract/notifyStamp"
;
public
static
final
String
APP_ID
=
"appId"
;
public
static
final
String
CUSTOMER_ID
=
"customerId"
;
public
static
final
String
STATUS
=
"status"
;
public
static
final
String
SERIAL_NO
=
"serialNo"
;
public
static
final
String
SIGN
=
"sign"
;
public
static
final
String
UID_REGEX
=
"[-|_]"
;
}
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/wallet/impl/PayWalletServiceImpl.java
浏览文件 @
c3ce8754
...
...
@@ -137,10 +137,10 @@ public class PayWalletServiceImpl implements PayWalletService {
publishUpdatePayWallet
.
setPid
(
publishWallet
.
getPid
());
publishUpdatePayWallet
.
setCashAmt
(
publishWallet
.
getCashAmt
().
add
(
publisherWalletFlowVO
.
getCashAmount
()));
publishUpdatePayWallet
.
setCashFreeze
(
publishWallet
.
getCashFreeze
().
subtract
(
publisherWalletFlowVO
.
getCashAmount
())
.
add
(
publisherWalletFlowVO
.
getYxjCashPledge
())
.
add
(
publisherWalletFlowVO
.
getYxjCashPledge
())
);
.
add
(
publisherWalletFlowVO
.
getYxjCashPledge
()));
publishUpdatePayWallet
.
setSalaryAmt
(
publishWallet
.
getSalaryAmt
().
add
(
publisherWalletFlowVO
.
getSalaryAmount
()));
publishUpdatePayWallet
.
setSalaryFreeze
(
publishWallet
.
getSalaryFreeze
().
add
(
publisherWalletFlowVO
.
getSalaryCashPledge
())
.
subtract
(
publisherWalletFlowVO
.
getSalaryAmount
())
.
add
(
publisherWalletFlowVO
.
getSalaryCashPledge
())
);
.
subtract
(
publisherWalletFlowVO
.
getSalaryAmount
()));
// 更新发布者钱包数据
int
publishUpdateCount
=
payWalletDao
.
updatePayWallet
(
publishUpdatePayWallet
);
if
(
publishUpdateCount
<=
0
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论