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
fce91f49
Commit
fce91f49
authored
Jun 08, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
072fb2f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
TechniqueSkuServiceImpl.java
...plication/product/serve/impl/TechniqueSkuServiceImpl.java
+2
-2
ScheduleServeMapper.java
...nfrastructure/mapper/order/serve/ScheduleServeMapper.java
+4
-4
ScheduleServeMapper.xml
src/main/resources/mapper/order/ScheduleServeMapper.xml
+2
-2
No files found.
src/main/java/com/gogirl/application/product/serve/impl/TechniqueSkuServiceImpl.java
View file @
fce91f49
...
@@ -75,8 +75,8 @@ public class TechniqueSkuServiceImpl extends ServiceImpl<TechniqueSkuMapper, Tec
...
@@ -75,8 +75,8 @@ public class TechniqueSkuServiceImpl extends ServiceImpl<TechniqueSkuMapper, Tec
ScheduleServe
scheduleServe
=
scheduleServeMapper
.
selectById
(
scheduleServeId
);
ScheduleServe
scheduleServe
=
scheduleServeMapper
.
selectById
(
scheduleServeId
);
BaseServe
baseServe
=
baseServeMapper
.
selectById
(
scheduleServe
.
getServeId
());
BaseServe
baseServe
=
baseServeMapper
.
selectById
(
scheduleServe
.
getServeId
());
ScheduleServe
subRemoveArmor
=
scheduleServeMapper
.
subRemoveArmor
(
scheduleServe
Id
,
scheduleServe
.
getSchId
());
ScheduleServe
subRemoveArmor
=
scheduleServeMapper
.
subRemoveArmor
(
scheduleServe
.
getServeId
()
,
scheduleServe
.
getSchId
());
ScheduleServe
subExtend
=
scheduleServeMapper
.
subExtend
(
scheduleServe
Id
,
scheduleServe
.
getSchId
());
ScheduleServe
subExtend
=
scheduleServeMapper
.
subExtend
(
scheduleServe
.
getServeId
()
,
scheduleServe
.
getSchId
());
wrapper
.
eq
(
TechniqueCategory:
:
getServiceTypeId
,
baseServe
.
getTypeId
());
wrapper
.
eq
(
TechniqueCategory:
:
getServiceTypeId
,
baseServe
.
getTypeId
());
...
...
src/main/java/com/gogirl/infrastructure/mapper/order/serve/ScheduleServeMapper.java
View file @
fce91f49
...
@@ -27,19 +27,19 @@ public interface ScheduleServeMapper extends BaseMapper<ScheduleServe> {
...
@@ -27,19 +27,19 @@ public interface ScheduleServeMapper extends BaseMapper<ScheduleServe> {
/**
/**
* 服务的卸甲子服务
* 服务的卸甲子服务
*
*
* @param
schedule
ServeId
* @param
main
ServeId
* @return
* @return
*/
*/
ScheduleServe
subRemoveArmor
(
@Param
(
"
scheduleServeId"
)
Integer
schedule
ServeId
,
@Param
(
"scheduleId"
)
Integer
scheduleId
);
ScheduleServe
subRemoveArmor
(
@Param
(
"
mainServeId"
)
Integer
main
ServeId
,
@Param
(
"scheduleId"
)
Integer
scheduleId
);
/**
/**
* 服务的延长子服务
* 服务的延长子服务
*
*
* @param
schedule
ServeId
* @param
main
ServeId
* @param scheduleId
* @param scheduleId
* @return
* @return
*/
*/
ScheduleServe
subExtend
(
@Param
(
"
scheduleServeId"
)
Integer
schedule
ServeId
,
@Param
(
"scheduleId"
)
Integer
scheduleId
);
ScheduleServe
subExtend
(
@Param
(
"
mainServeId"
)
Integer
main
ServeId
,
@Param
(
"scheduleId"
)
Integer
scheduleId
);
}
}
src/main/resources/mapper/order/ScheduleServeMapper.xml
View file @
fce91f49
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
select *
select *
from scheduled_serve
from scheduled_serve
where sch_id = #{scheduleId}
where sch_id = #{scheduleId}
and main_serve_id = #{
schedule
ServeId}
and main_serve_id = #{
main
ServeId}
and serve_name like concat('%', '卸甲', '%')
and serve_name like concat('%', '卸甲', '%')
limit 1
limit 1
</select>
</select>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
select *
select *
from scheduled_serve
from scheduled_serve
where sch_id = #{scheduleId}
where sch_id = #{scheduleId}
and main_serve_id = #{
schedule
ServeId}
and main_serve_id = #{
main
ServeId}
and serve_name like concat('%', '延长', '%')
and serve_name like concat('%', '延长', '%')
limit 1
limit 1
</select>
</select>
...
...
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