Commit bee59c90 authored by suhuiguang's avatar suhuiguang

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

1.技术参数由之前的按照设备种类过滤调整为按照设备种类、设备类别、设备品种、是否车用气瓶进行过滤
parent 5c9988b7
package com.yeejoin.amos.boot.biz.common.annotation; package com.yeejoin.amos.boot.biz.common.annotation;
import com.baomidou.mybatisplus.annotation.TableField;
import java.lang.annotation.*; import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
...@@ -23,18 +21,30 @@ public @interface TechnicalParameter { ...@@ -23,18 +21,30 @@ public @interface TechnicalParameter {
String unit() default ""; String unit() default "";
/** /**
* 设备类别code * 匹配条件-设备类别code
* @return 设备类别 * @return 设备类别
*/ */
String[] equCategory() default {}; String[] equCategory() default {};
/** /**
* 设备品种code,设备品种配置空时代表,全部都有 * 匹配条件-设备品种code,设备品种配置空时代表,全部都有
* @return 设备品种 * @return 设备品种
*/ */
String[] equDefine() default {}; String[] equDefine() default {};
/**
* 匹配条件-标签如车用气瓶、球罐
* @return 标签数组
*/
String[] tags() default {};
/**
* 匹配条件-设备类型下默认隐藏字段配置
* @return 在指定设备类型下需要的隐藏字段
*/
String[] ignoreCategoryConf() default {};
enum ParamType { enum ParamType {
STRING, INTEGER, FLOAT, BIG_DECIMAL, BOOLEAN, OBJECT, DATE STRING, INTEGER, FLOAT, BIG_DECIMAL, BOOLEAN, OBJECT, DATE
......
...@@ -17,77 +17,77 @@ import java.math.BigDecimal; ...@@ -17,77 +17,77 @@ import java.math.BigDecimal;
public class ElevatorTechParamDefine implements ITechParamDefine { public class ElevatorTechParamDefine implements ITechParamDefine {
@TechnicalParameter(key = "ratedSpeedUp", label = "额定速度(上行)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/s") @TechnicalParameter(key = "ratedSpeedUp", label = "额定速度(上行)", equCategory = {"3200", "3400"}, equDefine = {"3210", "3220", "3410", "3420"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/s")
private BigDecimal ratedSpeedUp; private BigDecimal ratedSpeedUp;
@TechnicalParameter(key = "ratedSpeedDown", label = "额定速度(下行)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/s") @TechnicalParameter(key = "ratedSpeedDown", label = "额定速度(下行)", equCategory = {"3200", "3400"}, equDefine = {"3210", "3220", "3410", "3420"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/s")
private BigDecimal ratedSpeedDown; private BigDecimal ratedSpeedDown;
@TechnicalParameter(key = "ratedLoadCapacity", label = "额定载重量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "kg") @TechnicalParameter(key = "ratedLoadCapacity", label = "额定载重量", equCategory = {"3100", "3200", "3400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "kg")
private BigDecimal ratedLoadCapacity; private BigDecimal ratedLoadCapacity;
@TechnicalParameter(key = "liftingHeight", label = "提升高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "liftingHeight", label = "提升高度", equCategory = {"3300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal liftingHeight; private BigDecimal liftingHeight;
@TechnicalParameter(key = "deviceLevel", label = "层数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "层") @TechnicalParameter(key = "deviceLevel", label = "层数", equCategory = {"3100", "3200", "3400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "层")
private BigDecimal deviceLevel; private BigDecimal deviceLevel;
@TechnicalParameter(key = "stand", label = "站数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "站") @TechnicalParameter(key = "stand", label = "站数", equCategory = {"3100", "3200", "3400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "站")
private BigDecimal stand; private BigDecimal stand;
@TechnicalParameter(key = "numberDoors", label = "门数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "门数") @TechnicalParameter(key = "numberDoors", label = "门数", equCategory = {"3100", "3200", "3400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "门数")
private BigDecimal numberDoors; private BigDecimal numberDoors;
@TechnicalParameter(key = "controlMode", label = "控制方式", type = TechnicalParameter.ParamType.STRING, dictCode = "DSXS") @TechnicalParameter(key = "controlMode", label = "控制方式", equCategory = {"3100", "3200", "3400"}, type = TechnicalParameter.ParamType.STRING, dictCode = "DSXS")
private String controlMode; private String controlMode;
@TechnicalParameter(key = "numberCylinders", label = "油缸数量", type = TechnicalParameter.ParamType.BIG_DECIMAL) @TechnicalParameter(key = "numberCylinders", label = "油缸数量", equCategory = {"3200", "3400"}, equDefine = {"3210", "3220", "3420"}, type = TechnicalParameter.ParamType.BIG_DECIMAL)
private BigDecimal numberCylinders; private BigDecimal numberCylinders;
@TechnicalParameter(key = "jackingType", label = "顶升方式", type = TechnicalParameter.ParamType.STRING, dictCode = "DSXS") @TechnicalParameter(key = "jackingType", label = "顶升方式", equCategory = {"3200", "3400"}, equDefine = {"3210", "3220", "3420"}, type = TechnicalParameter.ParamType.STRING, dictCode = "DSXS")
private String jackingType; private String jackingType;
@TechnicalParameter(key = "explosionproofGrade", label = "区域防爆等级", type = TechnicalParameter.ParamType.STRING, dictCode = "FBDJ") @TechnicalParameter(key = "explosionproofGrade", label = "区域防爆等级", equCategory = {"3400"}, equDefine = {"3410"}, type = TechnicalParameter.ParamType.STRING, dictCode = "FBDJ")
private String explosionproofGrade; private String explosionproofGrade;
@TechnicalParameter(key = "explosionproofSignComplete", label = "整机防爆标志", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "explosionproofSignComplete", label = "整机防爆标志", equCategory = {"3400"}, equDefine = {"3410"}, type = TechnicalParameter.ParamType.STRING)
private String explosionproofSignComplete; private String explosionproofSignComplete;
@TechnicalParameter(key = "nominalSpeed", label = "名义速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/s") @TechnicalParameter(key = "nominalSpeed", label = "名义速度", equCategory = {"3300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/s")
private BigDecimal nominalSpeed; private BigDecimal nominalSpeed;
@TechnicalParameter(key = "nominalWidth", label = "名义宽度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "nominalWidth", label = "名义宽度", equCategory = {"3300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal nominalWidth; private BigDecimal nominalWidth;
@TechnicalParameter(key = "angleRoll", label = "倾斜角", type = TechnicalParameter.ParamType.BIG_DECIMAL) @TechnicalParameter(key = "angleRoll", label = "倾斜角", equCategory = {"3100", "3300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL)
private BigDecimal angleRoll; private BigDecimal angleRoll;
@TechnicalParameter(key = "useSectionLength", label = "使用区段长度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "useSectionLength", label = "使用区段长度", equCategory = {"3300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal useSectionLength; private BigDecimal useSectionLength;
@TechnicalParameter(key = "conveyingCapacity", label = "输送能力", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "P/h") @TechnicalParameter(key = "conveyingCapacity", label = "输送能力", equCategory = {"3300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "P/h")
private BigDecimal conveyingCapacity; private BigDecimal conveyingCapacity;
@TechnicalParameter(key = "doorPosition", label = "轿门位置", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "doorPosition", label = "轿门位置", equCategory = {"3100"}, type = TechnicalParameter.ParamType.STRING)
private String doorPosition; private String doorPosition;
@TechnicalParameter(key = "ratedSpeed", label = "额定速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/s") @TechnicalParameter(key = "ratedSpeed", label = "额定速度", equCategory = {"3100", "3400"}, equDefine = {"3110", "3120", "3130", "3430"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/s")
private BigDecimal ratedSpeed; private BigDecimal ratedSpeed;
} }
...@@ -16,27 +16,31 @@ import java.math.BigDecimal; ...@@ -16,27 +16,31 @@ import java.math.BigDecimal;
@Group("4000") @Group("4000")
public class LiftingTechParamDefine implements ITechParamDefine { public class LiftingTechParamDefine implements ITechParamDefine {
@TechnicalParameter(key = "ratedLiftingCapacity", label = "额定起重量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "t")
@TechnicalParameter(key = "ratedLoadCapacity", label = "额定载重量", equCategory = {"4800", "4D00"}, equDefine = {"4860"}, ignoreCategoryConf = {"4800"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "Kg")
private BigDecimal ratedLoadCapacity;
@TechnicalParameter(key = "ratedLiftingCapacity", label = "额定起重量", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00", "4300"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4310", "4320", "4410", "4420", "4440", "4450", "4870", "4170"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "t")
private BigDecimal ratedLiftingCapacity; private BigDecimal ratedLiftingCapacity;
@TechnicalParameter(key = "maxLiftingCapacity", label = "最大起重量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "t") @TechnicalParameter(key = "maxLiftingCapacity", label = "最大起重量", equCategory = {"4700"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "t")
private BigDecimal maxLiftingCapacity; private BigDecimal maxLiftingCapacity;
@TechnicalParameter(key = "maxLiftingTorque", label = "最大起重力矩", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "KN.m") @TechnicalParameter(key = "maxLiftingTorque", label = "最大起重力矩", equCategory = {"4700"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "KN.m")
private BigDecimal maxLiftingTorque; private BigDecimal maxLiftingTorque;
@TechnicalParameter(key = "spanWorkingRange", label = "跨度(工作幅度)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "spanWorkingRange", label = "跨度(工作幅度)", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00", "4300", "4700"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4310", "4320", "4410", "4420", "4440", "4450", "4710", "4760", "4870", "4170"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal spanWorkingRange; private BigDecimal spanWorkingRange;
@TechnicalParameter(key = "liftingSpeed", label = "起升速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "liftingSpeed", label = "起升速度", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00", "4300", "4700"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4310", "4320", "4410", "4420", "4440", "4450", "4710", "4760", "4870", "4170"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal liftingSpeed; private BigDecimal liftingSpeed;
@TechnicalParameter(key = "liftingHeight", label = "起升高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "liftingHeight", label = "起升高度", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00", "4700"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4410", "4420", "4440", "4450", "4710", "4760", "4870", "4170"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal liftingHeight; private BigDecimal liftingHeight;
...@@ -44,98 +48,98 @@ public class LiftingTechParamDefine implements ITechParamDefine { ...@@ -44,98 +48,98 @@ public class LiftingTechParamDefine implements ITechParamDefine {
private String workLevel; private String workLevel;
@TechnicalParameter(key = "ratedLiftingTorque", label = "额定起重力矩", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "KN.m") @TechnicalParameter(key = "ratedLiftingTorque", label = "额定起重力矩", equCategory = {"4300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "KN.m")
private BigDecimal ratedLiftingTorque; private BigDecimal ratedLiftingTorque;
@TechnicalParameter(key = "numberStorey", label = "层数/泊位数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "层") @TechnicalParameter(key = "numberStorey", label = "层数/泊位数", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "层")
private BigDecimal numberStorey; private BigDecimal numberStorey;
@TechnicalParameter(key = "runningSpeed", label = "运行速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "runningSpeed", label = "运行速度", equCategory = {"4700"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal runningSpeed; private BigDecimal runningSpeed;
@TechnicalParameter(key = "bigcarRunSpeed", label = "大车运行速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "bigcarRunSpeed", label = "大车运行速度", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4410", "4420", "4440", "4450", "4870", "4170"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal bigcarRunSpeed; private BigDecimal bigcarRunSpeed;
@TechnicalParameter(key = "smallcarrunSpeed", label = "小车运行速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "smallcarrunSpeed", label = "小车运行速度", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4410", "4420", "4440", "4450", "4870", "4170"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal smallcarrunSpeed; private BigDecimal smallcarrunSpeed;
@TechnicalParameter(key = "ratedMembers", label = "额定乘员数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "人") @TechnicalParameter(key = "ratedMembers", label = "额定乘员数", equCategory = {"4800"}, equDefine = {"4860"}, ignoreCategoryConf = {"4800"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "人")
private BigDecimal ratedMembers; private BigDecimal ratedMembers;
@TechnicalParameter(key = "ratedLiftingSpeed", label = "额定提升速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "ratedLiftingSpeed", label = "额定提升速度", equCategory = {"4800"}, equDefine = {"4860"}, ignoreCategoryConf = {"4800"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal ratedLiftingSpeed; private BigDecimal ratedLiftingSpeed;
@TechnicalParameter(key = "heightFreeEnd", label = "自由端高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "heightFreeEnd", label = "自由端高度", equCategory = {"4800"}, equDefine = {"4860"}, ignoreCategoryConf = {"4800"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal heightFreeEnd; private BigDecimal heightFreeEnd;
@TechnicalParameter(key = "workStrokeCage", label = "吊笼工作行程", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "workStrokeCage", label = "吊笼工作行程", equCategory = {"4800"}, equDefine = {"4860"}, ignoreCategoryConf = {"4800"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal workStrokeCage; private BigDecimal workStrokeCage;
@TechnicalParameter(key = "storageCapacity", label = "存容量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "辆") @TechnicalParameter(key = "storageCapacity", label = "存容量", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "辆")
private BigDecimal storageCapacity; private BigDecimal storageCapacity;
@TechnicalParameter(key = "ratedLiftSpeed", label = "额定升降速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "ratedLiftSpeed", label = "额定升降速度", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal ratedLiftSpeed; private BigDecimal ratedLiftSpeed;
@TechnicalParameter(key = "ratedTraverseSpeed", label = "额定横移速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "ratedTraverseSpeed", label = "额定横移速度", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal ratedTraverseSpeed; private BigDecimal ratedTraverseSpeed;
@TechnicalParameter(key = "bicycleMaxExitTime", label = "单车最大进(出)车时间", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "s") @TechnicalParameter(key = "bicycleMaxExitTime", label = "单车最大(出)车时间", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "s")
private BigDecimal bicycleMaxExitTime; private BigDecimal bicycleMaxExitTime;
@TechnicalParameter(key = "bicycleMaxComeTime", label = "单车最大进车时间", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "s") @TechnicalParameter(key = "bicycleMaxComeTime", label = "单车最大(进)车时间", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "s")
private BigDecimal bicycleMaxComeTime; private BigDecimal bicycleMaxComeTime;
@TechnicalParameter(key = "explosionProofGrade", label = "区域防爆等级", type = TechnicalParameter.ParamType.STRING, dictCode = "FBDJ") @TechnicalParameter(key = "explosionProofGrade", label = "区域防爆等级", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4410", "4420", "4440", "4450", "4870", "4170"}, type = TechnicalParameter.ParamType.STRING, dictCode = "FBDJ")
private String explosionProofGrade; private String explosionProofGrade;
@TechnicalParameter(key = "cantileverLength", label = "悬臂长度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "cantileverLength", label = "悬臂长度", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4410", "4420", "4440", "4450", "4870", "4170"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal cantileverLength; private BigDecimal cantileverLength;
@TechnicalParameter(key = "derrickingSpeed", label = "变幅速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m/min") @TechnicalParameter(key = "derrickingSpeed", label = "变幅速度", equCategory = {"4300", "4700"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m/min")
private BigDecimal derrickingSpeed; private BigDecimal derrickingSpeed;
@TechnicalParameter(key = "hangingCagesNumber", label = "吊笼数量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "个") @TechnicalParameter(key = "hangingCagesNumber", label = "吊笼数量", equCategory = {"4800"}, equDefine = {"4860"}, ignoreCategoryConf = {"4800"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "个")
private BigDecimal hangingCagesNumber; private BigDecimal hangingCagesNumber;
@TechnicalParameter(key = "explosiveSubstance", label = "燃爆物质", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "explosiveSubstance", label = "燃爆物质", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4410", "4420", "4440", "4450", "4870", "4170"}, type = TechnicalParameter.ParamType.STRING)
private String explosiveSubstance; private String explosiveSubstance;
@TechnicalParameter(key = "explosionproofSignComplete", label = "整机防爆标志", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "explosionproofSignComplete", label = "整机防爆标志", equCategory = {"4100", "4200", "4400", "4800", "4900", "4A00"}, equDefine = {"4110", "4130", "4140", "4150", "4190", "4210", "4220", "4230", "4240", "4250", "4260", "4270", "4280", "4290", "4410", "4420", "4440", "4450", "4870", "4170"}, type = TechnicalParameter.ParamType.STRING)
private String explosionproofSignComplete; private String explosionproofSignComplete;
@TechnicalParameter(key = "ratedSpeedUp", label = "监检结束高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "ratedSpeedUp", label = "监检结束高度", equCategory = {"4300", "4800"}, ignoreCategoryConf = {"4800"}, equDefine = {"4310", "4320", "4860"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal ratedSpeedUp; private BigDecimal ratedSpeedUp;
@TechnicalParameter(key = "parkingVehicleHeight", label = "适停车辆尺寸高", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "parkingVehicleHeight", label = "适停车辆尺寸高", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal parkingVehicleHeight; private BigDecimal parkingVehicleHeight;
@TechnicalParameter(key = "parkingVehicleWeight", label = "适停车辆尺寸宽", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "parkingVehicleWeight", label = "适停车辆尺寸宽", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal parkingVehicleWeight; private BigDecimal parkingVehicleWeight;
@TechnicalParameter(key = "parkingVehicleLength", label = "适停车辆尺寸长", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "parkingVehicleLength", label = "适停车辆尺寸长", equCategory = {"4D00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal parkingVehicleLength; private BigDecimal parkingVehicleLength;
} }
...@@ -17,47 +17,47 @@ import java.math.BigDecimal; ...@@ -17,47 +17,47 @@ import java.math.BigDecimal;
public class RidesTechParamDefine implements ITechParamDefine { public class RidesTechParamDefine implements ITechParamDefine {
@TechnicalParameter(key = "trackHeight", label = "轨道高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "trackHeight", label = "轨道高度", equCategory = {"6B00", "6300", "6200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal trackHeight; private BigDecimal trackHeight;
@TechnicalParameter(key = "runningSpeed", label = "运行速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "km/h (m/s)") @TechnicalParameter(key = "runningSpeed", label = "运行速度", equCategory = {"6B00", "6300", "6100", "6700", "6800", "6500", "6200", "6600", "6400", "6E00", "6D00"}, equDefine = {"6D10", "6D20", "6D40", "6E20"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "km/h (m/s)")
private BigDecimal runningSpeed; private BigDecimal runningSpeed;
@TechnicalParameter(key = "numberOfPassengers", label = "乘坐人数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "人") @TechnicalParameter(key = "numberOfPassengers", label = "承载人数", equCategory = {"6B00", "6A00", "6300", "6900", "6100", "6700", "6800", "6500", "6200", "6600", "6400", "6E00", "6D00"}, equDefine = {"6E20", "6E30", "6D10", "6D40"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "人")
private BigDecimal numberOfPassengers; private BigDecimal numberOfPassengers;
@TechnicalParameter(key = "slideLength", label = "滑道长度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "slideLength", label = "滑索(道)长度", equCategory = {"6B00", "6E00"}, equDefine = {"6E20"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal slideLength; private BigDecimal slideLength;
@TechnicalParameter(key = "operatingHeight", label = "运行高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "operatingHeight", label = "运行高度", equCategory = {"6500", "6E00", "6D00", "6D00"}, equDefine = {"6D10", "6D20", "6E10", "6E40"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal operatingHeight; private BigDecimal operatingHeight;
@TechnicalParameter(key = "slideHeight", label = "蹦极绳长度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "slideHeight", label = "蹦极绳长度", equCategory = {"6E00"}, equDefine = {"6E10"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal slideHeight; private BigDecimal slideHeight;
@TechnicalParameter(key = "rotaryDiameter", label = "回转直径", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "rotaryDiameter", label = "回转直径", equCategory = {"6100", "6700", "6500", "6600", "6400", "6E00"}, equDefine = {"6E30"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal rotaryDiameter; private BigDecimal rotaryDiameter;
@TechnicalParameter(key = "unilateralSwingAngle", label = "单边摆角", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "°") @TechnicalParameter(key = "unilateralSwingAngle", label = "单边摆角", equCategory = {"6E00"}, equDefine = {"6E30"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "°")
private BigDecimal unilateralSwingAngle; private BigDecimal unilateralSwingAngle;
@TechnicalParameter(key = "numberOfVehicles", label = "车辆数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "个") @TechnicalParameter(key = "numberOfVehicles", label = "车辆数", equCategory = {"6A00"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "个")
private BigDecimal numberOfVehicles; private BigDecimal numberOfVehicles;
@TechnicalParameter(key = "dip", label = "倾角", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "°") @TechnicalParameter(key = "dip", label = "倾角", equCategory = {"6400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "°")
private BigDecimal dip; private BigDecimal dip;
@TechnicalParameter(key = "equipmentHeight", label = "设备高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m") @TechnicalParameter(key = "equipmentHeight", label = "设备高度", equCategory = {"6100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m")
private BigDecimal equipmentHeight; private BigDecimal equipmentHeight;
} }
...@@ -25,90 +25,85 @@ public class VehicleTechParamDefine implements ITechParamDefine { ...@@ -25,90 +25,85 @@ public class VehicleTechParamDefine implements ITechParamDefine {
private String engineNo; private String engineNo;
@TechnicalParameter(key = "liftingCapacity", label = "额定起重量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "Kg") @TechnicalParameter(key = "liftingCapacity", equCategory = "5100", label = "额定起重量", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "Kg")
private BigDecimal liftingCapacity; private BigDecimal liftingCapacity;
@TechnicalParameter(key = "transmissionMode", label = "传动方式", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "transmissionMode", label = "传动方式", equCategory = "5100", type = TechnicalParameter.ParamType.STRING)
private String transmissionMode; private String transmissionMode;
@TechnicalParameter(key = "weight", label = "自重", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "Kg") @TechnicalParameter(key = "weight", label = "自重", equCategory = "5100", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "Kg")
private BigDecimal weight; private BigDecimal weight;
@TechnicalParameter(key = "powerMode", label = "动力方式", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "powerMode", label = "动力方式", equCategory = "5100", type = TechnicalParameter.ParamType.STRING)
private String powerMode; private String powerMode;
@TechnicalParameter(key = "maxRunningSpeed", label = "最大运行速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "km/h") @TechnicalParameter(key = "maxRunningSpeed", label = "最大运行速度", equCategory = {"5100", "5200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "km/h")
private BigDecimal maxRunningSpeed; private BigDecimal maxRunningSpeed;
@TechnicalParameter(key = "maxLiftingHeight", label = "工作装置空载最大起升高度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm")
private BigDecimal maxLiftingHeight;
@TechnicalParameter(key = "gasGroup", label = "气体/粉尘组别(防爆)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "gasGroup", label = "气体/粉尘组别(防爆)", equCategory = "5100", type = TechnicalParameter.ParamType.STRING)
private String gasGroup; private String gasGroup;
@TechnicalParameter(key = "frameStructure", label = "车架结构", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "frameStructure", label = "车架结构", equCategory = "5100", type = TechnicalParameter.ParamType.STRING)
private String frameStructure; private String frameStructure;
@TechnicalParameter(key = "drivingMode", label = "驾驶方式", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "drivingMode", label = "驾驶方式", equCategory = "5100", type = TechnicalParameter.ParamType.STRING)
private String drivingMode; private String drivingMode;
@TechnicalParameter(key = "carryingIdlerMaxRunningSpeed", label = "空载最大运行速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "km/h") @TechnicalParameter(key = "protectGrade", label = "设备保护等级(防爆)", equCategory = "5100", type = TechnicalParameter.ParamType.STRING, dictCode = "FBDJ")
private BigDecimal carryingIdlerMaxRunningSpeed;
@TechnicalParameter(key = "protectGrade", label = "设备保护等级(防爆)", type = TechnicalParameter.ParamType.STRING, dictCode = "FBDJ")
private String protectGrade; private String protectGrade;
@TechnicalParameter(key = "temperatureGroup", label = "温度组别(防爆)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "temperatureGroup", label = "温度组别(防爆)", equCategory = "5100", type = TechnicalParameter.ParamType.STRING)
private String temperatureGroup; private String temperatureGroup;
@TechnicalParameter(key = "passengersNumber", label = "额定载客人数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "人") @TechnicalParameter(key = "passengersNumber", label = "额定载客人数", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "人")
private BigDecimal passengersNumber; private BigDecimal passengersNumber;
@TechnicalParameter(key = "maxDrivingSlope", label = "最大行驶坡度", type = TechnicalParameter.ParamType.BIG_DECIMAL) @TechnicalParameter(key = "maxDrivingSlope", label = "最大行驶坡度", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL)
private BigDecimal maxDrivingSlope; private BigDecimal maxDrivingSlope;
@TechnicalParameter(key = "vehicleMass", label = "整车整备质量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "Kg") @TechnicalParameter(key = "vehicleMass", label = "整车整备质量", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "Kg")
private BigDecimal vehicleMass; private BigDecimal vehicleMass;
@TechnicalParameter(key = "wheelBase", label = "轴距", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "wheelBase", label = "轴距", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal wheelBase; private BigDecimal wheelBase;
@TechnicalParameter(key = "trackWidthFront", label = "轮距(前)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "trackWidthFront", label = "轮距(前)", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal trackWidthFront; private BigDecimal trackWidthFront;
@TechnicalParameter(key = "trackWidthBehind", label = "轮距(后)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "trackWidthBehind", label = "轮距(后)", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal trackWidthBehind; private BigDecimal trackWidthBehind;
@TechnicalParameter(key = "carsNumber", label = "观光列车车厢数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "节") @TechnicalParameter(key = "carsNumber", label = "观光列车车厢数", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "节")
private BigDecimal carsNumber; private BigDecimal carsNumber;
@TechnicalParameter(key = "seatNumber", label = "观光列车每节车厢座位数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "个") @TechnicalParameter(key = "seatNumber", label = "观光列车每节车厢座位数", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "个")
private BigDecimal seatNumber; private BigDecimal seatNumber;
@TechnicalParameter(key = "tractorSeatNumber", label = "观光列车牵引车头座位数", equCategory = "5200", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "个")
@TechnicalParameter(key = "tractorSeatNumber", label = "观光列车牵引车头座位数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "个")
private BigDecimal tractorSeatNumber; private BigDecimal tractorSeatNumber;
@TechnicalParameter(key = "carryingIdlerMaxRunningSpeed", label = "空载最大运行速度", equCategory = "5100", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "km/h")
private BigDecimal carryingIdlerMaxRunningSpeed;
@TechnicalParameter(key = "maxLiftingHeight", label = "工作装置空载最大起升高度", equCategory = "5100", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal maxLiftingHeight;
@TechnicalParameter(key = "maxLiftingSpeed", label = "空载最大起升速度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "km/h")
private BigDecimal maxLiftingSpeed;
} }
...@@ -16,283 +16,275 @@ import java.math.BigDecimal; ...@@ -16,283 +16,275 @@ import java.math.BigDecimal;
@Group("2000") @Group("2000")
public class VesselTechParamsDefine implements ITechParamDefine { public class VesselTechParamsDefine implements ITechParamDefine {
@TechnicalParameter(key = "ratedQuality", label = "额定质量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "kg")
private BigDecimal ratedQuality;
@TechnicalParameter(key = "ambientTemperature", label = "使用环境温度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃")
private BigDecimal ambientTemperature;
@TechnicalParameter(key = "modelNumber", label = "型号", type = TechnicalParameter.ParamType.STRING)
private String modelNumber;
@TechnicalParameter(key = "num", label = "数量", type = TechnicalParameter.ParamType.BIG_DECIMAL)
private BigDecimal num;
@TechnicalParameter(key = "singleBottleVolume", label = "单瓶容积", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "L") @TechnicalParameter(key = "singleBottleVolume", label = "单瓶容积", equCategory = {"2300"} , tags = "vehicleCylinder", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "L")
private BigDecimal singleBottleVolume; private BigDecimal singleBottleVolume;
@TechnicalParameter(key = "totalVolume", label = "总容积", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m³") @TechnicalParameter(key = "chargingMedium", label = "充装介质", equCategory = {"2300"}, tags = "vehicleCylinder", type = TechnicalParameter.ParamType.STRING)
private BigDecimal totalVolume;
@TechnicalParameter(key = "chargingMedium", label = "充装介质", type = TechnicalParameter.ParamType.STRING)
private String chargingMedium; private String chargingMedium;
@TechnicalParameter(key = "specification", label = "规格", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "nominalWorkingPressure", label = "公称工作压力", equCategory = {"2300"}, tags = "vehicleCylinder", type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal nominalWorkingPressure;
@TechnicalParameter(key = "specification", label = "规格", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private String specification; private String specification;
@TechnicalParameter(key = "outsideDiameter", label = "外径", type = TechnicalParameter.ParamType.BIG_DECIMAL) @TechnicalParameter(key = "modelNumber", label = "型号", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private BigDecimal outsideDiameter; private String modelNumber;
@TechnicalParameter(key = "wallThickness", label = "壁厚", type = TechnicalParameter.ParamType.BIG_DECIMAL) @TechnicalParameter(key = "wallThickness", label = "壁厚", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL)
private BigDecimal wallThickness; private BigDecimal wallThickness;
@TechnicalParameter(key = "length", label = "长度", type = TechnicalParameter.ParamType.BIG_DECIMAL) @TechnicalParameter(key = "ratedQuality", label = "额定质量", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "kg")
private BigDecimal length; private BigDecimal ratedQuality;
@TechnicalParameter(key = "nominalWorkingPressure", label = "公称工作压力", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "ambientTemperature", label = "使用环境温度", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal nominalWorkingPressure; private BigDecimal ambientTemperature;
@TechnicalParameter(key = "bottleBody", label = "材料(瓶体)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "outsideDiameter", label = "外径", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL)
private String bottleBody; private BigDecimal outsideDiameter;
@TechnicalParameter(key = "endPlug", label = "材料(端塞)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "qpLossless", label = "无损检测方法(气瓶)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private String endPlug; private String qpLossless;
@TechnicalParameter(key = "piping", label = "材料(管路)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "length", label = "长度", equCategory = {"2300", "2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL)
private String piping; private BigDecimal length;
@TechnicalParameter(key = "qpLossless", label = "无损检测方法(气瓶)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "endPlug", label = "材料(端塞)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private String qpLossless; private String endPlug;
@TechnicalParameter(key = "glLossless", label = "无损检测方法(管路)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "piping", label = "材料(管路)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private String glLossless; private String piping;
@TechnicalParameter(key = "qpRatio", label = "无损检测比例(气瓶)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "%") @TechnicalParameter(key = "qpRatio", label = "无损检测比例(气瓶)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "%")
private BigDecimal qpRatio; private BigDecimal qpRatio;
@TechnicalParameter(key = "bottleBody", label = "材料(瓶体)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private String bottleBody;
@TechnicalParameter(key = "glRatio", label = "无损检测比例(管路)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "%") @TechnicalParameter(key = "qpPressure", label = "耐压试验压力(气瓶)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal glRatio;
@TechnicalParameter(key = "qpPressure", label = "耐压试验压力(气瓶)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa")
private BigDecimal qpPressure; private BigDecimal qpPressure;
@TechnicalParameter(key = "glPressure", label = "耐压试验压力(管路)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "glRatio", label = "无损检测比例(管路)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "%")
private BigDecimal glPressure; private BigDecimal glRatio;
@TechnicalParameter(key = "qpAirTightness", label = "气密性试验压力(气瓶)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa")
@TechnicalParameter(key = "qpAirTightness", label = "气密性试验压力(气瓶)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal qpAirTightness; private BigDecimal qpAirTightness;
@TechnicalParameter(key = "glAirTightness", label = "气密性试验压力(管路)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "glLossless", label = "无损检测方法(管路)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private BigDecimal glAirTightness; private String glLossless;
@TechnicalParameter(key = "displacementPressure", label = "气体置换后压力", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "heatTreatmentMethod", label = "热处理方式", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "%")
private BigDecimal displacementPressure; private BigDecimal heatTreatmentMethod;
@TechnicalParameter(key = "oxygen", label = "瓶体内含氧量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "%") @TechnicalParameter(key = "glPressure", label = "耐压试验压力(管路)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal oxygen; private BigDecimal glPressure;
@TechnicalParameter(key = "heatTreatmentMethod", label = "瓶体内含氧量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "%") @TechnicalParameter(key = "installationPosition", label = "气瓶安装位置", equCategory = {"2300"}, type = TechnicalParameter.ParamType.STRING)
private BigDecimal heatTreatmentMethod; private String installationPosition;
@TechnicalParameter(key = "qpHeatTreatmentTemperature", label = "热处理温度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃") @TechnicalParameter(key = "displacementPressure", label = "气体置换后压力", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal displacementPressure;
@TechnicalParameter(key = "qpHeatTreatmentTemperature", label = "热处理温度", equCategory = {"2300", "2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal qpHeatTreatmentTemperature; private BigDecimal qpHeatTreatmentTemperature;
@TechnicalParameter(key = "installationPosition", label = "气瓶安装位置", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "glAirTightness", label = "气密性试验压力(管路)", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private String installationPosition; private BigDecimal glAirTightness;
@TechnicalParameter(key = "oxygen", label = "瓶体内含氧量", equCategory = {"2300"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "%")
private BigDecimal oxygen;
@TechnicalParameter(key = "containerVolume", label = "容器容积", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m³")
@TechnicalParameter(key = "containerVolume", label = "容器容积", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m³")
private BigDecimal containerVolume; private BigDecimal containerVolume;
@TechnicalParameter(key = "pressureVesselDiameter", label = "容器内径", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "pressureVesselDiameter", label = "容器内径", equCategory = {"2100", "2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal pressureVesselDiameter; private BigDecimal pressureVesselDiameter;
@TechnicalParameter(key = "height", label = "容器高(长)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "height", label = "容器高(长)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal height; private BigDecimal height;
@TechnicalParameter(key = "materialCylinderShell", label = "材料(筒体(球壳))", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "materialCylinderShell", label = "材料(筒体(球壳))", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String materialCylinderShell; private String materialCylinderShell;
@TechnicalParameter(key = "pressureMaterialHead", label = "材料(封头)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "pressureMaterialHead", label = "材料(封头)", equCategory = {"2100", "2200"}, type = TechnicalParameter.ParamType.STRING)
private String pressureMaterialHead; private String pressureMaterialHead;
@TechnicalParameter(key = "pressureMaterialLining", label = "材料(衬里)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "pressureMaterialLining", label = "材料(衬里)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String pressureMaterialLining; private String pressureMaterialLining;
@TechnicalParameter(key = "materialJacket", label = "材料(夹套)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "materialJacket", label = "材料(夹套)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String materialJacket; private String materialJacket;
@TechnicalParameter(key = "thickness", label = "厚度(筒体(球壳))", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "thickness", label = "厚度(筒体(球壳))", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal thickness; private BigDecimal thickness;
@TechnicalParameter(key = "fixedHead", label = "厚度(封头)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "fixedHead", label = "厚度(封头)", equCategory = {"2100", "2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal fixedHead; private BigDecimal fixedHead;
@TechnicalParameter(key = "fixedLining", label = "厚度(衬里)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "fixedLining", label = "厚度(衬里)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal fixedLining; private BigDecimal fixedLining;
@TechnicalParameter(key = "fixedJacket", label = "厚度(夹套)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "fixedJacket", label = "厚度(夹套)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal fixedJacket; private BigDecimal fixedJacket;
@TechnicalParameter(key = "selfWeight", label = "容器自重", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "kg") @TechnicalParameter(key = "selfWeight", label = "容器自重", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "kg")
private BigDecimal selfWeight; private BigDecimal selfWeight;
@TechnicalParameter(key = "mediumWeight", label = "盛装介质重量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "kg") @TechnicalParameter(key = "mediumWeight", label = "盛装介质重量", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "kg")
private BigDecimal mediumWeight; private BigDecimal mediumWeight;
@TechnicalParameter(key = "pressureHousingPath", label = "设计压力(壳程)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "pressureHousingPath", label = "设计压力(壳程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String pressureHousingPath; private String pressureHousingPath;
@TechnicalParameter(key = "pressurePipe", label = "设计压力(管程)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "pressurePipe", label = "设计压力(管程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String pressurePipe; private String pressurePipe;
@TechnicalParameter(key = "pressureJacket", label = "设计压力(夹套)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "pressureJacket", label = "设计压力(夹套)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String pressureJacket; private String pressureJacket;
@TechnicalParameter(key = "temperatureShell", label = "设计温度(壳程)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃") @TechnicalParameter(key = "temperatureShell", label = "设计温度(壳程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal temperatureShell; private BigDecimal temperatureShell;
@TechnicalParameter(key = "temperaturePipe", label = "设计温度(管程)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃") @TechnicalParameter(key = "temperaturePipe", label = "设计温度(管程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal temperaturePipe; private BigDecimal temperaturePipe;
@TechnicalParameter(key = "temperatureJacket", label = "设计温度(夹套)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃") @TechnicalParameter(key = "temperatureJacket", label = "设计温度(夹套)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal temperatureJacket; private BigDecimal temperatureJacket;
@TechnicalParameter(key = "maxPressureShell", label = "最高允许工作压力(壳程)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "maxPressureShell", label = "最高允许工作压力(壳程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String maxPressureShell; private String maxPressureShell;
@TechnicalParameter(key = "maxPressurePipe", label = "最高允许工作压力(管程)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "maxPressurePipe", label = "最高允许工作压力(管程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String maxPressurePipe; private String maxPressurePipe;
@TechnicalParameter(key = "maxPressureJacket", label = "最高允许工作压力(夹套)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
@TechnicalParameter(key = "maxPressureJacket", label = "最高允许工作压力(夹套)", type = TechnicalParameter.ParamType.STRING)
private String maxPressureJacket; private String maxPressureJacket;
@TechnicalParameter(key = "mediumShell", label = "介质(壳程)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "mediumShell", label = "介质(壳程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String mediumShell; private String mediumShell;
@TechnicalParameter(key = "mediumPipe", label = "介质(管程)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "mediumPipe", label = "介质(管程)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String mediumPipe; private String mediumPipe;
@TechnicalParameter(key = "mediumJacket", label = "介质(夹套)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "mediumJacket", label = "介质(夹套)", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String mediumJacket; private String mediumJacket;
@TechnicalParameter(key = "mainStructureType", label = "主体结构型式", type = TechnicalParameter.ParamType.STRING, dictCode = "RQJG") @TechnicalParameter(key = "mainStructureType", label = "主体结构型式", equCategory = {"2100", "2200"}, type = TechnicalParameter.ParamType.STRING, dictCode = "RQJG")
private String mainStructureType; private String mainStructureType;
@TechnicalParameter(key = "support", label = "支座型式", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "support", label = "支座型式", equCategory = {"2100", "2200"}, type = TechnicalParameter.ParamType.STRING)
private String support; private String support;
@TechnicalParameter(key = "installation", label = "安装型式", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "installation", label = "安装型式", equCategory = {"2100", "2200", }, type = TechnicalParameter.ParamType.STRING)
private String installation; private String installation;
@TechnicalParameter(key = "insulation", label = "保温绝热方式", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "insulation", label = "保温绝热方式", equCategory = {"2100", "2200"}, type = TechnicalParameter.ParamType.STRING)
private String insulation; private String insulation;
@TechnicalParameter(key = "checkLossless", label = "无损检测方法", type = TechnicalParameter.ParamType.STRING , dictCode = "RQJCFF") @TechnicalParameter(key = "checkLossless", label = "无损检测方法", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING, dictCode = "RQJCFF")
private String checkLossless; private String checkLossless;
@TechnicalParameter(key = "withstandVoltage", label = "耐压试验种类", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "withstandVoltage", label = "耐压试验种类", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String withstandVoltage; private String withstandVoltage;
@TechnicalParameter(key = "leakage", label = "泄漏试验种类", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "leakage", label = "泄漏试验种类", equCategory = {"2100"}, type = TechnicalParameter.ParamType.STRING)
private String leakage; private String leakage;
@TechnicalParameter(key = "withstandPressureTest", label = "泄漏试验压力", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "withstandPressureTest", label = "耐压试验压力", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal withstandPressureTest; private BigDecimal withstandPressureTest;
@TechnicalParameter(key = "leakPressure", label = "泄漏试验压力", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "leakPressure", label = "泄漏试验压力", equCategory = {"2100"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal leakPressure; private BigDecimal leakPressure;
@TechnicalParameter(key = "container", label = "罐车编号", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "container", label = "容器型号", equCategory = {"2200"}, type = TechnicalParameter.ParamType.STRING)
private String container; private String container;
@TechnicalParameter(key = "carNum", label = "罐车编号", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "carNum", label = "罐车编号", equCategory = {"2200"}, type = TechnicalParameter.ParamType.STRING)
private String carNum; private String carNum;
@TechnicalParameter(key = "volume", label = "容积", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "L") @TechnicalParameter(key = "volume", label = "容积", equCategory = {"2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "L")
private BigDecimal volume; private BigDecimal volume;
@TechnicalParameter(key = "maxFill", label = "最大充装量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "kg") @TechnicalParameter(key = "maxFill", label = "最大充装量", equCategory = {"2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "kg")
private BigDecimal maxFill; private BigDecimal maxFill;
@TechnicalParameter(key = "designPressure", label = "设计压力", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "designPressure", label = "设计压力", equCategory = {"2200"}, type = TechnicalParameter.ParamType.STRING)
private String designPressure; private String designPressure;
@TechnicalParameter(key = "designTemperature", label = "设计温度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃") @TechnicalParameter(key = "designTemperature", label = "设计温度", equCategory = {"2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal designTemperature; private BigDecimal designTemperature;
@TechnicalParameter(key = "workingPressure", label = "工作压力", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "workingPressure", label = "工作压力", equCategory = {"2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal workingPressure; private BigDecimal workingPressure;
@TechnicalParameter(key = "workTemperature", label = "工作温度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃") @TechnicalParameter(key = "workTemperature", label = "工作温度", equCategory = {"2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal workTemperature; private BigDecimal workTemperature;
@TechnicalParameter(key = "materialCylinder", label = "材料(筒体)", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "materialCylinder", label = "材料(筒体)", equCategory = {"2200"}, type = TechnicalParameter.ParamType.STRING)
private String materialCylinder; private String materialCylinder;
@TechnicalParameter(key = "thicknessCylinder", label = "厚度(筒体)", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "thicknessCylinder", label = "厚度(筒体)", equCategory = {"2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal thicknessCylinder; private BigDecimal thicknessCylinder;
@TechnicalParameter(key = "corrosionMargin", label = "腐蚀裕量", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "mm") @TechnicalParameter(key = "corrosionMargin", label = "腐蚀裕量", equCategory = {"2200"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "mm")
private BigDecimal corrosionMargin; private BigDecimal corrosionMargin;
@TechnicalParameter(key = "medium", label = "介质", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "medium", label = "介质", equCategory = {"2200"}, type = TechnicalParameter.ParamType.STRING)
private String medium; private String medium;
@TechnicalParameter(key = "oxygenChamber", label = "氧舱品种", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "oxygenChamber", label = "氧舱品种", equCategory = {"2400"}, type = TechnicalParameter.ParamType.STRING)
private String oxygenChamber; private String oxygenChamber;
@TechnicalParameter(key = "ratedEntryCapacity", label = "额定进舱人数", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "人") @TechnicalParameter(key = "ratedEntryCapacity", label = "额定进舱人数", equCategory = {"2400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "人")
private BigDecimal ratedEntryCapacity; private BigDecimal ratedEntryCapacity;
@TechnicalParameter(key = "chamberMain", label = "主体结构", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "chamberMain", label = "主体结构", equCategory = {"2400"}, type = TechnicalParameter.ParamType.STRING)
private String chamberMain; private String chamberMain;
@TechnicalParameter(key = "chamberPressure", label = "压力", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "MPa") @TechnicalParameter(key = "chamberPressure", label = "压力", equCategory = {"2400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "MPa")
private BigDecimal chamberPressure; private BigDecimal chamberPressure;
@TechnicalParameter(key = "temperature", label = "温度", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "℃") @TechnicalParameter(key = "temperature", label = "温度", equCategory = {"2400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "℃")
private BigDecimal temperature; private BigDecimal temperature;
@TechnicalParameter(key = "pressureMedium", label = "压力介质", type = TechnicalParameter.ParamType.STRING) @TechnicalParameter(key = "pressureMedium", label = "压力介质", equCategory = {"2400"}, type = TechnicalParameter.ParamType.STRING)
private String pressureMedium; private String pressureMedium;
@TechnicalParameter(key = "perCapitaCabinCapacity", label = "人均舱容", type = TechnicalParameter.ParamType.BIG_DECIMAL,unit = "m³") @TechnicalParameter(key = "perCapitaCabinCapacity", label = "人均舱容", equCategory = {"2400"}, type = TechnicalParameter.ParamType.BIG_DECIMAL, unit = "m³")
private BigDecimal perCapitaCabinCapacity; private BigDecimal perCapitaCabinCapacity;
@TechnicalParameter(key = "vin", label = "车辆VIN码", type = TechnicalParameter.ParamType.STRING)
private String vin;
} }
...@@ -41,7 +41,7 @@ public class TechParamUtil { ...@@ -41,7 +41,7 @@ public class TechParamUtil {
} }
public static void main(String[] args) { public static void main(String[] args) {
List<TechParamItem> techParamItems = getParamMetaList("3000", "3400", "3420", false); List<TechParamItem> techParamItems = getParamMetaList("2000", "2300", "23T0", "vehicleCylinder");
System.out.println(techParamItems); System.out.println(techParamItems);
} }
...@@ -57,7 +57,7 @@ public class TechParamUtil { ...@@ -57,7 +57,7 @@ public class TechParamUtil {
return techParamItem; return techParamItem;
} }
public static List<TechParamItem> getParamMetaList(String equListCode, String equCategoryCode, String equDefineCode, Boolean whetherVehicleCylinder) { public static List<TechParamItem> getParamMetaList(String equListCode, String equCategoryCode, String equDefineCode, String... tags) {
List<TechParamItem> techParamItems = new ArrayList<>(); List<TechParamItem> techParamItems = new ArrayList<>();
for (Class<? extends ITechParamDefine> subClass : subClasses) { for (Class<? extends ITechParamDefine> subClass : subClasses) {
Field[] fields = subClass.getDeclaredFields(); Field[] fields = subClass.getDeclaredFields();
...@@ -70,7 +70,18 @@ public class TechParamUtil { ...@@ -70,7 +70,18 @@ public class TechParamUtil {
boolean equCategoryMatch = technicalParameter.equCategory().length == 0 || StringUtils.isEmpty(equCategoryCode) || Arrays.asList(technicalParameter.equCategory()).contains(equCategoryCode); 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); boolean equDefineMatch = technicalParameter.equDefine().length == 0 || StringUtils.isEmpty(equDefineCode) || Arrays.asList(technicalParameter.equDefine()).contains(equDefineCode);
if (equCategoryMatch && equDefineMatch) { // 标签是否匹配, 默认匹配
boolean tagMatch = true;
if (tags != null && tags.length > 0) {
List<String> filterTags = Arrays.asList(tags);
tagMatch = filterTags.stream().allMatch(tag-> Arrays.stream(technicalParameter.tags()).sequential().anyMatch(e->e.contains(tag)));
}
// 指定设备类别下默认字段设置
boolean ignoreField = false;
if (StringUtils.isEmpty(equDefineCode) && StringUtils.isNotEmpty(equCategoryCode) && technicalParameter.ignoreCategoryConf().length > 0) {
ignoreField = Arrays.asList(technicalParameter.ignoreCategoryConf()).contains(equCategoryCode);
}
if (!ignoreField && equCategoryMatch && equDefineMatch && tagMatch) {
TechParamItem techParamItem = getTechParamItem(equListCode, field); TechParamItem techParamItem = getTechParamItem(equListCode, field);
techParamItems.add(techParamItem); techParamItems.add(techParamItem);
} }
......
...@@ -20,6 +20,9 @@ import lombok.experimental.Accessors; ...@@ -20,6 +20,9 @@ import lombok.experimental.Accessors;
@Group(value = "tech_params_lifting") @Group(value = "tech_params_lifting")
public class TechParamsLiftingChangeFieldDto extends BaseTechParamsFieldDto { public class TechParamsLiftingChangeFieldDto extends BaseTechParamsFieldDto {
@FieldDisplayDefine(value = "额定载重量")
private String ratedLoadCapacity;
@FieldDisplayDefine(value = "额定起重量") @FieldDisplayDefine(value = "额定起重量")
private String ratedLiftingCapacity; private String ratedLiftingCapacity;
...@@ -79,11 +82,11 @@ public class TechParamsLiftingChangeFieldDto extends BaseTechParamsFieldDto { ...@@ -79,11 +82,11 @@ public class TechParamsLiftingChangeFieldDto extends BaseTechParamsFieldDto {
@FieldDisplayDefine(value = "额定横移速度") @FieldDisplayDefine(value = "额定横移速度")
private String ratedTraverseSpeed; private String ratedTraverseSpeed;
@FieldDisplayDefine(value = "单车最大(出)车时间") @FieldDisplayDefine(value = "单车最大(出)车时间")
@TableField("BICYCLE_MAX_EXIT_TIME") @TableField("BICYCLE_MAX_EXIT_TIME")
private String bicycleMaxExitTime; private String bicycleMaxExitTime;
@FieldDisplayDefine(value = "单车最大车时间") @FieldDisplayDefine(value = "单车最大(进)车时间")
private String bicycleMaxComeTime; private String bicycleMaxComeTime;
@FieldDisplayDefine(value = "区域防爆等级", dictCode = "FBDJ") @FieldDisplayDefine(value = "区域防爆等级", dictCode = "FBDJ")
......
...@@ -142,8 +142,8 @@ public class ComprehensiveStatisticalAnalysisServiceImpl { ...@@ -142,8 +142,8 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
String equList = jsonObject.getString("EQU_LIST"); String equList = jsonObject.getString("EQU_LIST");
String equCategory = jsonObject.getString("EQU_CATEGORY"); String equCategory = jsonObject.getString("EQU_CATEGORY");
String equDefine = jsonObject.getString("EQU_DEFINE"); String equDefine = jsonObject.getString("EQU_DEFINE");
Boolean whetherVehicleCylinder = "1".equals(jsonObject.getString("WHETHER_VEHICLE_CYLINDER")) ? Boolean.TRUE : Boolean.FALSE; String vehicleCylinder = "1".equals(jsonObject.getString("WHETHER_VEHICLE_CYLINDER")) ? "vehicleCylinder" : null;
List<TechParamItem> paramMetaList = TechParamUtil.getParamMetaList(equList, equCategory, equDefine, whetherVehicleCylinder); List<TechParamItem> paramMetaList = TechParamUtil.getParamMetaList(equList, equCategory, equDefine, vehicleCylinder);
JSONArray list = new JSONArray(); JSONArray list = new JSONArray();
for (int i = 0; i < paramMetaList.size(); i++) { for (int i = 0; i < paramMetaList.size(); i++) {
JSONObject object = new JSONObject(); JSONObject object = new JSONObject();
...@@ -2431,12 +2431,11 @@ public class ComprehensiveStatisticalAnalysisServiceImpl { ...@@ -2431,12 +2431,11 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
String equList = jsonObject.getString("EQU_LIST"); String equList = jsonObject.getString("EQU_LIST");
String equCategory = jsonObject.getString("EQU_CATEGORY"); String equCategory = jsonObject.getString("EQU_CATEGORY");
String equDefine = jsonObject.getString("EQU_DEFINE"); String equDefine = jsonObject.getString("EQU_DEFINE");
Boolean whetherVehicleCylinder = "1".equals(jsonObject.getString("WHETHER_VEHICLE_CYLINDER")) ? Boolean.TRUE : Boolean.FALSE; String vehicleCylinder = "1".equals(jsonObject.getString("WHETHER_VEHICLE_CYLINDER")) ? "vehicleCylinder" : null;
if ("".equals(equList) || null == equList) { if ("".equals(equList) || null == equList) {
throw new BaseException("需要先选择设备种类,才能选择技术参数", "200", "需要先选择设备种类,才能选择技术参数"); throw new BaseException("需要先选择设备种类,才能选择技术参数", "200", "需要先选择设备种类,才能选择技术参数");
} }
List<TechParamItem> paramMetaList = TechParamUtil.getParamMetaList(equList, equCategory, equDefine, whetherVehicleCylinder); List<TechParamItem> paramMetaList = TechParamUtil.getParamMetaList(equList, equCategory, equDefine, vehicleCylinder);
JSONArray list = new JSONArray(); JSONArray list = new JSONArray();
for (int i = 0; i < paramMetaList.size(); i++) { for (int i = 0; i < paramMetaList.size(); i++) {
JSONObject object = new JSONObject(); JSONObject object = new JSONObject();
......
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