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
948d2326
Commit
948d2326
authored
Apr 13, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
829077b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
EquipmentCategoryController.java
...n/equipmanage/controller/EquipmentCategoryController.java
+2
-6
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/EquipmentCategoryController.java
View file @
948d2326
...
@@ -371,12 +371,9 @@ public class EquipmentCategoryController extends AbstractBaseController {
...
@@ -371,12 +371,9 @@ public class EquipmentCategoryController extends AbstractBaseController {
@RequestMapping
(
value
=
"/list-tree-fire"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list-tree-fire"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"消防设施分类定义树"
,
notes
=
"消防设施分类定义树"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"消防设施分类定义树"
,
notes
=
"消防设施分类定义树"
)
public
ResponseModel
<
List
<
EquipmentCategory
>
>
listFire
()
{
public
List
<
EquipmentCategory
>
listFire
()
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
bizOrgCode
=
reginParams
.
getPersonIdentity
().
getCompanyBizOrgCode
();
String
bizOrgCode
=
reginParams
.
getPersonIdentity
().
getCompanyBizOrgCode
();
if
(
redisUtils
.
hasKey
(
EQUIP_AND_FIRE_TREE
+
bizOrgCode
))
{
return
CommonResponseUtil
.
success
(
redisUtils
.
get
(
EQUIP_AND_FIRE_TREE
+
bizOrgCode
));
}
List
<
EquipmentCategory
>
equipmentCategorys
=
this
.
iEquipmentCategoryService
List
<
EquipmentCategory
>
equipmentCategorys
=
this
.
iEquipmentCategoryService
.
getEquipmentCategoryListByFacilities
(
Integer
.
valueOf
(
equipmentCategoryLeftTypeCode
),
bizOrgCode
);
.
getEquipmentCategoryListByFacilities
(
Integer
.
valueOf
(
equipmentCategoryLeftTypeCode
),
bizOrgCode
);
List
<
EquipmentCategory
>
list
=
new
ArrayList
<>();
List
<
EquipmentCategory
>
list
=
new
ArrayList
<>();
...
@@ -408,8 +405,7 @@ public class EquipmentCategoryController extends AbstractBaseController {
...
@@ -408,8 +405,7 @@ public class EquipmentCategoryController extends AbstractBaseController {
equipmentCategory
.
setHasLowerClassification
(
true
);
equipmentCategory
.
setHasLowerClassification
(
true
);
result
.
add
(
equipmentCategory
);
result
.
add
(
equipmentCategory
);
redisUtils
.
set
(
EQUIP_AND_FIRE_TREE
+
bizOrgCode
,
result
,
172800
);
return
result
;
return
CommonResponseUtil
.
success
(
result
);
}
}
...
...
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