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
3e4662ae
Commit
3e4662ae
authored
Nov 24, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jyjc):检验检测业务管理
1.按照要求进行调整
parent
22bac8c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
JyjcBizManageController.java
...t/module/jyjc/biz/controller/JyjcBizManageController.java
+12
-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/JyjcBizManageController.java
View file @
3e4662ae
...
@@ -11,6 +11,7 @@ import io.swagger.annotations.Api;
...
@@ -11,6 +11,7 @@ import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.component.event.RestEventTrigger
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
...
@@ -42,6 +43,7 @@ public class JyjcBizManageController extends BaseController {
...
@@ -42,6 +43,7 @@ public class JyjcBizManageController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{appSeq}/area-enable"
)
@PutMapping
(
value
=
"/{appSeq}/area-enable"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"企业区域启用-市局使用"
,
notes
=
"企业区域启用-市局使用"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"企业区域启用-市局使用"
,
notes
=
"企业区域启用-市局使用"
)
@RestEventTrigger
(
value
=
"operateLogRestEventHandler"
)
public
ResponseModel
<
Boolean
>
enableBatch
(
@PathVariable
String
appSeq
)
{
public
ResponseModel
<
Boolean
>
enableBatch
(
@PathVariable
String
appSeq
)
{
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
enable
(
appSeq
,
getSelectedOrgInfo
().
getCompany
()));
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
enable
(
appSeq
,
getSelectedOrgInfo
().
getCompany
()));
}
}
...
@@ -49,6 +51,7 @@ public class JyjcBizManageController extends BaseController {
...
@@ -49,6 +51,7 @@ public class JyjcBizManageController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{appSeq}/area-disable"
)
@PutMapping
(
value
=
"/{appSeq}/area-disable"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"企业区域停用-市局使用"
,
notes
=
"企业区域停用-市局使用"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"企业区域停用-市局使用"
,
notes
=
"企业区域停用-市局使用"
)
@RestEventTrigger
(
value
=
"operateLogRestEventHandler"
)
public
ResponseModel
<
Boolean
>
disableBatch
(
@PathVariable
String
appSeq
)
{
public
ResponseModel
<
Boolean
>
disableBatch
(
@PathVariable
String
appSeq
)
{
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
disable
(
appSeq
,
getSelectedOrgInfo
().
getCompany
()));
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
disable
(
appSeq
,
getSelectedOrgInfo
().
getCompany
()));
}
}
...
@@ -57,6 +60,7 @@ public class JyjcBizManageController extends BaseController {
...
@@ -57,6 +60,7 @@ public class JyjcBizManageController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/{appSeq}/licence"
)
@PostMapping
(
value
=
"/{appSeq}/licence"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"资质停起用-省局使用"
,
notes
=
"资质停起用-省局使用"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"资质停起用-省局使用"
,
notes
=
"资质停起用-省局使用"
)
@RestEventTrigger
(
value
=
"operateLogRestEventHandler"
)
public
ResponseModel
<
Boolean
>
licenceEdit
(
@PathVariable
String
appSeq
,
public
ResponseModel
<
Boolean
>
licenceEdit
(
@PathVariable
String
appSeq
,
@RequestBody
Map
<
String
,
Object
>
updateDto
)
{
@RequestBody
Map
<
String
,
Object
>
updateDto
)
{
List
<
BaseUnitLicence
>
lis
=
JSONObject
.
parseArray
(
JSONObject
.
toJSONString
(
updateDto
.
get
(
"licences"
)),
BaseUnitLicence
.
class
);
List
<
BaseUnitLicence
>
lis
=
JSONObject
.
parseArray
(
JSONObject
.
toJSONString
(
updateDto
.
get
(
"licences"
)),
BaseUnitLicence
.
class
);
...
@@ -82,12 +86,20 @@ public class JyjcBizManageController extends BaseController {
...
@@ -82,12 +86,20 @@ public class JyjcBizManageController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{appSeq}/expireDate"
)
@PutMapping
(
value
=
"/{appSeq}/expireDate"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"业务有效期维护-省局使用"
,
notes
=
"业务有效期维护-省局使用"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"业务有效期维护-省局使用"
,
notes
=
"业务有效期维护-省局使用"
)
@RestEventTrigger
(
value
=
"operateLogRestEventHandler"
)
public
ResponseModel
<
Boolean
>
expireDateEdit
(
@PathVariable
String
appSeq
,
public
ResponseModel
<
Boolean
>
expireDateEdit
(
@PathVariable
String
appSeq
,
@RequestParam
String
newExpiryDate
)
{
@RequestParam
String
newExpiryDate
)
{
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
expireDateEdit
(
appSeq
,
newExpiryDate
));
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
expireDateEdit
(
appSeq
,
newExpiryDate
));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{appSeq}/detail"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"开通详情"
,
notes
=
"开通详情"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getOne
(
@PathVariable
String
appSeq
)
{
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
getOne
(
appSeq
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{appSeq}/detectionRegion"
)
@PutMapping
(
value
=
"/{appSeq}/detectionRegion"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"开通区域维护-省局使用"
,
notes
=
"开通区域维护-省局使用"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"开通区域维护-省局使用"
,
notes
=
"开通区域维护-省局使用"
)
public
ResponseModel
<
Boolean
>
detectionRegionEdit
(
@PathVariable
String
appSeq
,
public
ResponseModel
<
Boolean
>
detectionRegionEdit
(
@PathVariable
String
appSeq
,
...
@@ -96,11 +108,4 @@ public class JyjcBizManageController extends BaseController {
...
@@ -96,11 +108,4 @@ public class JyjcBizManageController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{appSeq}/detail"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"开通详情"
,
notes
=
"开通详情"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getOne
(
@PathVariable
String
appSeq
)
{
return
ResponseHelper
.
buildResponse
(
jyjcBizManageService
.
getOne
(
appSeq
));
}
}
}
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