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
1fe2cf59
Commit
1fe2cf59
authored
Jul 31, 2024
by
王果
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into…
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into develop_tzs_register_to_0715
parents
b107b83e
0e96a12d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
JgUseRegistrationManageController.java
.../jg/biz/controller/JgUseRegistrationManageController.java
+7
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgUseRegistrationManageController.java
View file @
1fe2cf59
...
...
@@ -12,10 +12,12 @@ import com.yeejoin.amos.boot.module.jg.biz.service.impl.JgUseRegistrationManageS
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
...
...
@@ -224,8 +226,11 @@ public class JgUseRegistrationManageController extends BaseController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据证的sequenceNbr 批量查询证下面的所有设备"
,
notes
=
"根据证的sequenceNbr 批量查询证下面的所有设备"
)
public
ResponseModel
<
Page
<
JSONObject
>>
queryEquByCertificateSeqList
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
,
@RequestParam
(
value
=
"enableType"
,
required
=
false
)
String
enableType
,
@RequestParam
(
value
=
"sequenceNbrs"
)
String
sequenceNbrs
)
{
@RequestParam
(
value
=
"enableType"
,
required
=
false
)
String
enableType
,
@RequestParam
(
value
=
"sequenceNbrs"
,
required
=
false
)
String
sequenceNbrs
)
{
if
(
ObjectUtils
.
isEmpty
(
sequenceNbrs
))
{
throw
new
BadRequest
(
"请先选择使用登记证"
);
}
List
<
Long
>
collect
=
Arrays
.
stream
(
sequenceNbrs
.
split
(
","
))
.
map
(
Long:
:
parseLong
)
.
collect
(
Collectors
.
toList
());
...
...
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