Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
52315b1a
Commit
52315b1a
authored
Dec 03, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单搜索收发货人电话参数改模糊查询
parent
8d659955
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
OrderQueryVO.java
.../cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
+1
-1
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+6
-7
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
View file @
52315b1a
...
...
@@ -447,7 +447,7 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"发货客户联系人IDs"
)
private
Collection
<
Long
>
consignorContactsIds
;
@ApiModelProperty
(
value
=
"
收
货人手机号"
)
@ApiModelProperty
(
value
=
"
发
货人手机号"
)
private
String
consignorPhone
;
@ApiModelProperty
(
value
=
"收货客户id"
)
...
...
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
52315b1a
...
...
@@ -2380,14 +2380,13 @@
AND nor.`customer_id` = #{query.consignorId}
</if>
<if
test=
"query.consignorPhone != null and query.consignorPhone != '' "
>
AND nor.`phone`
= #{query.consignorPhone}
AND nor.`phone`
like concat("%",concat(#{query.consignorPhone},"%"))
</if>
<if
test=
"query.consigneeId != null "
>
AND nee.`customer_id` = #{query.consigneeId}
</if>
<if
test=
"query.consigneePhone != null and query.consigneePhone != '' "
>
AND nee.`phone`
= #{query.consigneePhone}
AND nee.`phone`
like concat("%",concat(#{query.consigneePhone},"%"))
</if>
<if
test=
"query.isCargoControl != null "
>
AND o.`is_cargo_control` = #{query.isCargoControl}
...
...
@@ -3237,13 +3236,13 @@
AND nor.`customer_id` = #{query.consignorId}
</if>
<if
test=
"query.consignorPhone != null and query.consignorPhone != '' "
>
AND nor.`phone`
= #{query.consignorPhone}
AND nor.`phone`
like concat("%",concat(#{query.consignorPhone},"%"))
</if>
<if
test=
"query.consigneeId != null "
>
AND nee.`customer_id` = #{query.consigneeId}
</if>
<if
test=
"query.consigneePhone != null and query.consigneePhone != '' "
>
AND nee.`phone`
= #{query.consigneePhone}
AND nee.`phone`
like concat("%",concat(#{query.consigneePhone},"%"))
</if>
<if
test=
"query.isCargoControl != null "
>
AND o.`is_cargo_control` = #{query.isCargoControl}
...
...
@@ -5708,13 +5707,13 @@
AND nor.`customer_id` = #{query.consignorId}
</if>
<if
test=
"query.consignorPhone != null and query.consignorPhone != '' "
>
AND nor.`phone`
= #{query.consignorPhone}
AND nor.`phone`
like concat("%",concat(#{query.consignorPhone},"%"))
</if>
<if
test=
"query.consigneeId != null "
>
AND nee.`customer_id` = #{query.consigneeId}
</if>
<if
test=
"query.consigneePhone != null and query.consigneePhone != '' "
>
AND nee.`phone`
= #{query.consigneePhone}
AND nee.`phone`
like concat("%",concat(#{query.consigneePhone},"%"))
</if>
<if
test=
"query.isCargoControl != null "
>
AND o.`is_cargo_control` = #{query.isCargoControl}
...
...
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