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
9e012b3e
Commit
9e012b3e
authored
Mar 18, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1866c01f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
14 deletions
+28
-14
OrderManageServiceImpl.java
.../application/order/serve/impl/OrderManageServiceImpl.java
+14
-0
ScheduleManageServiceImpl.java
...plication/order/serve/impl/ScheduleManageServiceImpl.java
+0
-10
OrderServe.java
src/main/java/com/gogirl/domain/order/serve/OrderServe.java
+14
-4
No files found.
src/main/java/com/gogirl/application/order/serve/impl/OrderManageServiceImpl.java
View file @
9e012b3e
...
@@ -294,6 +294,20 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order
...
@@ -294,6 +294,20 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order
else
{
else
{
//服务时长=服务时长
//服务时长=服务时长
orderServe
.
setServeDuration
(
baseServe
.
getServiceDuration
());
orderServe
.
setServeDuration
(
baseServe
.
getServiceDuration
());
orderServe
.
setProduceBargainPrice
(
null
);
//款式现价
orderServe
.
setProduceCurrentPrice
(
null
);
//款式Id
orderServe
.
setProduceId
(
null
);
//款式名称
orderServe
.
setProduceName
(
null
);
//款式图片
orderServe
.
setProducePicturePath
(
null
);
orderServe
.
setProducePromotionTimeId
(
null
);
orderServe
.
setPromotionPrice
(
null
);
}
}
if
(
orderServeParam
.
getServeChangePrice
()
!=
null
)
{
if
(
orderServeParam
.
getServeChangePrice
()
!=
null
)
{
...
...
src/main/java/com/gogirl/application/order/serve/impl/ScheduleManageServiceImpl.java
View file @
9e012b3e
...
@@ -336,16 +336,6 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
...
@@ -336,16 +336,6 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
})
})
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
//
// for (IdleTimeDTO idleTimeDTO : idleTimeDTOList) {
// List<ScheduleServeQuery> scheduleServeQueryList = idleTimeDTO.getDefaultNodeList().stream().map(TreeProgram::getScheduleServeQuery).collect(Collectors.toList());
// for (ScheduleServeQuery scheduleServeQuery : scheduleServeQueryList) {
// if (this.isLeisureTime(idleTimeDTO.getTime(), idleTimeDTO.getDateTime(), scheduleServeQuery.getServeId())) {
// //闲时打折
// idleTimeDTO.setIsLeisureDiscount(1);
// }
// }
// }
return
idleTimeDTOList
;
return
idleTimeDTOList
;
}
}
...
...
src/main/java/com/gogirl/domain/order/serve/OrderServe.java
View file @
9e012b3e
package
com
.
gogirl
.
domain
.
order
.
serve
;
package
com
.
gogirl
.
domain
.
order
.
serve
;
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
com.gogirl.domain.product.serve.BaseProduce
;
import
com.gogirl.domain.product.serve.BaseProduce
;
import
com.gogirl.domain.product.serve.BaseServe
;
import
com.gogirl.domain.product.serve.BaseServe
;
...
@@ -78,17 +75,27 @@ public class OrderServe implements Serializable {
...
@@ -78,17 +75,27 @@ public class OrderServe implements Serializable {
private
String
serveType
;
private
String
serveType
;
private
Integer
serveTypeId
;
private
Integer
serveTypeId
;
/**
/**
* 预约款式vo
* 预约款式vo
*/
*/
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
@ApiModelProperty
(
"预约款式id"
)
@ApiModelProperty
(
"预约款式id"
)
private
Integer
produceId
;
private
Integer
produceId
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
@ApiModelProperty
(
"款式名称"
)
@ApiModelProperty
(
"款式名称"
)
private
String
produceName
;
private
String
produceName
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
@ApiModelProperty
(
"款式图片地址"
)
@ApiModelProperty
(
"款式图片地址"
)
private
String
producePicturePath
;
private
String
producePicturePath
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
@ApiModelProperty
(
"款式当前价格"
)
@ApiModelProperty
(
"款式当前价格"
)
private
BigDecimal
produceCurrentPrice
;
private
BigDecimal
produceCurrentPrice
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
@ApiModelProperty
(
"款式特价"
)
@ApiModelProperty
(
"款式特价"
)
private
BigDecimal
produceBargainPrice
;
private
BigDecimal
produceBargainPrice
;
/**
/**
...
@@ -186,13 +193,16 @@ public class OrderServe implements Serializable {
...
@@ -186,13 +193,16 @@ public class OrderServe implements Serializable {
private
Integer
actualServeDuration
;
private
Integer
actualServeDuration
;
@ApiModelProperty
(
"服务配置时长"
)
@ApiModelProperty
(
"服务配置时长"
)
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
private
Integer
serveDuration
;
private
Integer
serveDuration
;
@ApiModelProperty
(
"是否已经被卡券或者次卡折扣过 1-已经绑定了次卡或者优惠券 2-未绑定"
)
@ApiModelProperty
(
"是否已经被卡券或者次卡折扣过 1-已经绑定了次卡或者优惠券 2-未绑定"
)
private
Integer
bindCoupon
=
2
;
private
Integer
bindCoupon
=
2
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
private
BigDecimal
promotionPrice
;
private
BigDecimal
promotionPrice
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
private
Integer
producePromotionTimeId
;
private
Integer
producePromotionTimeId
;
private
BigDecimal
discountRate
;
private
BigDecimal
discountRate
;
...
...
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