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
7d3e18ad
Commit
7d3e18ad
authored
Mar 23, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
193fe9af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
ScheduleManageServiceImpl.java
...plication/order/serve/impl/ScheduleManageServiceImpl.java
+10
-0
ScheduleServe.java
...ain/java/com/gogirl/domain/order/serve/ScheduleServe.java
+6
-4
ScheduleManageMapper.xml
src/main/resources/mapper/order/ScheduleManageMapper.xml
+1
-1
No files found.
src/main/java/com/gogirl/application/order/serve/impl/ScheduleManageServiceImpl.java
View file @
7d3e18ad
...
@@ -1214,6 +1214,16 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
...
@@ -1214,6 +1214,16 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
else
{
else
{
//设置价格为服务价格
//设置价格为服务价格
scheduleServe
.
setLengthTime
(
baseServe
.
getServiceDuration
());
scheduleServe
.
setLengthTime
(
baseServe
.
getServiceDuration
());
//款式名称
scheduleServe
.
setProduceName
(
null
);
//款式图片
scheduleServe
.
setProducePicturePath
(
null
);
//款式原价
scheduleServe
.
setProduceBargainPrice
(
null
);
//款式现价
scheduleServe
.
setProduceCurrentPrice
(
null
);
//款式id
scheduleServe
.
setProduceId
(
null
);
}
}
//款式做法
//款式做法
scheduleServe
.
setExplain
(
baseServe
.
getExplain
());
scheduleServe
.
setExplain
(
baseServe
.
getExplain
());
...
...
src/main/java/com/gogirl/domain/order/serve/ScheduleServe.java
View file @
7d3e18ad
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
;
...
@@ -87,21 +84,26 @@ public class ScheduleServe implements Serializable {
...
@@ -87,21 +84,26 @@ public class ScheduleServe implements Serializable {
@ApiModelProperty
(
"样式名称"
)
@ApiModelProperty
(
"样式名称"
)
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
private
String
produceName
;
private
String
produceName
;
@ApiModelProperty
(
"服务数量"
)
@ApiModelProperty
(
"服务数量"
)
private
Integer
serveNumber
;
private
Integer
serveNumber
;
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
@ApiModelProperty
(
"预约款式id"
)
@ApiModelProperty
(
"预约款式id"
)
private
Integer
produceId
;
private
Integer
produceId
;
@ApiModelProperty
(
"款式当前价格"
)
@ApiModelProperty
(
"款式当前价格"
)
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
private
BigDecimal
produceCurrentPrice
;
private
BigDecimal
produceCurrentPrice
;
@ApiModelProperty
(
"款式特价"
)
@ApiModelProperty
(
"款式特价"
)
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
private
BigDecimal
produceBargainPrice
;
private
BigDecimal
produceBargainPrice
;
@ApiModelProperty
(
"款式图片地址"
)
@ApiModelProperty
(
"款式图片地址"
)
@TableField
(
strategy
=
FieldStrategy
.
IGNORED
)
private
String
producePicturePath
;
private
String
producePicturePath
;
/**
/**
* 服务
* 服务
...
...
src/main/resources/mapper/order/ScheduleManageMapper.xml
View file @
7d3e18ad
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
where t1.is_enabled =1
where t1.is_enabled =1
and t2.id is not null
and t2.id is not null
and t3.id is not null
and t3.id is not null
order by distance
order by distance
,week_date,time_node
</select>
</select>
<select
id=
"queryTechnicianTimeNode"
resultType=
"com.gogirl.dto.TechnicianTimeNode"
>
<select
id=
"queryTechnicianTimeNode"
resultType=
"com.gogirl.dto.TechnicianTimeNode"
>
...
...
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