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
670787a0
Commit
670787a0
authored
Jun 29, 2023
by
zhangyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
3c30c173
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
EnterpriseController.java
...java/com/dsk/web/controller/dsk/EnterpriseController.java
+8
-1
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+9
-0
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseController.java
View file @
670787a0
...
@@ -10,6 +10,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -10,6 +10,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.validation.Valid
;
import
javax.validation.Valid
;
import
java.util.List
;
/**
/**
...
@@ -125,8 +126,14 @@ public class EnterpriseController {
...
@@ -125,8 +126,14 @@ public class EnterpriseController {
@ApiOperation
(
value
=
"企业主体信用评级"
)
@ApiOperation
(
value
=
"企业主体信用评级"
)
@PostMapping
(
value
=
"bondCreditRating"
)
@PostMapping
(
value
=
"bondCreditRating"
)
public
R
remark
(
@RequestBody
@Valid
EnterpriseBondCreditRatingBody
vo
)
throws
Exception
{
public
R
bondCreditRating
(
@RequestBody
@Valid
EnterpriseBondCreditRatingBody
vo
)
throws
Exception
{
return
enterpriseService
.
bondCreditRating
(
vo
);
return
enterpriseService
.
bondCreditRating
(
vo
);
}
}
@ApiOperation
(
value
=
"通过建设库企业id批量获取城投企业id"
)
@PostMapping
(
value
=
"getUipIdByCid"
)
public
R
getUipIdByCid
(
@RequestBody
List
<
Integer
>
vo
)
throws
Exception
{
return
enterpriseService
.
getUipIdByCid
(
vo
);
}
}
}
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
670787a0
...
@@ -254,4 +254,13 @@ public class EnterpriseService {
...
@@ -254,4 +254,13 @@ public class EnterpriseService {
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/bondCreditRating"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/bondCreditRating"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
public
R
getUipIdByCid
(
List
<
Integer
>
body
)
throws
Exception
{
ArrayList
<
Integer
>
ids
=
new
ArrayList
<>();
ids
.
add
(
3068
);
HashMap
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
paramMap
.
put
(
"ids"
,
body
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterprise/getUipIdByCid"
,
paramMap
);
return
BeanUtil
.
toBean
(
map
,
R
.
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