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
004e49d3
Commit
004e49d3
authored
Oct 21, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release' into release
parents
f7429785
bdda1d11
Changes
2
Hide 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 @
004e49d3
...
...
@@ -85,4 +85,15 @@ public class CustomerFollowupQueryVO extends PageParam {
@ApiModelProperty
(
value
=
"结束创建时间"
)
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 @
004e49d3
...
...
@@ -38,6 +38,35 @@
AND a.result_type = #{query.resultType}
</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>
<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