Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
Overview
Overview
Details
Activity
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
huluobin
gogirl-miniapp-backend
Commits
4c480d01
Commit
4c480d01
authored
Mar 25, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order pay
parent
4dcc3740
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
MarketServiceImpl.java
...com/gogirl/application/market/impl/MarketServiceImpl.java
+6
-1
Test.java
src/test/java/com/gogirl/Test.java
+0
-0
No files found.
src/main/java/com/gogirl/application/market/impl/MarketServiceImpl.java
View file @
4c480d01
...
...
@@ -316,8 +316,13 @@ public class MarketServiceImpl implements MarketService {
orderServe
.
setPayPrice
(
orderServe
.
getPrice
().
add
(
orderServe
.
getServeChangePrice
()));
//服务折金额=0
orderServe
.
setDiscountPrice
(
BigDecimal
.
ZERO
);
//业绩的实际支付金额
//如果是贵族会员免费手部基础护理 或者 特级会员免费修手 业绩为10元 其他的是实际支付金额
if
(
orderServe
.
getServeName
().
equals
(
"贵族会员免费手部基础护理"
)
||
orderServe
.
getServeName
().
equals
(
"特级会员免费修手"
))
{
orderServe
.
setAchievement
(
new
BigDecimal
(
10
).
add
(
orderServe
.
getServeChangePrice
()));
}
else
{
orderServe
.
setAchievement
(
orderServe
.
getPrice
().
add
(
orderServe
.
getServeChangePrice
()));
}
});
//3.次卡
...
...
src/test/java/com/gogirl/Test.java
View file @
4c480d01
This diff is collapsed.
Click to expand it.
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