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
b243a072
Commit
b243a072
authored
Feb 21, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
集运包裹主页修改
parent
b3301cf1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
ConsQueryVO.java
...va/cn/iocoder/yudao/module/order/vo/cons/ConsQueryVO.java
+6
-0
ConsMapper.xml
...-order-core/src/main/resources/mapper/cons/ConsMapper.xml
+43
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/cons/ConsQueryVO.java
View file @
b243a072
...
@@ -147,4 +147,10 @@ public class ConsQueryVO {
...
@@ -147,4 +147,10 @@ public class ConsQueryVO {
@ApiModelProperty
(
value
=
"发货人(发货人手机号、客户编号)"
)
@ApiModelProperty
(
value
=
"发货人(发货人手机号、客户编号)"
)
private
String
customerKey
;
private
String
customerKey
;
@ApiModelProperty
(
value
=
"发货人名称"
)
private
String
customerName
;
@ApiModelProperty
(
value
=
"跟进客服"
)
private
List
<
Long
>
salesmanIds
;
}
}
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/cons/ConsMapper.xml
View file @
b243a072
...
@@ -76,6 +76,49 @@
...
@@ -76,6 +76,49 @@
AND concat(IFNULL(cons.`customer_number`,''), IFNULL(eccs.`phone_new`,'')) like
AND concat(IFNULL(cons.`customer_number`,''), IFNULL(eccs.`phone_new`,'')) like
concat("%",concat(#{query.customerKey},"%"))
concat("%",concat(#{query.customerKey},"%"))
</if>
</if>
<if
test=
"query.customerName != null and query.customerName != '' "
>
AND ec.name like concat("%",concat(#{query.customerName},"%"))
</if>
<if
test=
"query.transportId != null"
>
AND cons.`transport_id` = #{query.transportId}
</if>
<if
test=
"query.consigneeCityId != null"
>
AND cons.`consignee_city_id` = #{query.consigneeCityId}
</if>
<if
test=
"query.consigneeCountryId != null"
>
AND cons.`consignee_country_id` = #{query.consigneeCountryId}
</if>
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()>0"
>
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()==1 "
>
AND (o.`salesman_id` =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in(select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service =
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
))
</if>
<if
test=
"query.salesmanIds != null and query.salesmanIds.size()>1 "
>
AND (o.`salesman_id` in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
or
o.`customer_id` in (select cus.id from ecw_customer cus where cus.is_customer_service_confirmed = 1 and
cus.customer_service in
<foreach
item=
'salesmanId'
index=
"index"
collection=
'query.salesmanIds'
open=
'('
separator=
','
close=
')'
>
#{salesmanId}
</foreach>
)
)
</if>
</if>
</sql>
</sql>
</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