Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
b99bf868
Commit
b99bf868
authored
Jul 25, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通用配置
parent
91196d8b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
11 deletions
+26
-11
UserCouponBiz.java
...in/java/com/xxfc/platform/activity/biz/UserCouponBiz.java
+1
-7
Cofig.java
...api/src/main/java/com/xxfc/platform/app/entity/Cofig.java
+1
-0
WithDrawRuleVo.java
.../java/com/xxfc/platform/app/entity/vo/WithDrawRuleVo.java
+24
-4
No files found.
xx-activity/xx-activity-server/src/main/java/com/xxfc/platform/activity/biz/UserCouponBiz.java
View file @
b99bf868
...
...
@@ -273,20 +273,14 @@ public class UserCouponBiz extends BaseBiz<UserCouponMapper, UserCoupon> {
if
(
StringUtils
.
isEmpty
(
userCouponFindDTO
.
getPhone
()))
{
List
<
Integer
>
userIds
=
data
.
stream
().
map
(
UserCouponDTO:
:
getUserId
).
distinct
().
collect
(
Collectors
.
toList
());
if
(
log
.
isDebugEnabled
()){
log
.
debug
(
"查询的用户ids【{}】"
,
userIds
);
}
userIdAndAppuserLoginMap
=
userFeign
.
findAppUsersByUserIds
(
userIds
);
if
(
log
.
isDebugEnabled
()){
log
.
debug
(
"查询的用户信息【{}】"
,
userIdAndAppuserLoginMap
);
}
}
List
<
UserCouponPageVo
>
userCouponPageVos
=
new
ArrayList
<>();
UserCouponPageVo
userCouponPageVo
;
for
(
UserCouponDTO
userCouponDTO
:
data
)
{
userCouponPageVo
=
new
UserCouponPageVo
();
BeanUtils
.
copyProperties
(
userCouponDTO
,
userCouponPageVo
);
if
(
Objects
.
nonNull
(
userCouponFindDTO
.
getPhone
()))
{
if
(
StringUtils
.
isNotEmpty
(
userCouponFindDTO
.
getPhone
()))
{
userCouponPageVo
.
setPhone
(
userCouponFindDTO
.
getPhone
());
}
else
{
userCouponPageVo
.
setPhone
(
userIdAndAppuserLoginMap
.
get
(
userCouponDTO
.
getUserId
())
==
null
?
""
:
userIdAndAppuserLoginMap
.
get
(
userCouponDTO
.
getUserId
()).
getUsername
());
...
...
xx-app/xx-app-api/src/main/java/com/xxfc/platform/app/entity/Cofig.java
View file @
b99bf868
...
...
@@ -65,5 +65,6 @@ public class Cofig implements Serializable {
@ApiModelProperty
(
value
=
"标题"
)
private
String
title
;
@Column
(
name
=
"params"
)
private
String
params
;
}
xx-app/xx-app-api/src/main/java/com/xxfc/platform/app/entity/vo/WithDrawRuleVo.java
View file @
b99bf868
package
com
.
xxfc
.
platform
.
app
.
entity
.
vo
;
import
lombok.Data
;
import
java.math.BigDecimal
;
/**
...
...
@@ -14,17 +13,38 @@ import java.math.BigDecimal;
public
class
WithDrawRuleVo
{
/**
* 提现金额
*
最低
提现金额
*/
private
BigDecimal
a
mount
;
private
BigDecimal
minA
mount
;
/**
* 手续费率
*
提现
手续费率
*/
private
double
proceduReates
;
/**
* 月额度
*/
private
BigDecimal
amountOfMonth
;
/**
* 日额度
*/
private
BigDecimal
amountOfDay
;
/**
* 最多提现次数(月)
*/
private
Integer
maxNumberOfWithdraw
;
/**
* 1. 线上 2.线下
*/
private
Integer
withdrawWay
;
/**
* 规则说明
*/
private
String
description
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment