Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
51c2378a
Commit
51c2378a
authored
Aug 01, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style(代码格式化)
1.代码格式化
parent
7fafe95b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
JyjcOpeningApplicationController.java
...jyjc/biz/controller/JyjcOpeningApplicationController.java
+6
-7
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcOpeningApplicationController.java
View file @
51c2378a
...
...
@@ -23,7 +23,6 @@ import io.swagger.annotations.ApiOperation;
import
io.swagger.annotations.ApiParam
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.Assert
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
...
...
@@ -69,7 +68,7 @@ public class JyjcOpeningApplicationController extends BaseController {
}
if
(
jsonObject
.
containsKey
(
"buniessInfo"
)
&&
jsonObject
.
getJSONObject
(
"buniessInfo"
)
!=
null
)
{
JSONObject
businessInfo
=
jsonObject
.
getJSONObject
(
"buniessInfo"
);
if
(
businessInfo
.
containsKey
(
"baseUnitLicences"
)
&&
businessInfo
.
get
(
"baseUnitLicences"
)
!=
null
)
{
if
(
businessInfo
.
containsKey
(
"baseUnitLicences"
)
&&
businessInfo
.
get
(
"baseUnitLicences"
)
!=
null
)
{
List
<
BaseEnterpriseCertDto
>
baseUnitLicences
=
businessInfo
.
getJSONArray
(
"baseUnitLicences"
)
.
toJavaList
(
BaseEnterpriseCertDto
.
class
);
jyjcOpeningApplicationModel
.
setBaseUnitLicences
(
baseUnitLicences
);
...
...
@@ -91,7 +90,7 @@ public class JyjcOpeningApplicationController extends BaseController {
}
if
(
jsonObject
.
containsKey
(
"buniessInfo"
)
&&
jsonObject
.
getJSONObject
(
"buniessInfo"
)
!=
null
)
{
JSONObject
businessInfo
=
jsonObject
.
getJSONObject
(
"buniessInfo"
);
// 注意拼写修正
if
(
businessInfo
.
containsKey
(
"baseUnitLicences"
)
&&
businessInfo
.
get
(
"baseUnitLicences"
)
!=
null
)
{
if
(
businessInfo
.
containsKey
(
"baseUnitLicences"
)
&&
businessInfo
.
get
(
"baseUnitLicences"
)
!=
null
)
{
List
<
BaseEnterpriseCertDto
>
baseUnitLicences
=
businessInfo
.
getJSONArray
(
"baseUnitLicences"
)
.
toJavaList
(
BaseEnterpriseCertDto
.
class
);
model
.
setBaseUnitLicences
(
baseUnitLicences
);
...
...
@@ -321,9 +320,9 @@ public class JyjcOpeningApplicationController extends BaseController {
@GetMapping
(
value
=
"/exportdata"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"检验业务开通列表导出"
,
notes
=
"检验业务开通列表导出"
)
public
void
dataExport
(
HttpServletResponse
response
,
String
ids
)
{
if
(
StringUtils
.
isEmpty
(
ids
))
{
throw
new
BadRequest
(
"请选择需要导出的数据!"
);
}
if
(
StringUtils
.
isEmpty
(
ids
))
{
throw
new
BadRequest
(
"请选择需要导出的数据!"
);
}
jyjcOpeningApplicationServiceImpl
.
exportData
(
response
,
Arrays
.
asList
(
ids
.
split
(
","
)));
}
...
...
@@ -332,6 +331,6 @@ public class JyjcOpeningApplicationController extends BaseController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取appId"
,
notes
=
"获取appId"
)
public
ResponseModel
<
Map
<
String
,
String
>>
getAppId
(
@RequestParam
(
value
=
"relationId"
)
Long
seq
)
{
String
appId
=
jyjcOpeningApplicationServiceImpl
.
getAppIdBySeq
(
seq
);
return
ResponseHelper
.
buildResponse
(
MapBuilder
.<
String
,
String
>
create
().
put
(
"appId"
,
appId
).
build
());
return
ResponseHelper
.
buildResponse
(
MapBuilder
.<
String
,
String
>
create
().
put
(
"appId"
,
appId
).
build
());
}
}
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