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
cb2353bf
Commit
cb2353bf
authored
Jul 10, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fact(综合搜索):数据同步调整
1.按照种类种类类别品种获取计数参数
parent
111e9a77
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
TechParamUtil.java
...join/amos/boot/module/common/biz/utils/TechParamUtil.java
+1
-3
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/utils/TechParamUtil.java
View file @
cb2353bf
...
...
@@ -53,7 +53,6 @@ public class TechParamUtil {
}
public
static
List
<
TechParamItem
>
getParamMetaList
(
String
equListCode
,
String
equCategoryCode
,
String
equDefineCode
)
{
return
techParamsMetaMap
.
computeIfAbsent
(
equListCode
,
(
key
)
->
{
List
<
TechParamItem
>
techParamItems
=
new
ArrayList
<>();
for
(
Class
<?
extends
ITechParamDefine
>
subClass
:
subClasses
)
{
Field
[]
fields
=
subClass
.
getDeclaredFields
();
...
...
@@ -66,7 +65,7 @@ public class TechParamUtil {
boolean
equCategoryMatch
=
technicalParameter
.
equCategory
().
length
==
0
||
StringUtils
.
isEmpty
(
equCategoryCode
)
||
Arrays
.
asList
(
technicalParameter
.
equCategory
()).
contains
(
equCategoryCode
);
// 设备品种配置空时代表,全部都有
boolean
equDefineMatch
=
technicalParameter
.
equDefine
().
length
==
0
||
StringUtils
.
isEmpty
(
equDefineCode
)
||
Arrays
.
asList
(
technicalParameter
.
equDefine
()).
contains
(
equDefineCode
);
if
(
equCategoryMatch
&&
equDefineMatch
)
{
if
(
equCategoryMatch
&&
equDefineMatch
)
{
TechParamItem
techParamItem
=
getTechParamItem
(
equListCode
,
field
);
techParamItems
.
add
(
techParamItem
);
}
...
...
@@ -74,7 +73,6 @@ public class TechParamUtil {
}
}
return
techParamItems
;
});
}
public
static
Class
<?
extends
ITechParamDefine
>
getParamClazz
(
String
equListCode
)
{
...
...
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