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
60ef85fc
Commit
60ef85fc
authored
Mar 16, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
卡券修改
parent
1fb2e031
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
MarketServiceImpl.java
...com/gogirl/application/market/impl/MarketServiceImpl.java
+0
-0
TimesCardUsedRecord.java
...m/gogirl/domain/market/timescard/TimesCardUsedRecord.java
+2
-4
OrderServe.java
src/main/java/com/gogirl/domain/order/serve/OrderServe.java
+4
-0
ScheduleServe.java
...ain/java/com/gogirl/domain/order/serve/ScheduleServe.java
+0
-1
No files found.
src/main/java/com/gogirl/application/market/impl/MarketServiceImpl.java
View file @
60ef85fc
This diff is collapsed.
Click to expand it.
src/main/java/com/gogirl/domain/market/timescard/TimesCardUsedRecord.java
View file @
60ef85fc
package
com
.
gogirl
.
domain
.
market
.
timescard
;
package
com
.
gogirl
.
domain
.
market
.
timescard
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -44,6 +41,7 @@ public class TimesCardUsedRecord {
...
@@ -44,6 +41,7 @@ public class TimesCardUsedRecord {
@ApiModelProperty
(
"1.购卡记录;2;用卡记录"
)
@ApiModelProperty
(
"1.购卡记录;2;用卡记录"
)
private
Integer
type
;
private
Integer
type
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
@ApiModelProperty
(
"订单id"
)
@ApiModelProperty
(
"订单id"
)
private
Integer
orderId
;
private
Integer
orderId
;
...
...
src/main/java/com/gogirl/domain/order/serve/OrderServe.java
View file @
60ef85fc
...
@@ -191,6 +191,10 @@ public class OrderServe implements Serializable {
...
@@ -191,6 +191,10 @@ public class OrderServe implements Serializable {
@ApiModelProperty
(
"是否已经被卡券或者次卡折扣过 1-已经绑定了次卡或者优惠券 2-未绑定"
)
@ApiModelProperty
(
"是否已经被卡券或者次卡折扣过 1-已经绑定了次卡或者优惠券 2-未绑定"
)
private
Integer
bindCoupon
=
2
;
private
Integer
bindCoupon
=
2
;
private
BigDecimal
promotionPrice
;
private
Integer
producePromotionTimeId
;
public
void
addDiscountPrice
(
BigDecimal
discountPrice
)
{
public
void
addDiscountPrice
(
BigDecimal
discountPrice
)
{
this
.
discountPrice
=
this
.
discountPrice
.
add
(
discountPrice
);
this
.
discountPrice
=
this
.
discountPrice
.
add
(
discountPrice
);
this
.
payPrice
=
this
.
price
.
subtract
(
discountPrice
);
this
.
payPrice
=
this
.
price
.
subtract
(
discountPrice
);
...
...
src/main/java/com/gogirl/domain/order/serve/ScheduleServe.java
View file @
60ef85fc
...
@@ -177,7 +177,6 @@ public class ScheduleServe implements Serializable {
...
@@ -177,7 +177,6 @@ public class ScheduleServe implements Serializable {
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
Integer
actualServeDuration
;
private
Integer
actualServeDuration
;
private
BigDecimal
promotionPrice
;
private
BigDecimal
promotionPrice
;
private
Integer
producePromotionTimeId
;
private
Integer
producePromotionTimeId
;
...
...
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