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
c9e52f1d
Commit
c9e52f1d
authored
Aug 16, 2024
by
fulixin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重点项目清单前十企业接口 添加
parent
f65545c3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
IndexController.java
...src/main/java/com/dsk/jsk/controller/IndexController.java
+13
-1
IndexService.java
...z-api/src/main/java/com/dsk/jsk/service/IndexService.java
+12
-1
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/controller/IndexController.java
View file @
c9e52f1d
...
...
@@ -254,7 +254,19 @@ public class IndexController {
/**
*
*
* 重点项目清单查询-前十企业--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zdxmqdtopten"
)
public
AjaxResult
zdxmqdtopten
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zdxmqdtopten
(
object
);
}
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/service/IndexService.java
View file @
c9e52f1d
...
...
@@ -77,7 +77,18 @@ public class IndexService {
public
AjaxResult
zdxmqdtopten
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/bondProject/importantCompanyStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zdxmqdjctj
(
JSONObject
object
)
{
...
...
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