Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
ede61d2f
Commit
ede61d2f
authored
Apr 16, 2020
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-order' into dev
parents
c6a867dd
95be9239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
OrderActiveDetailMapper.xml
...ver/src/main/resources/mapper/OrderActiveDetailMapper.xml
+3
-3
No files found.
xx-order/xx-order-server/src/main/resources/mapper/OrderActiveDetailMapper.xml
View file @
ede61d2f
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
select oad.*, bo.no as orderNo,bo.user_id, bo.goods_amount, bo.real_amount, bo.`status`, bo.crt_time as orderTime from order_active_detail oad
select oad.*, bo.no as orderNo,bo.user_id, bo.goods_amount, bo.real_amount, bo.`status`, bo.crt_time as orderTime from order_active_detail oad
LEFT JOIN base_order bo on bo.id = oad.order_id
LEFT JOIN base_order bo on bo.id = oad.order_id
<where>
<where>
<if
test=
"o
rderNo != null and order
No != ''"
>
<if
test=
"o
neNo != null and one
No != ''"
>
and bo.no = #{o
rder
No}
and bo.no = #{o
ne
No}
</if>
</if>
<if
test=
"userId != null and userId > 0"
>
<if
test=
"userId != null and userId > 0"
>
and bo.user_id = #{userId}
and bo.user_id = #{userId}
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<if
test=
"status != null and status > 0"
>
<if
test=
"status != null and status > 0"
>
and bo.status = #{status}
and bo.status = #{status}
</if>
</if>
order By bo.crt_time DESC
</where>
</where>
order By bo.crt_time DESC
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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