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
63b961b1
Commit
63b961b1
authored
Jun 20, 2023
by
dengguangman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-
parent
f46539fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
CompanySearchController.java
...controller/search/controller/CompanySearchController.java
+2
-0
RegionalEconomicDataController.java
...er/search/macroMarket/RegionalEconomicDataController.java
+0
-1
BasePage.java
.../main/java/com/dsk/common/core/domain/model/BasePage.java
+20
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/search/controller/CompanySearchController.java
View file @
63b961b1
...
...
@@ -44,6 +44,8 @@ public class CompanySearchController {
public
AjaxResult
page
(
@RequestBody
ComposeQueryDto
compose
)
{
compose
.
getPage
().
setPage
(
compose
.
getPageNum
());
compose
.
getPage
().
setLimit
(
compose
.
getPageSize
());
compose
.
getPage
().
setField
(
compose
.
getField
());
compose
.
getPage
().
setOrder
(
compose
.
getOrder
());
return
opportunityRadarService
.
enterprisePage
(
compose
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/macroMarket/RegionalEconomicDataController.java
View file @
63b961b1
...
...
@@ -74,7 +74,6 @@ public class RegionalEconomicDataController {
public
AjaxResult
location
(
@RequestBody
OpRegionalLocalDto
vo
,
HttpServletRequest
request
){
String
ip
=
IpUtil
.
getIpAddr
(
request
);
vo
.
setIp
(
ip
);
log
.
info
(
"location====================================>"
+
ip
);
return
economicService
.
location
(
vo
);
}
...
...
dsk-common/src/main/java/com/dsk/common/core/domain/model/BasePage.java
View file @
63b961b1
...
...
@@ -34,6 +34,10 @@ public class BasePage {
*/
private
Integer
pageMaxSize
;
private
String
field
;
private
String
order
;
public
Integer
getPageIndex
()
{
return
pageNum
;
...
...
@@ -74,6 +78,22 @@ public class BasePage {
this
.
pageIndex
=
pageNum
;
}
public
String
getField
()
{
return
field
;
}
public
void
setField
(
String
field
)
{
this
.
field
=
field
;
}
public
String
getOrder
()
{
return
order
;
}
public
void
setOrder
(
String
order
)
{
this
.
order
=
order
;
}
@Override
public
String
toString
()
{
StringBuilder
builder
=
new
StringBuilder
();
...
...
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