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
d5197a0b
Commit
d5197a0b
authored
Mar 05, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
9f73143d
9a55e121
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+18
-2
superviseBusinessCategory.json
...iz/src/main/resources/json/superviseBusinessCategory.json
+3
-1
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/CommonController.java
View file @
d5197a0b
...
@@ -545,11 +545,27 @@ public class CommonController extends BaseController {
...
@@ -545,11 +545,27 @@ public class CommonController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/equList"
)
@GetMapping
(
value
=
"/equList"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"按照业务类型查询设备种类,工作台使用"
,
notes
=
"按照业务类型查询设备种类,工作台使用"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"按照业务类型查询设备种类,工作台使用"
,
notes
=
"按照业务类型查询设备种类,工作台使用"
)
public
ResponseModel
<
List
<
DictionarieValueModel
>>
equList
(
@RequestParam
(
value
=
"type"
)
String
bizType
)
{
public
ResponseModel
<
List
<
Map
<
String
,
Object
>
>>
equList
(
@RequestParam
(
value
=
"type"
)
String
bizType
)
{
// 在平台字典配置的自定义业务的设备种类:格式{bizType}_SBZL,如BF_YZ_SBZL==》移装注销-设备种类
// 在平台字典配置的自定义业务的设备种类:格式{bizType}_SBZL,如BF_YZ_SBZL==》移装注销-设备种类
String
suffix
=
"_SBZL"
;
String
suffix
=
"_SBZL"
;
String
dictCode
=
bizType
+
suffix
;
String
dictCode
=
bizType
+
suffix
;
return
ResponseHelper
.
buildResponse
(
Systemctl
.
dictionarieClient
.
dictValues
(
dictCode
).
getResult
());
List
<
DictionarieValueModel
>
resultObj
=
Systemctl
.
dictionarieClient
.
dictValues
(
dictCode
).
getResult
();
List
<
Map
<
String
,
Object
>>
result
=
resultObj
.
stream
()
.
filter
(
obj
->
obj
instanceof
Map
)
.
map
(
obj
->
(
Map
<
String
,
Object
>)
obj
).
collect
(
Collectors
.
toList
());
if
(
bizType
.
equals
(
"DJ_CSJ"
)){
result
.
forEach
(
e
->{
if
(
e
.
getOrDefault
(
"dictDataKey"
,
""
).
equals
(
"2000"
)){
e
.
put
(
"tips"
,
"变更前需先进行委托检验,在办理变更登记时上传委托检验报告"
);
}
else
{
e
.
put
(
"tips"
,
"变更前需先进行安全评估,评估结果为改造或重大维修,需办理改造告知或维修告知,进行监督检验后,再进行变更登记;安全评估结果为一般维修,需办理定期检验,再进行变更登记"
);
}
});
}
return
ResponseHelper
.
buildResponse
(
result
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/superviseBusinessCategory.json
View file @
d5197a0b
...
@@ -64,7 +64,9 @@
...
@@ -64,7 +64,9 @@
{
{
"name"
:
"超设计使用年限变更"
,
"name"
:
"超设计使用年限变更"
,
"code"
:
"DJ_CSJ"
,
"code"
:
"DJ_CSJ"
,
"image"
:
"upload/tzs/common/image/更名变更登记.png"
"image"
:
"upload/tzs/common/image/更名变更登记.png"
,
"tips"
:
"“压力容器需先进行委托检验,在办理变更登记时上传委托检验报告”“大型游乐设施需先进行安全评估,如评估结果为改造或重大维修,则需先办理改造告知或维修告知,进行监督检验后,再进行变更登记;如安全评估结果为一般维修的,需先办理定期检验,再进行变更登记!"
}
}
],
],
"WBBA"
:
[
"WBBA"
:
[
...
...
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