Commit 0fe62a16 authored by suhuiguang's avatar suhuiguang

fact(综合搜索):数据同步调整

1.按照种类种类类别品种获取计数参数、是否车用气瓶
parent da048ba6
......@@ -40,6 +40,11 @@ public class TechParamUtil {
});
}
public static void main(String[] args) {
List<TechParamItem> techParamItems = getParamMetaList("3000", "3400", "3420", false);
System.out.println(techParamItems);
}
private static TechParamItem getTechParamItem(String equListCode, Field field) {
TechnicalParameter technicalParameter = field.getAnnotation(TechnicalParameter.class);
TechParamItem techParamItem = new TechParamItem();
......@@ -52,7 +57,7 @@ public class TechParamUtil {
return techParamItem;
}
public static List<TechParamItem> getParamMetaList(String equListCode, String equCategoryCode, String equDefineCode) {
public static List<TechParamItem> getParamMetaList(String equListCode, String equCategoryCode, String equDefineCode, Boolean whetherVehicleCylinder) {
List<TechParamItem> techParamItems = new ArrayList<>();
for (Class<? extends ITechParamDefine> subClass : subClasses) {
Field[] fields = subClass.getDeclaredFields();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment