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
e89886f7
Commit
e89886f7
authored
Mar 23, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
edc0727d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
ScheduleServeMapper.xml
src/main/resources/mapper/order/ScheduleServeMapper.xml
+6
-6
BaseProduceMapper.xml
src/main/resources/mapper/product/BaseProduceMapper.xml
+1
-1
No files found.
src/main/resources/mapper/order/ScheduleServeMapper.xml
View file @
e89886f7
...
@@ -6,13 +6,13 @@
...
@@ -6,13 +6,13 @@
<select
id=
"selectConflictType"
resultType=
"com.gogirl.domain.order.serve.ScheduleServe"
>
<select
id=
"selectConflictType"
resultType=
"com.gogirl.domain.order.serve.ScheduleServe"
>
SELECT t1.*
SELECT t1.*
from scheduled_serve t1
from scheduled_serve t1
LEFT JOIN scheduled_manage t2 on t1.sch_id = t2.id
LEFT JOIN scheduled_manage t2 on t1.sch_id = t2.id
LEFT JOIN base_serve t3 on t1.serve_id = t3.id
LEFT JOIN base_serve t3 on t1.serve_id = t3.id
where t2.scheduled_user = #{scheduledUser}
where t2.scheduled_user = #{scheduledUser}
and t3.sch_type_id = #{schTypeId}
and t3.sch_type_id = #{schTypeId}
and TO_DAYS(t1.start_time) = TO_DAYS(#{days})
and TO_DAYS(t1.start_time) = TO_DAYS(#{days})
and t1.main_serve_id is null
and t1.main_serve_id is null
and t2.`status` = 1
and t2.`status` = 1
</select>
</select>
</mapper>
</mapper>
src/main/resources/mapper/product/BaseProduceMapper.xml
View file @
e89886f7
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
order by t1.sales_num desc
order by t1.sales_num desc
</when>
</when>
<otherwise>
<otherwise>
order by t1.
sales_num
desc
order by t1.
index_sort
desc
</otherwise>
</otherwise>
</choose>
</choose>
</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