Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Administrator
dsk-cr20g
Commits
20c00609
Commit
20c00609
authored
May 25, 2023
by
lcl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业接口
parent
34550292
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
CompanySearchController.java
...controller/search/controller/CompanySearchController.java
+9
-2
BusinessOpportunityRadarServiceImpl.java
...rch/service/impl/BusinessOpportunityRadarServiceImpl.java
+1
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/search/controller/CompanySearchController.java
View file @
20c00609
...
@@ -11,7 +11,7 @@ import javax.annotation.Resource;
...
@@ -11,7 +11,7 @@ import javax.annotation.Resource;
/**
/**
*
模糊
查企业
* 查企业
* @author Administrator
* @author Administrator
*
*
*/
*/
...
@@ -24,11 +24,18 @@ public class CompanySearchController {
...
@@ -24,11 +24,18 @@ public class CompanySearchController {
BusinessOpportunityRadarService
opportunityRadarService
;
BusinessOpportunityRadarService
opportunityRadarService
;
/*
/*
*
土地交易
*
模糊查询企业名称
*/
*/
@RequestMapping
(
"/index"
)
@RequestMapping
(
"/index"
)
public
AjaxResult
landMarketPage
(
@RequestBody
ComposeQueryDto
compose
)
{
public
AjaxResult
landMarketPage
(
@RequestBody
ComposeQueryDto
compose
)
{
return
opportunityRadarService
.
enterprisePage
(
compose
);
return
opportunityRadarService
.
enterprisePage
(
compose
);
}
}
/*
* 完全匹配企业名称
*/
@RequestMapping
(
"/findByName"
)
public
AjaxResult
findByName
(
@RequestBody
ComposeQueryDto
compose
)
{
return
opportunityRadarService
.
enterpriseByName
(
compose
);
}
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/service/impl/BusinessOpportunityRadarServiceImpl.java
View file @
20c00609
...
@@ -58,6 +58,7 @@ public class BusinessOpportunityRadarServiceImpl implements BusinessOpportunityR
...
@@ -58,6 +58,7 @@ public class BusinessOpportunityRadarServiceImpl implements BusinessOpportunityR
@Override
@Override
public
AjaxResult
enterpriseByName
(
ComposeQueryDto
compose
){
public
AjaxResult
enterpriseByName
(
ComposeQueryDto
compose
){
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/enterprice/findByName"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/enterprice/findByName"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
// Map<String, Object> map = dskOpenApiUtil.requestBody("/nationzj/enterprice/findByName", BeanUtil.beanToMap(compose, false, false));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
}
}
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