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
f0c3f018
Commit
f0c3f018
authored
May 23, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-05-23-4提交
parent
8200e450
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
CustomerContactsController.java
...er/admin/customerContacts/CustomerContactsController.java
+25
-0
No files found.
yudao-module-customer/yudao-module-customer-rest/src/main/java/cn/iocoder/yudao/module/customer/controller/admin/customerContacts/CustomerContactsController.java
View file @
f0c3f018
...
...
@@ -132,6 +132,7 @@ public class CustomerContactsController {
ExcelUtils
.
write
(
response
,
"客户联系人.xls"
,
"数据"
,
CustomerContactsExcelVO
.
class
,
datas
);
}
@GetMapping
(
"/select"
)
@ApiOperation
(
"获得客户联系人下拉框列表(单次最多显示20条,请输入联系人电话、联系人姓名、客户名称搜索)"
)
@ApiImplicitParams
({
...
...
@@ -147,6 +148,30 @@ public class CustomerContactsController {
@RequestParam
(
value
=
"customerId"
,
required
=
false
)
Long
customerId
,
PageParam
page
)
{
Long
loginUserId
=
SecurityFrameworkUtils
.
getLoginUserId
();
return
success
(
customerContactsService
.
selectBySearchKey
(
searchKey
,
type
,
ids
,
customerId
,
page
));
}
/*
lanbm 2024-05-23 添加的新的功能接口
用于报价单逻辑控制
*/
@GetMapping
(
"/select2"
)
@ApiOperation
(
"获得客户联系人下拉框列表(单次最多显示20条,请输入联系人电话、联系人姓名、客户名称搜索)"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"searchKey"
,
value
=
"请输入联系人电话、联系人姓名、客户名称搜索"
,
example
=
"姓名或电话"
,
dataTypeClass
=
String
.
class
),
@ApiImplicitParam
(
name
=
"type"
,
value
=
"客户类型"
,
example
=
"姓名或电话"
,
dataTypeClass
=
String
.
class
),
@ApiImplicitParam
(
name
=
"ids"
,
value
=
"编号列表"
,
example
=
"1024,2048"
,
dataTypeClass
=
List
.
class
),
@ApiImplicitParam
(
name
=
"customerId"
,
value
=
"客户ID"
,
example
=
"1024"
,
dataTypeClass
=
Long
.
class
)
})
public
CommonResult
<
PageResult
<
CustomerContactsDto
>>
selectBySearchKey2
(
@RequestParam
(
value
=
"searchKey"
,
required
=
false
)
String
searchKey
,
@RequestParam
(
value
=
"type"
,
required
=
false
)
String
type
,
@RequestParam
(
value
=
"ids"
,
required
=
false
)
Collection
<
Long
>
ids
,
@RequestParam
(
value
=
"customerId"
,
required
=
false
)
Long
customerId
,
PageParam
page
)
{
//lanbm 2024-05-22修改报价单联系人选择
/*
return success(customerContactsService.selectBySearchKey(searchKey,
...
...
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