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
5decf114
Commit
5decf114
authored
Mar 06, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
气瓶数据项调整 / 发起页调整
parent
01d7e404
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
IdxBizJqEquipmentRegisterController.java
...g/biz/controller/IdxBizJqEquipmentRegisterController.java
+13
-0
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/IdxBizJqEquipmentRegisterController.java
View file @
5decf114
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
controller
;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
...
...
@@ -168,6 +169,18 @@ public class IdxBizJqEquipmentRegisterController extends BaseController {
if
(
"black"
.
equals
(
dataSource
)
&&
"2000"
.
equals
(
equList
)
&&
(
"SB_XZ"
.
equals
(
type
)
||
"DW_LR"
.
equals
(
type
))
&&
"0"
.
equals
(
businessScenarios
))
{
dictionarieValueModels
=
dictionarieValueModels
.
stream
().
filter
(
dictionarieValueModel
->
!
dictionarieValueModel
.
getDictDataValue
().
equals
(
"移动式压力容器"
)).
collect
(
Collectors
.
toList
());
}
//如果是单位录入只显示气瓶
if
((
"black"
.
equals
(
dataSource
)
||
(
"his"
.
equals
(
dataSource
)
)
&&
"2000"
.
equals
(
equList
)
&&
"DW_LR"
.
equals
(
type
)
&&
"0"
.
equals
(
businessScenarios
))){
List
<
DictionarieValueModel
>
result
=
new
ArrayList
<>();
if
(
CollectionUtil
.
isNotEmpty
(
dictionarieValueModels
)){
for
(
DictionarieValueModel
dictionarieValueModel
:
dictionarieValueModels
)
{
if
(
"2300"
.
equals
(
dictionarieValueModel
.
getDictDataKey
())){
result
.
add
(
dictionarieValueModel
);
}
}
}
return
ResponseHelper
.
buildResponse
(
result
);
}
return
ResponseHelper
.
buildResponse
(
dictionarieValueModels
);
}
...
...
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