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
0ae0ff46
Commit
0ae0ff46
authored
Oct 21, 2024
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: #720 【客户】跟进列表查询条件,下拉框不支持多选
parent
47ae92cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
CustomerFollowupQueryVO.java
...customer/vo/customerFollowup/CustomerFollowupQueryVO.java
+11
-0
CustomerFollowupMapper.xml
...main/resources/mapper/customer/CustomerFollowupMapper.xml
+29
-0
No files found.
yudao-module-customer/yudao-module-customer-core/src/main/java/cn/iocoder/yudao/module/customer/vo/customerFollowup/CustomerFollowupQueryVO.java
View file @
0ae0ff46
...
@@ -85,4 +85,15 @@ public class CustomerFollowupQueryVO extends PageParam {
...
@@ -85,4 +85,15 @@ public class CustomerFollowupQueryVO extends PageParam {
@ApiModelProperty
(
value
=
"结束创建时间"
)
@ApiModelProperty
(
value
=
"结束创建时间"
)
private
Date
endCreateTime
;
private
Date
endCreateTime
;
@ApiModelProperty
(
value
=
"跟进类型,多选,逗号分隔"
)
private
List
<
Integer
>
followTypes
;
@ApiModelProperty
(
value
=
"跟进方式,多选,逗号分隔"
)
private
List
<
Integer
>
followMethods
;
@ApiModelProperty
(
value
=
"跟进结果,多选,逗号分隔"
)
private
List
<
Integer
>
resultTypes
;
//跟进状态,多选,逗号分隔
@ApiModelProperty
(
value
=
"跟进状态,多选,逗号分隔"
)
private
List
<
Integer
>
statuses
;
}
}
yudao-module-customer/yudao-module-customer-core/src/main/resources/mapper/customer/CustomerFollowupMapper.xml
View file @
0ae0ff46
...
@@ -38,6 +38,35 @@
...
@@ -38,6 +38,35 @@
AND a.result_type = #{query.resultType}
AND a.result_type = #{query.resultType}
</if>
</if>
<if
test=
"query.followTypes != null and query.followTypes.size()>0"
>
AND
<foreach
item=
'item'
index=
"index"
collection=
'query.followTypes'
open=
'('
separator=
'or'
close=
')'
>
FIND_IN_SET(#{item}, a.follow_type)
</foreach>
</if>
<if
test=
"query.followMethods != null and query.followMethods.size()>0"
>
AND
<foreach
item=
'item'
index=
"index"
collection=
'query.followMethods'
open=
'('
separator=
'or'
close=
')'
>
FIND_IN_SET(#{item}, a.follow_method)
</foreach>
</if>
<if
test=
"query.resultTypes != null and query.resultTypes.size()>0"
>
AND
<foreach
item=
'item'
index=
"index"
collection=
'query.resultTypes'
open=
'('
separator=
'or'
close=
')'
>
FIND_IN_SET(#{item}, a.result_type)
</foreach>
</if>
<if
test=
"query.statuses != null and query.statuses.size()>0"
>
AND
<foreach
item=
'item'
index=
"index"
collection=
'query.statuses'
open=
'('
separator=
'or'
close=
')'
>
FIND_IN_SET(#{item}, a.status)
</foreach>
</if>
</sql>
</sql>
<select
id=
"selectPage1"
resultType=
"cn.iocoder.yudao.module.customer.dal.dataobject.customerFollowup.CustomerFollowupDO"
>
<select
id=
"selectPage1"
resultType=
"cn.iocoder.yudao.module.customer.dal.dataobject.customerFollowup.CustomerFollowupDO"
>
...
...
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