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
5b7912b2
Commit
5b7912b2
authored
Dec 21, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
37682961
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
BaseProduceMapper.xml
src/main/resources/mapper/product/BaseProduceMapper.xml
+3
-1
BaseServeMapper.xml
src/main/resources/mapper/product/BaseServeMapper.xml
+3
-1
No files found.
src/main/resources/mapper/product/BaseProduceMapper.xml
View file @
5b7912b2
...
@@ -127,7 +127,9 @@
...
@@ -127,7 +127,9 @@
and t1.service_id =#{request.serveId}
and t1.service_id =#{request.serveId}
</if>
</if>
and t1.`status` =1
and t1.`status` =1
and t5.store_id = #{request.departmentId}
<if
test=
"request.departmentId !=null "
>
and t5.store_id = #{request.departmentId}
</if>
<choose>
<choose>
<when
test=
"request.sort == 1 "
>
<when
test=
"request.sort == 1 "
>
order by t1.sales_num desc
order by t1.sales_num desc
...
...
src/main/resources/mapper/product/BaseServeMapper.xml
View file @
5b7912b2
...
@@ -174,8 +174,10 @@
...
@@ -174,8 +174,10 @@
<if
test=
"baseServe.labelId != null "
>
<if
test=
"baseServe.labelId != null "
>
and t2.features_id = #{baseServe.labelId}
and t2.features_id = #{baseServe.labelId}
</if>
</if>
<if
test=
"baseServe.departmentId != null "
>
and t3.store_id = #{baseServe.departmentId}
</if>
and has_purchase_show=1
and has_purchase_show=1
and t3.store_id = #{baseServe.departmentId}
order by purchase_show_index desc
order by purchase_show_index desc
</select>
</select>
</mapper>
</mapper>
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