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
334cdf7a
Commit
334cdf7a
authored
Jun 25, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(综合搜索):实体类创建
1.人员、企业、设备 2.技术参数
parent
8f9aa4dc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
1681 additions
and
12 deletions
+1681
-12
TechnicalParameter.java
...n/amos/boot/biz/common/annotation/TechnicalParameter.java
+19
-0
pom.xml
...os-boot-module-common/amos-boot-module-common-api/pom.xml
+6
-0
EsBaseEnterpriseInfoDao.java
...s/boot/module/common/api/dao/EsBaseEnterpriseInfoDao.java
+9
-0
EsEquipmentDao.java
...ejoin/amos/boot/module/common/api/dao/EsEquipmentDao.java
+9
-0
EsUserInfoDao.java
...eejoin/amos/boot/module/common/api/dao/EsUserInfoDao.java
+9
-0
BoilerTechParamsDefine.java
...os/boot/module/common/api/dto/BoilerTechParamsDefine.java
+111
-0
ElevatorTechParamDefine.java
...s/boot/module/common/api/dto/ElevatorTechParamDefine.java
+79
-0
ITechParamDefine.java
...oin/amos/boot/module/common/api/dto/ITechParamDefine.java
+4
-0
LiftingTechParamDefine.java
...os/boot/module/common/api/dto/LiftingTechParamDefine.java
+113
-0
PipelineTechParamDefine.java
...s/boot/module/common/api/dto/PipelineTechParamDefine.java
+68
-0
RidesTechParamDefine.java
...amos/boot/module/common/api/dto/RidesTechParamDefine.java
+49
-0
RopewayTechParamDefine.java
...os/boot/module/common/api/dto/RopewayTechParamDefine.java
+54
-0
TechParamMeta.java
...eejoin/amos/boot/module/common/api/dto/TechParamMeta.java
+37
-0
VehicleTechParamDefine.java
...os/boot/module/common/api/dto/VehicleTechParamDefine.java
+88
-0
VesselTechParamsDefine.java
...os/boot/module/common/api/dto/VesselTechParamsDefine.java
+261
-0
ESEquipmentInfo.java
...n/amos/boot/module/common/api/entity/ESEquipmentInfo.java
+0
-0
EsBaseEnterpriseInfo.java
...s/boot/module/common/api/entity/EsBaseEnterpriseInfo.java
+205
-0
EsUserInfo.java
...eejoin/amos/boot/module/common/api/entity/EsUserInfo.java
+245
-0
TechParamUtil.java
...join/amos/boot/module/common/biz/utils/TechParamUtil.java
+50
-0
BizDataChangeController.java
...oot/module/jg/biz/controller/BizDataChangeController.java
+1
-0
DataHandlerController.java
.../boot/module/jg/biz/controller/DataHandlerController.java
+26
-1
DataHandlerServiceImpl.java
...ot/module/jg/biz/service/impl/DataHandlerServiceImpl.java
+0
-0
DataHandlerController.java
...odule/statistcs/biz/controller/DataHandlerController.java
+30
-0
DataHandlerServiceImpl.java
...le/statistcs/biz/service/impl/DataHandlerServiceImpl.java
+68
-0
TzBaseEnterpriseInfo.java
...amos/boot/module/ymt/api/entity/TzBaseEnterpriseInfo.java
+12
-0
TzsUserInfo.java
.../yeejoin/amos/boot/module/ymt/api/entity/TzsUserInfo.java
+94
-9
IdxBizJgUseInfoMapper.java
...mos/boot/module/ymt/api/mapper/IdxBizJgUseInfoMapper.java
+5
-1
TzsUserPermissionMapper.java
...s/boot/module/ymt/api/mapper/TzsUserPermissionMapper.java
+14
-0
IdxBizJgUseInfoMapper.xml
...t-api/src/main/resources/mapper/IdxBizJgUseInfoMapper.xml
+15
-1
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/annotation/TechnicalParameter.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
biz
.
common
.
annotation
;
import
java.lang.annotation.*
;
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
(
ElementType
.
FIELD
)
@Documented
public
@interface
TechnicalParameter
{
String
key
();
String
label
();
ParamType
type
();
enum
ParamType
{
STRING
,
INTEGER
,
FLOAT
,
BIG_DECIMAL
,
BOOLEAN
}
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/pom.xml
View file @
334cdf7a
...
...
@@ -26,5 +26,11 @@
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
</dependency>
<dependency>
<groupId>
org.reflections
</groupId>
<artifactId>
reflections
</artifactId>
<version>
0.10.2
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
</project>
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dao/EsBaseEnterpriseInfoDao.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dao
;
import
com.yeejoin.amos.boot.module.common.api.entity.EsBaseEnterpriseInfo
;
import
org.springframework.data.repository.PagingAndSortingRepository
;
import
org.springframework.stereotype.Repository
;
@Repository
public
interface
EsBaseEnterpriseInfoDao
extends
PagingAndSortingRepository
<
EsBaseEnterpriseInfo
,
String
>
{
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dao/EsEquipmentDao.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dao
;
import
com.yeejoin.amos.boot.module.common.api.entity.ESEquipmentInfo
;
import
org.springframework.data.repository.PagingAndSortingRepository
;
import
org.springframework.stereotype.Repository
;
@Repository
public
interface
EsEquipmentDao
extends
PagingAndSortingRepository
<
ESEquipmentInfo
,
String
>
{
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dao/EsUserInfoDao.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dao
;
import
com.yeejoin.amos.boot.module.common.api.entity.EsUserInfo
;
import
org.springframework.data.repository.PagingAndSortingRepository
;
import
org.springframework.stereotype.Repository
;
@Repository
public
interface
EsUserInfoDao
extends
PagingAndSortingRepository
<
EsUserInfo
,
String
>
{
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/BoilerTechParamsDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.Group
;
import
com.yeejoin.amos.boot.biz.common.annotation.TechnicalParameter
;
import
lombok.Data
;
/**
* 锅炉-技术参数定义
*
* @author system_generator
* @date 2023-08-17
*/
@Data
@Group
(
"1000"
)
public
class
BoilerTechParamsDefine
implements
ITechParamDefine
{
@TechnicalParameter
(
key
=
"deviceLevel"
,
label
=
"设备级别"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
deviceLevel
;
@TechnicalParameter
(
key
=
"ratedEvaporationCapacityThermalPower"
,
label
=
"额定蒸发量(热功率)"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
ratedEvaporationCapacityThermalPower
;
@TechnicalParameter
(
key
=
"ratedWorkingPressure"
,
label
=
"额定工作压力"
,
type
=
TechnicalParameter
.
ParamType
.
BIG_DECIMAL
)
private
String
ratedWorkingPressure
;
@TechnicalParameter
(
key
=
"ratedOperatingTemperature"
,
label
=
"额定工作温度"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
ratedOperatingTemperature
;
@TechnicalParameter
(
key
=
"designThermalEfficiency"
,
label
=
"设计热效率"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
designThermalEfficiency
;
@TechnicalParameter
(
key
=
"feedwaterTemperature"
,
label
=
"给水温度"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
feedwaterTemperature
;
@TechnicalParameter
(
key
=
"ratedOutletReturnWaterOilTemperature"
,
label
=
"额定出/回水(油)温度"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
ratedOutletReturnWaterOilTemperature
;
@TechnicalParameter
(
key
=
"waterOilVolumeOfBoilerProper"
,
label
=
"锅炉本体水(油)容积"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
waterOilVolumeOfBoilerProper
;
@TechnicalParameter
(
key
=
"hydraulicTestMediumPressureOfPackagedBoilerBody"
,
label
=
"整装锅炉本体液压试验介质/压力"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
hydraulicTestMediumPressureOfPackagedBoilerBody
;
@TechnicalParameter
(
key
=
"inletOutletTemperatureOfReheater"
,
label
=
"再热器进(出)口温度"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
inletOutletTemperatureOfReheater
;
@TechnicalParameter
(
key
=
"reheaterInletOutletPressure"
,
label
=
"再热器进(出)口压力"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
reheaterInletOutletPressure
;
@TechnicalParameter
(
key
=
"reheatSteamFlow"
,
label
=
"再热蒸汽流量"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
reheatSteamFlow
;
@TechnicalParameter
(
key
=
"glAirtightTest"
,
label
=
"有机热载体锅炉气密试验介质/压力"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
glAirtightTest
;
@TechnicalParameter
(
key
=
"fuelType"
,
label
=
"燃料(热源)种类"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
fuelType
;
@TechnicalParameter
(
key
=
"nameOfPressureParts"
,
label
=
"受压部件名称"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
nameOfPressureParts
;
@TechnicalParameter
(
key
=
"materialOfPressureParts"
,
label
=
"受压部件材料"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
materialOfPressureParts
;
@TechnicalParameter
(
key
=
"wallThicknessOfPressureParts"
,
label
=
"受压部件壁厚"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
wallThicknessOfPressureParts
;
@TechnicalParameter
(
key
=
"nonDestructiveTestingMethodsForPressureParts"
,
label
=
"受压部件无损检测方法"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
nonDestructiveTestingMethodsForPressureParts
;
@TechnicalParameter
(
key
=
"proportionOfNdtForPressureParts"
,
label
=
"受压部件无损检测比例"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
proportionOfNdtForPressureParts
;
@TechnicalParameter
(
key
=
"heatTreatmentTemperatureOfPressureParts"
,
label
=
"受压部件热处理温度"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
heatTreatmentTemperatureOfPressureParts
;
@TechnicalParameter
(
key
=
"heatTreatmentTimeOfPressureParts"
,
label
=
"受压部件热处理时间"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
heatTreatmentTimeOfPressureParts
;
@TechnicalParameter
(
key
=
"hydrostaticTestMedium"
,
label
=
"受压部件水(耐)压试验介质"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
hydrostaticTestMedium
;
@TechnicalParameter
(
key
=
"hydrostaticTestPressure"
,
label
=
"受压部件水(耐)压试验压力"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
hydrostaticTestPressure
;
@TechnicalParameter
(
key
=
"combustionMode"
,
label
=
"燃烧方式"
,
type
=
TechnicalParameter
.
ParamType
.
STRING
)
private
String
combustionMode
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/ElevatorTechParamDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
/**
* 安全追溯-电梯
*
* @author system_generator
* @date 2023-08-17
*/
@Data
public
class
ElevatorTechParamDefine
implements
ITechParamDefine
{
@FieldDisplayDefine
(
value
=
"额定速度(上行)"
)
private
String
ratedSpeedUp
;
@FieldDisplayDefine
(
value
=
"额定速度(下行)"
)
private
String
ratedSpeedDown
;
@FieldDisplayDefine
(
value
=
"额定载重量"
)
private
String
ratedLoadCapacity
;
@FieldDisplayDefine
(
value
=
"提升高度"
)
private
String
liftingHeight
;
@FieldDisplayDefine
(
value
=
"层数"
)
private
Integer
storey
;
@FieldDisplayDefine
(
value
=
"站数"
)
private
Integer
stand
;
@FieldDisplayDefine
(
value
=
"门数"
)
private
Integer
numberDoors
;
@FieldDisplayDefine
(
value
=
"控制方式"
,
dictCode
=
"KZFS"
)
private
String
controlMode
;
@FieldDisplayDefine
(
value
=
"油缸数量"
)
private
Integer
numberCylinders
;
@FieldDisplayDefine
(
value
=
"顶升方式"
,
dictCode
=
"DSXS"
)
private
String
jackingType
;
@FieldDisplayDefine
(
value
=
"区域防爆等级"
,
dictCode
=
"FBDJ"
)
private
String
explosionproofGrade
;
@FieldDisplayDefine
(
value
=
"整机防爆标志"
)
private
String
explosionproofSignComplete
;
@FieldDisplayDefine
(
value
=
"名义速度"
)
private
String
nominalSpeed
;
@FieldDisplayDefine
(
value
=
"名义宽度"
)
private
String
nominalWidth
;
@FieldDisplayDefine
(
value
=
"倾斜角"
)
private
String
angleRoll
;
@FieldDisplayDefine
(
value
=
"使用区段长度"
)
private
String
useSectionLength
;
@FieldDisplayDefine
(
value
=
"输送能力"
)
private
String
conveyingCapacity
;
@FieldDisplayDefine
(
value
=
"轿门位置"
)
private
String
doorPosition
;
@FieldDisplayDefine
(
value
=
"额定速度"
)
private
String
ratedSpeed
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/ITechParamDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
public
interface
ITechParamDefine
{
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/LiftingTechParamDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.alibaba.fastjson.JSON
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
/**
* 安全追溯-起重机械
*
* @author system_generator
* @date 2023-08-17
*/
@Data
public
class
LiftingTechParamDefine
implements
ITechParamDefine
{
@FieldDisplayDefine
(
value
=
"额定起重量"
)
private
String
ratedLiftingCapacity
;
@FieldDisplayDefine
(
value
=
"最大起重量"
)
@TableField
(
"MAX_LIFTING_CAPACITY"
)
private
String
maxLiftingCapacity
;
@FieldDisplayDefine
(
value
=
"最大起重力矩"
)
@TableField
(
"MAX_LIFTING_TORQUE"
)
private
String
maxLiftingTorque
;
@FieldDisplayDefine
(
value
=
"跨度(工作幅度)"
)
private
String
spanWorkingRange
;
@FieldDisplayDefine
(
value
=
"起升速度"
)
private
String
liftingSpeed
;
@FieldDisplayDefine
(
value
=
"起升高度"
)
private
String
liftingHeight
;
@FieldDisplayDefine
(
value
=
"工作级别"
,
dictCode
=
"GZJB"
)
private
String
workLevel
;
@FieldDisplayDefine
(
value
=
"额定起重力矩"
)
private
String
ratedLiftingTorque
;
@FieldDisplayDefine
(
value
=
"层数/泊位数"
)
private
Integer
numberStorey
;
@FieldDisplayDefine
(
value
=
"运行速度"
)
private
String
runningSpeed
;
@FieldDisplayDefine
(
value
=
"大车运行速度"
)
private
String
bigcarRunSpeed
;
@FieldDisplayDefine
(
value
=
"小车运行速度"
)
private
String
smallcarrunSpeed
;
@FieldDisplayDefine
(
value
=
"额定成员数"
)
private
Integer
ratedMembers
;
@FieldDisplayDefine
(
value
=
"额定提升速度"
)
private
String
ratedLiftingSpeed
;
@FieldDisplayDefine
(
value
=
"自由端高度"
)
private
String
heightFreeEnd
;
@FieldDisplayDefine
(
value
=
"吊笼工作行程"
)
private
String
workStrokeCage
;
@FieldDisplayDefine
(
value
=
"存容量"
)
private
Integer
storageCapacity
;
@FieldDisplayDefine
(
value
=
"额定升降速度"
)
private
String
ratedLiftSpeed
;
@FieldDisplayDefine
(
value
=
"额定横移速度"
)
private
String
ratedTraverseSpeed
;
@FieldDisplayDefine
(
value
=
"单车最大进(出)车时间"
)
@TableField
(
"BICYCLE_MAX_EXIT_TIME"
)
private
String
bicycleMaxExitTime
;
@FieldDisplayDefine
(
value
=
"单车最大进车时间"
)
private
String
bicycleMaxComeTime
;
@FieldDisplayDefine
(
value
=
"区域防爆等级"
,
dictCode
=
"FBDJ"
)
private
String
explosionProofGrade
;
@FieldDisplayDefine
(
value
=
"悬臂长度"
)
private
String
cantileverLength
;
@FieldDisplayDefine
(
value
=
"变幅速度"
)
private
String
derrickingSpeed
;
@FieldDisplayDefine
(
value
=
"吊笼数量"
)
private
String
hangingCagesNumber
;
@FieldDisplayDefine
(
value
=
"燃爆物质"
)
private
String
explosiveSubstance
;
@FieldDisplayDefine
(
value
=
"整机防爆标志"
,
type
=
JSON
.
class
)
private
String
explosionproofSignComplete
;
@FieldDisplayDefine
(
value
=
"监检结束高度"
)
private
String
checkFinishedHeight
;
@FieldDisplayDefine
(
value
=
"适停车辆尺寸高"
)
private
String
parkingVehicleHeight
;
@FieldDisplayDefine
(
value
=
"适停车辆尺寸宽"
)
private
String
parkingVehicleWeight
;
@FieldDisplayDefine
(
value
=
"适停车辆尺寸长"
)
private
String
parkingVehicleLength
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/PipelineTechParamDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
/**
* 安全追溯-压力管道
*
* @author system_generator
* @date 2023-08-17
*/
@Data
public
class
PipelineTechParamDefine
implements
ITechParamDefine
{
@FieldDisplayDefine
(
value
=
"唯一标识"
,
isExist
=
false
)
private
String
record
;
@FieldDisplayDefine
(
value
=
"管道名称(登记单元)"
)
private
String
pipeName
;
@FieldDisplayDefine
(
value
=
"管道编号"
)
private
String
pipelineNumber
;
@FieldDisplayDefine
(
value
=
"管道级别"
,
typeHandler
=
"pieLineLevelTypeHandler"
)
private
String
deviceLevel
;
@FieldDisplayDefine
(
value
=
"公称直径"
)
private
String
nominalDiameter
;
@FieldDisplayDefine
(
value
=
"公称壁厚"
)
private
String
wallThickness
;
@FieldDisplayDefine
(
value
=
"管道长度"
)
private
Double
pipeLength
;
@FieldDisplayDefine
(
value
=
"设计压力"
)
private
String
pressure
;
@FieldDisplayDefine
(
value
=
"设计温度"
)
private
String
temperature
;
@FieldDisplayDefine
(
value
=
"设计介质"
)
private
String
medium
;
@FieldDisplayDefine
(
value
=
"工作压力"
)
private
String
workPressure
;
@FieldDisplayDefine
(
value
=
"工作温度"
)
private
String
workTemperature
;
@FieldDisplayDefine
(
value
=
"工作介质"
)
private
String
workMedium
;
@FieldDisplayDefine
(
value
=
"备注"
)
private
String
remarks
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/RidesTechParamDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
/**
* 安全追溯-游乐设施
*
* @author system_generator
* @date 2023-08-17
*/
@Data
public
class
RidesTechParamDefine
implements
ITechParamDefine
{
@FieldDisplayDefine
(
value
=
"轨道高度"
)
private
String
trackHeight
;
@FieldDisplayDefine
(
value
=
"运行速度"
)
private
String
runningSpeed
;
@FieldDisplayDefine
(
value
=
"乘坐人数"
)
private
Integer
numberOfPassengers
;
@FieldDisplayDefine
(
value
=
"滑道长度"
)
private
String
slideLength
;
@FieldDisplayDefine
(
value
=
"运行高度"
)
private
String
operatingHeight
;
@FieldDisplayDefine
(
value
=
"蹦极绳长度"
)
private
String
slideHeight
;
@FieldDisplayDefine
(
value
=
"回转直径"
)
private
String
rotaryDiameter
;
@FieldDisplayDefine
(
value
=
"单边摆角"
)
private
String
unilateralSwingAngle
;
@FieldDisplayDefine
(
value
=
"车辆数"
)
private
Integer
numberOfVehicles
;
@FieldDisplayDefine
(
value
=
"倾角"
)
private
String
dip
;
@FieldDisplayDefine
(
value
=
"设备高度"
)
private
String
equipmentHeight
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/RopewayTechParamDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
/**
* 安全追溯-索道
*
* @author system_generator
* @date 2023-08-17
*/
@Data
public
class
RopewayTechParamDefine
implements
ITechParamDefine
{
@FieldDisplayDefine
(
value
=
"平距"
)
private
String
horizontalDistance
;
@FieldDisplayDefine
(
value
=
"支架数目"
)
private
Integer
supportsCount
;
@FieldDisplayDefine
(
value
=
"斜长"
)
private
String
obliqueLength
;
@FieldDisplayDefine
(
value
=
"主电机型式"
)
private
String
mainMotorModel
;
@FieldDisplayDefine
(
value
=
"主电机功率"
)
private
String
mainMotorPower
;
@FieldDisplayDefine
(
value
=
"高差"
)
private
String
altitudeDifference
;
@FieldDisplayDefine
(
value
=
"运量"
)
private
String
freightVolume
;
@FieldDisplayDefine
(
value
=
"运载索"
,
dictCode
=
"YZS"
)
private
String
carrierLine
;
@FieldDisplayDefine
(
value
=
"速度"
)
private
String
speed
;
@FieldDisplayDefine
(
value
=
"承载索"
)
private
String
bearingCable
;
@FieldDisplayDefine
(
value
=
"索距"
)
private
String
cablePitch
;
@FieldDisplayDefine
(
value
=
"张紧油压(重锤重量)"
)
private
String
oilPressureHeavyHammer
;
@FieldDisplayDefine
(
value
=
"运载工具数量和类型"
)
private
String
numberAndTypeOfVehicles
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/TechParamMeta.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.TechnicalParameter
;
import
lombok.Data
;
@Data
public
class
TechParamMeta
{
/**
* 设备种类
*/
private
String
equListCode
;
/**
* 参数唯一标识
*/
private
String
paramKey
;
/**
* 参数描述
*/
private
String
paramLabel
;
/**
* 参数类型枚举
*/
private
TechnicalParameter
.
ParamType
paramType
;
/**
* 数字类型专用:最大小数位数
*/
private
Integer
maxPrecision
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/VehicleTechParamDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
/**
* 安全追溯-场内车辆
*
* @author system_generator
* @date 2023-08-17
*/
@Data
public
class
VehicleTechParamDefine
implements
ITechParamDefine
{
@FieldDisplayDefine
(
value
=
"车架编号"
)
private
String
frameNo
;
@FieldDisplayDefine
(
value
=
"发动机(行走电机)编号"
)
private
String
engineNo
;
@FieldDisplayDefine
(
value
=
"额定起重量"
)
private
String
liftingCapacity
;
@FieldDisplayDefine
(
value
=
"传动方式"
)
private
String
transmissionMode
;
@FieldDisplayDefine
(
value
=
"自重"
)
private
String
weight
;
@FieldDisplayDefine
(
value
=
"动力方式"
)
private
String
powerMode
;
@FieldDisplayDefine
(
value
=
"最大运行速度"
)
private
String
maxRunningSpeed
;
@FieldDisplayDefine
(
value
=
"工作装置空载最大起升高度"
)
private
String
maxLiftingHeight
;
@FieldDisplayDefine
(
value
=
"气体/粉尘组别(防爆)"
)
private
String
gasGroup
;
@FieldDisplayDefine
(
value
=
"车架结构"
)
private
String
frameStructure
;
@FieldDisplayDefine
(
value
=
"驾驶方式"
)
private
String
drivingMode
;
@FieldDisplayDefine
(
value
=
"空载最大运行速度"
)
private
String
carryingIdlerMaxRunningSpeed
;
@FieldDisplayDefine
(
value
=
"设备保护等级(防爆)"
,
dictCode
=
"FBDJ"
)
private
String
protectGrade
;
@FieldDisplayDefine
(
value
=
"温度组别(防爆)"
)
private
String
temperatureGroup
;
@FieldDisplayDefine
(
value
=
"额定载客人数"
)
private
Integer
passengersNumber
;
@FieldDisplayDefine
(
value
=
"最大行驶坡度"
)
private
String
maxDrivingSlope
;
@FieldDisplayDefine
(
value
=
"整车整备质量"
)
private
String
vehicleMass
;
@FieldDisplayDefine
(
value
=
"轴距"
)
private
String
wheelBase
;
@FieldDisplayDefine
(
value
=
"轮距(前)"
)
private
String
trackWidthFront
;
@FieldDisplayDefine
(
value
=
"轮距(后)"
)
private
String
trackWidthBehind
;
@FieldDisplayDefine
(
value
=
"观光列车车厢数"
)
private
Integer
carsNumber
;
@FieldDisplayDefine
(
value
=
"观光列车每节车厢座位数"
)
private
Integer
seatNumber
;
@FieldDisplayDefine
(
value
=
"观光列车牵引车头座位数"
)
private
Integer
tractorSeatNumber
;
@FieldDisplayDefine
(
value
=
"空载最大起升速度"
)
private
String
maxLiftingSpeed
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/VesselTechParamsDefine.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
/**
* 安全追溯-压力容器
*
* @author system_generator
* @date 2023-08-17
*/
@Data
public
class
VesselTechParamsDefine
implements
ITechParamDefine
{
@FieldDisplayDefine
(
value
=
"额定质量"
)
private
String
ratedQuality
;
@FieldDisplayDefine
(
value
=
"使用环境温度"
)
private
String
ambientTemperature
;
@FieldDisplayDefine
(
value
=
"型号"
)
private
String
modelNumber
;
@FieldDisplayDefine
(
value
=
"数量"
)
private
Integer
num
;
@FieldDisplayDefine
(
value
=
"单瓶容积"
)
private
String
singleBottleVolume
;
@FieldDisplayDefine
(
value
=
"总容积"
)
private
String
totalVolume
;
@FieldDisplayDefine
(
value
=
"充装介质"
)
private
String
chargingMedium
;
@FieldDisplayDefine
(
value
=
"规格"
)
private
String
specification
;
@FieldDisplayDefine
(
value
=
"外径"
)
private
String
outsideDiameter
;
@FieldDisplayDefine
(
value
=
"壁厚"
)
private
String
wallThickness
;
@FieldDisplayDefine
(
value
=
"长度"
)
private
String
length
;
@FieldDisplayDefine
(
value
=
"公称工作压力"
)
private
String
nominalWorkingPressure
;
@FieldDisplayDefine
(
value
=
"材料(瓶体)"
)
private
String
bottleBody
;
@FieldDisplayDefine
(
value
=
"材料(端塞)"
)
private
String
endPlug
;
@FieldDisplayDefine
(
value
=
"材料(管路)"
)
private
String
piping
;
@FieldDisplayDefine
(
value
=
"无损检测方法(气瓶)"
)
private
String
qpLossless
;
@FieldDisplayDefine
(
value
=
"无损检测方法(管路)"
)
private
String
glLossless
;
@FieldDisplayDefine
(
value
=
"无损检测比例(气瓶)"
)
private
String
qpRatio
;
@FieldDisplayDefine
(
value
=
"无损检测比例(管路)"
)
private
String
glRatio
;
@FieldDisplayDefine
(
value
=
"耐压试验压力(气瓶)"
)
private
String
qpPressure
;
@FieldDisplayDefine
(
value
=
"耐压试验压力(管路)"
)
private
String
glPressure
;
@FieldDisplayDefine
(
value
=
"气密性试验压力(气瓶)"
)
private
String
qpAirTightness
;
@FieldDisplayDefine
(
value
=
"气密性试验压力(管路)"
)
private
String
glAirTightness
;
@FieldDisplayDefine
(
value
=
"气体置换后压力"
)
private
String
displacementPressure
;
@FieldDisplayDefine
(
value
=
"瓶体内含氧量"
)
private
String
oxygen
;
@FieldDisplayDefine
(
value
=
"瓶体内含氧量"
)
private
String
heatTreatmentMethod
;
@FieldDisplayDefine
(
value
=
"热处理温度"
)
private
String
qpHeatTreatmentTemperature
;
@FieldDisplayDefine
(
value
=
"气瓶安装位置"
)
private
String
installationPosition
;
@FieldDisplayDefine
(
value
=
"容器容积"
)
private
String
containerVolume
;
@FieldDisplayDefine
(
value
=
"容器内径"
)
private
String
pressureVesselDiameter
;
@FieldDisplayDefine
(
value
=
"容器高(长)"
)
private
String
height
;
@FieldDisplayDefine
(
value
=
"材料(筒体(球壳))"
)
private
String
materialCylinderShell
;
@FieldDisplayDefine
(
value
=
"材料(封头)"
)
private
String
pressureMaterialHead
;
@FieldDisplayDefine
(
value
=
"材料(衬里)"
)
private
String
pressureMaterialLining
;
@FieldDisplayDefine
(
value
=
"材料(夹套)"
)
private
String
materialJacket
;
@FieldDisplayDefine
(
value
=
"厚度(筒体(球壳))"
)
private
String
thickness
;
@FieldDisplayDefine
(
value
=
"厚度(封头)"
)
private
String
fixedHead
;
@FieldDisplayDefine
(
value
=
"厚度(衬里)"
)
private
String
fixedLining
;
@FieldDisplayDefine
(
value
=
"厚度(夹套)"
)
private
String
fixedJacket
;
@FieldDisplayDefine
(
value
=
"容器自重"
)
private
String
selfWeight
;
@FieldDisplayDefine
(
value
=
"盛装介质重量"
)
private
String
mediumWeight
;
@FieldDisplayDefine
(
value
=
"设计压力(壳程)"
)
private
String
pressureHousingPath
;
@FieldDisplayDefine
(
value
=
"设计压力(管程)"
)
private
String
pressurePipe
;
@FieldDisplayDefine
(
value
=
"设计压力(夹套)"
)
private
String
pressureJacket
;
@FieldDisplayDefine
(
value
=
"设计温度(壳程)"
)
private
String
temperatureShell
;
@FieldDisplayDefine
(
value
=
"设计温度(管程)"
)
private
String
temperaturePipe
;
@FieldDisplayDefine
(
value
=
"设计温度(夹套)"
)
private
String
temperatureJacket
;
@FieldDisplayDefine
(
value
=
"最高允许工作压力(壳程)"
)
private
String
maxPressureShell
;
@FieldDisplayDefine
(
value
=
"最高允许工作压力(管程)"
)
private
String
maxPressurePipe
;
@FieldDisplayDefine
(
value
=
"最高允许工作压力(夹套)"
)
private
String
maxPressureJacket
;
@FieldDisplayDefine
(
value
=
"介质(壳程)"
)
private
String
mediumShell
;
@FieldDisplayDefine
(
value
=
"介质(管程)"
)
private
String
mediumPipe
;
@FieldDisplayDefine
(
value
=
"介质(夹套)"
)
private
String
mediumJacket
;
@FieldDisplayDefine
(
value
=
"主体结构型式"
,
dictCode
=
"RQJG"
)
private
String
mainStructureType
;
@FieldDisplayDefine
(
value
=
"支座型式"
)
private
String
support
;
@FieldDisplayDefine
(
value
=
"安装型式"
)
private
String
installation
;
@FieldDisplayDefine
(
value
=
"保温绝热方式"
)
private
String
insulation
;
@FieldDisplayDefine
(
value
=
"无损检测方法"
,
dictCode
=
"RQJCFF"
)
private
String
checkLossless
;
@FieldDisplayDefine
(
value
=
"耐压试验种类"
)
private
String
withstandVoltage
;
@FieldDisplayDefine
(
value
=
"泄漏试验种类"
)
private
String
leakage
;
@FieldDisplayDefine
(
value
=
"耐压试验压力"
)
private
String
withstandPressureTest
;
@FieldDisplayDefine
(
value
=
"泄漏试验压力"
)
private
String
leakPressure
;
@FieldDisplayDefine
(
value
=
"容器型号"
)
private
String
container
;
@FieldDisplayDefine
(
value
=
"罐车编号"
)
private
String
carNum
;
@FieldDisplayDefine
(
value
=
"容积"
)
private
String
volume
;
@FieldDisplayDefine
(
value
=
"最大充装量"
)
private
String
maxFill
;
@FieldDisplayDefine
(
value
=
"设计压力"
)
private
String
designPressure
;
@FieldDisplayDefine
(
value
=
"设计温度"
)
private
String
designTemperature
;
@FieldDisplayDefine
(
value
=
"工作压力"
)
private
String
workingPressure
;
@FieldDisplayDefine
(
value
=
"工作温度"
)
private
String
workTemperature
;
@FieldDisplayDefine
(
value
=
"材料(筒体)"
)
private
String
materialCylinder
;
@FieldDisplayDefine
(
value
=
"厚度(筒体)"
)
private
String
thicknessCylinder
;
@FieldDisplayDefine
(
value
=
"腐蚀裕量"
)
private
String
corrosionMargin
;
@FieldDisplayDefine
(
value
=
"介质"
)
private
String
medium
;
@FieldDisplayDefine
(
value
=
"氧舱品种"
)
private
String
oxygenChamber
;
@FieldDisplayDefine
(
value
=
"额定进舱人数"
)
private
Integer
ratedEntryCapacity
;
@FieldDisplayDefine
(
value
=
"主体结构"
)
private
String
chamberMain
;
@FieldDisplayDefine
(
value
=
"压力"
)
private
String
chamberPressure
;
@FieldDisplayDefine
(
value
=
"温度"
)
private
String
temperature
;
@FieldDisplayDefine
(
value
=
"压力介质"
)
private
String
pressureMedium
;
@FieldDisplayDefine
(
value
=
"人均舱容"
)
private
String
perCapitaCabinCapacity
;
@FieldDisplayDefine
(
value
=
"车辆VIN码"
)
private
String
vin
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/entity/ESEquipmentInfo.java
0 → 100644
View file @
334cdf7a
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/entity/EsBaseEnterpriseInfo.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
entity
;
import
lombok.Data
;
import
org.springframework.data.annotation.Id
;
import
org.springframework.data.elasticsearch.annotations.DateFormat
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
org.springframework.data.elasticsearch.annotations.Field
;
import
org.springframework.data.elasticsearch.annotations.FieldType
;
import
java.util.Date
;
import
java.util.List
;
@Data
@Document
(
indexName
=
"idx_biz_enterprise_info"
)
public
class
EsBaseEnterpriseInfo
{
@Id
private
String
sequenceNbr
;
/**
* 企业code
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
useUnitCode
;
/**
* 企业名称
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
useUnit
;
/**
* 企业code,个人的包含6600_
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
useCode
;
/**
* 单位地址行政区划
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
regionCode
;
/**
* 监管系统唯一编码
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
superviseCode
;
/**
* 联系人
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
contactUser
;
/**
* 联系人电话
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
contactPhone
;
/**
* 企业详情地址
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
address
;
/**
* 单位类型
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
unitType
;
/**
* 管辖机构OrgCode
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
superviseOrgCode
;
/**
* 管辖机构名称
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
superviseOrgName
;
/**
* 监管标签
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
regulatoryLabels
;
/**
* 行业主管部门
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
industrySupervisor
;
/**
* 经营状态
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
operatingStatus
;
/**
* 涉及设备类型
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
equipCategory
;
/**
* 公司的orgCode
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
orgCode
;
/**
* 办公区域
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
officeRegion
;
/**
* 企业下资质
*/
@Field
(
type
=
FieldType
.
Nested
)
private
List
<
License
>
licenses
;
@Data
public
static
class
License
{
/**
* 资质表主键
*/
@Field
(
type
=
FieldType
.
Long
)
private
Long
sequenceNbr
;
@Field
(
type
=
FieldType
.
Long
)
private
Long
unitLicenceId
;
/**
* 证书类型名称
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
certType
;
/**
* 证书类型CODE
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
certTypeCode
;
/**
* 证书编号
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
certNo
;
/**
* 许可到期日期
*/
@Field
(
type
=
FieldType
.
Date
,
format
=
DateFormat
.
date
)
private
Date
expiryDate
;
/**
* 许可项目/检验类型/设备品种(核准项目名称)
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
itemCode
;
/**
* 许可子项目/检验项目/充装介质类别code
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
subItemCode
;
/**
* 机构类别枚举
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
agencyType
;
/**
* 资质类型编码(检验检测、其他)
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
licenceType
;
/**
* 发证机关
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
approvedOrganCode
;
/**
* 发证日期
*/
@Field
(
type
=
FieldType
.
Date
,
format
=
DateFormat
.
date
)
private
Date
issueDate
;
}
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/entity/EsUserInfo.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
entity
;
import
lombok.Data
;
import
org.springframework.data.annotation.Id
;
import
org.springframework.data.elasticsearch.annotations.DateFormat
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
org.springframework.data.elasticsearch.annotations.Field
;
import
org.springframework.data.elasticsearch.annotations.FieldType
;
import
java.util.Date
;
import
java.util.List
;
@Data
@Document
(
indexName
=
"idx_biz_user_info"
)
public
class
EsUserInfo
{
@Id
private
String
sequenceNbr
;
/**
* 姓名
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
name
;
/**
* 证件类型
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
certificateType
;
/**
* 证件编号
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
certificateNum
;
/**
* 性别
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
gender
;
/**
* 岗位-保留兼容下游数据查询
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
post
;
/**
* 新岗位(后期post迁移数组至此)
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
newPost
;
/**
* 岗位名称-按照new_post显示
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
postName
;
/**
* 联系电话
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
phone
;
/**
* 出生日期
*/
@Field
(
type
=
FieldType
.
Date
,
format
=
DateFormat
.
date
)
private
Date
birthday
;
/**
* 学历
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
education
;
/**
* 专业
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
speciality
;
/**
* 邮箱
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
email
;
/**
* 住址
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
address
;
/**
* 证件照片
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
identification
;
/**
* 证件照片
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
appointDoc
;
/**
* 单位名称
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
unitName
;
/**
* 企业编码
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
unitCode
;
/**
* 头像
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
profile
;
/**
* 设备类型
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
equipType
;
/**
* 职称
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
jobTitle
;
/**
* 岗位子类型(多个逗号分割)
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
subPost
;
/**
* 岗位子类型名称(多个逗号分割)
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
subPostName
;
/**
* 管辖机构OrgCode--来源企业表
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
superviseOrgCode
;
/**
* 管辖机构名称--来源企业表
*/
@Field
(
type
=
FieldType
.
Text
)
private
String
superviseOrgName
;
/**
* 资质
*/
@Field
(
type
=
FieldType
.
Nested
)
private
List
<
License
>
licenses
;
@Data
public
static
class
License
{
/**
* 资质表主键
*/
@Field
(
type
=
FieldType
.
Long
)
private
Long
sequenceNbr
;
/**
* 主表主键
*/
@Field
(
type
=
FieldType
.
Long
)
private
Long
userSeq
;
/**
* 检验检测专用-级别
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
permissionLevel
;
/**
* 检验检测专用-资质项目
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
permissionItem
;
/**
* 证书编号
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
certNo
;
/**
* 有效期至
*/
@Field
(
type
=
FieldType
.
Date
,
format
=
DateFormat
.
date
)
private
Date
expiryDate
;
/**
* 发证机关
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
approvedOrgan
;
/**
* 发证日期
*/
@Field
(
type
=
FieldType
.
Date
,
format
=
DateFormat
.
date
)
private
Date
issueDate
;
/**
* 证书类型
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
certType
;
/**
* 作业项目
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
jobItem
;
/**
* 项目代号,多个用逗号分割
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
itemCode
;
/**
* 其他作业项目
*/
@Field
(
type
=
FieldType
.
Keyword
)
private
String
otherItem
;
}
}
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
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
biz
.
utils
;
import
com.yeejoin.amos.boot.biz.common.annotation.Group
;
import
com.yeejoin.amos.boot.biz.common.annotation.TechnicalParameter
;
import
com.yeejoin.amos.boot.module.common.api.dto.ITechParamDefine
;
import
com.yeejoin.amos.boot.module.common.api.dto.TechParamMeta
;
import
org.reflections.Reflections
;
import
java.lang.reflect.Field
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.concurrent.ConcurrentHashMap
;
public
class
TechParamUtil
{
private
static
final
Set
<
Class
<?
extends
ITechParamDefine
>>
subClasses
;
private
static
final
Map
<
String
,
List
<
TechParamMeta
>>
techParamsMetaMap
=
new
ConcurrentHashMap
<>();
static
{
//▼ 指定扫描包路径(根据实际项目调整)
Reflections
reflections
=
new
Reflections
(
"com.yeejoin.amos.boot.module.common.api.dto"
);
//▼ 获取所有继承ITechParamsMeta的类
subClasses
=
reflections
.
getSubTypesOf
(
ITechParamDefine
.
class
);
}
public
static
List
<
TechParamMeta
>
getParamMetaList
(
String
equListCode
)
{
return
techParamsMetaMap
.
computeIfAbsent
(
equListCode
,
(
key
)
->
{
List
<
TechParamMeta
>
techParamMetas
=
new
ArrayList
<>();
for
(
Class
<?
extends
ITechParamDefine
>
subClass
:
subClasses
)
{
Field
[]
fields
=
subClass
.
getDeclaredFields
();
Group
group
=
subClass
.
getAnnotation
(
Group
.
class
);
if
(
group
!=
null
&&
equListCode
.
equals
(
group
.
value
()))
{
for
(
Field
field
:
fields
)
{
field
.
setAccessible
(
true
);
TechnicalParameter
technicalParameter
=
field
.
getAnnotation
(
TechnicalParameter
.
class
);
TechParamMeta
techParamMeta
=
new
TechParamMeta
();
techParamMeta
.
setParamKey
(
technicalParameter
.
key
());
techParamMeta
.
setParamLabel
(
technicalParameter
.
label
());
techParamMeta
.
setEquListCode
(
equListCode
);
techParamMeta
.
setParamType
(
technicalParameter
.
type
());
techParamMetas
.
add
(
techParamMeta
);
}
}
}
return
techParamMetas
;
});
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/BizDataChangeController.java
View file @
334cdf7a
...
...
@@ -107,4 +107,5 @@ public class BizDataChangeController extends BaseController {
@RequestParam
(
value
=
"size"
)
int
size
)
{
return
ResponseHelper
.
buildResponse
(
bizDataChangeService
.
getChangeLogPage
(
bizId
,
bizType
,
current
,
size
));
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/DataHandlerController.java
View file @
334cdf7a
...
...
@@ -223,9 +223,33 @@ public class DataHandlerController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"
put
"
,
value
=
"历史设备装置初始化数据质量等级"
,
notes
=
"车用气瓶登记产权单位信息刷入useInfo表"
)
@ApiOperation
(
httpMethod
=
"
PUT
"
,
value
=
"历史设备装置初始化数据质量等级"
,
notes
=
"车用气瓶登记产权单位信息刷入useInfo表"
)
@PutMapping
(
value
=
"/initDataQualityScore"
)
public
ResponseModel
<
String
>
initDataQualityScore
()
{
return
ResponseHelper
.
buildResponse
(
dataHandlerService
.
initDataQualityScore
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"初始化综合搜索数据-企业"
,
notes
=
"初始化综合搜索数据-企业"
)
@PutMapping
(
value
=
"/company/initStatistData2Es"
)
public
ResponseModel
<
Integer
>
initCompanyStatistData2Es
()
{
return
ResponseHelper
.
buildResponse
(
dataHandlerService
.
initCompanyStatistData2Es
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"初始化综合搜索数据-人员"
,
notes
=
"初始化综合搜索数据-人员"
)
@PutMapping
(
value
=
"/user/initStatistData2Es"
)
public
ResponseModel
<
Integer
>
initUserStatistData2Es
()
{
return
ResponseHelper
.
buildResponse
(
dataHandlerService
.
initUserStatistData2Es
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"初始化综合搜索数据-设备"
,
notes
=
"初始化综合搜索数据-设备"
)
@PutMapping
(
value
=
"/equip/initStatistData2Es"
)
public
ResponseModel
<
Integer
>
initEquipStatistData2Es
()
{
return
ResponseHelper
.
buildResponse
(
dataHandlerService
.
initEquipStatistData2Es
());
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/DataHandlerServiceImpl.java
View file @
334cdf7a
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/DataHandlerController.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
statistcs
.
biz
.
controller
;
import
com.yeejoin.amos.boot.module.statistcs.biz.service.impl.DataHandlerServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
@RestController
@RequestMapping
(
value
=
"/data-handler"
)
@Api
(
tags
=
"刷数据api"
)
@RequiredArgsConstructor
public
class
DataHandlerController
{
private
final
DataHandlerServiceImpl
dataHandlerService
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"企业数据刷入到综合统计的es"
,
notes
=
"企业数据刷入到综合统计的es"
)
@PutMapping
(
value
=
"/company/init2Es"
)
public
ResponseModel
<
String
>
init2EsCompany
()
{
dataHandlerService
.
init2EsCompany
();
return
ResponseHelper
.
buildResponse
(
"success"
);
}
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DataHandlerServiceImpl.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
statistcs
.
biz
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.module.common.api.dao.EsBaseEnterpriseInfoDao
;
import
com.yeejoin.amos.boot.module.common.api.entity.EsBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.TzBaseUnitLicence
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.TzBaseUnitLicenceMapper
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.PageImpl
;
import
org.springframework.data.domain.PageRequest
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
import
java.util.Iterator
;
import
java.util.List
;
import
java.util.stream.Collectors
;
@Service
@RequiredArgsConstructor
public
class
DataHandlerServiceImpl
{
private
final
EsBaseEnterpriseInfoDao
enterpriseInfoDao
;
private
final
TzBaseEnterpriseInfoMapper
enterpriseInfoMapper
;
private
final
TzBaseUnitLicenceMapper
licenceMapper
;
public
void
init2EsCompany
()
{
// List<TzBaseEnterpriseInfo> units = enterpriseInfoMapper.selectList(null);
// List<EsBaseEnterpriseInfo> esBaseEnterpriseInfos = units.parallelStream().map(enterpriseInfo -> {
// EsBaseEnterpriseInfo esBaseEnterpriseInfo = new EsBaseEnterpriseInfo();
// esBaseEnterpriseInfo.setSequenceNbr(enterpriseInfo.getSequenceNbr() + "");
// esBaseEnterpriseInfo.setSuperviseOrgCode(enterpriseInfo.getSuperviseOrgCode());
// esBaseEnterpriseInfo.setUnitType(enterpriseInfo.getUnitType());
// esBaseEnterpriseInfo.setUseUnit(enterpriseInfo.getUseUnit());
// esBaseEnterpriseInfo.setUseUnitCode(enterpriseInfo.getUseUnitCode());
// List<TzBaseUnitLicence> unitLicences = licenceMapper.selectList(new LambdaQueryWrapper<TzBaseUnitLicence>().eq(TzBaseUnitLicence::getUnitCode, enterpriseInfo.getUseUnitCode()));
// List<EsBaseEnterpriseInfo.License> licenses = unitLicences.stream().map(lis -> {
// EsBaseEnterpriseInfo.License esLicense = new EsBaseEnterpriseInfo.License();
// esLicense.setExpiryDate(lis.getExpiryDate());
// esLicense.setCertTypeCode(lis.getCertTypeCode());
// esLicense.setUnitCode(lis.getUnitCode());
// esLicense.setCertNo(lis.getCertNo());
// return esLicense;
// }).collect(Collectors.toList());
// esBaseEnterpriseInfo.setLicenses(licenses);
// return esBaseEnterpriseInfo;
// }).collect(Collectors.toList());
// enterpriseInfoDao.saveAll(esBaseEnterpriseInfos);
loopSave
();
}
private
void
loopSave
()
{
PageRequest
pageRequest
=
PageRequest
.
of
(
0
,
10000
);
for
(
int
i
=
0
;
i
<
200
;
i
++)
{
List
<
EsBaseEnterpriseInfo
>
batch
=
enterpriseInfoDao
.
findAll
(
pageRequest
)
.
getContent
()
.
stream
()
.
peek
(
info
->
info
.
setSequenceNbr
(
null
))
.
collect
(
Collectors
.
toList
());
enterpriseInfoDao
.
saveAll
(
batch
);
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/entity/TzBaseEnterpriseInfo.java
View file @
334cdf7a
...
...
@@ -190,4 +190,16 @@ public class TzBaseEnterpriseInfo extends BaseEntity {
@ApiModelProperty
(
value
=
"注册类型"
)
private
String
registerType
;
@ApiModelProperty
(
value
=
"其他附件"
)
private
String
otherAccessories
;
@ApiModelProperty
(
value
=
"企业问题状态"
)
private
String
status
;
@ApiModelProperty
(
value
=
"省内办公地址省#市#区"
)
private
String
officeRegion
;
@ApiModelProperty
(
value
=
"省内详细办公地址"
)
private
String
officeAddress
;
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/entity/TzsUserInfo.java
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.FieldStrategy
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
...
...
@@ -46,12 +47,24 @@ public class TzsUserInfo extends BaseEntity {
private
String
gender
;
/**
* 岗位
* 岗位
-保留兼容下游数据查询
*/
@TableField
(
"post"
)
private
String
post
;
/**
* 新岗位(后期post迁移数组至此)
*/
@TableField
(
"new_post"
)
private
String
newPost
;
/**
* 岗位名称-按照new_post显示
*/
@TableField
(
"post_name"
)
private
String
postName
;
/**
* 联系电话
*/
@TableField
(
"phone"
)
...
...
@@ -93,6 +106,24 @@ public class TzsUserInfo extends BaseEntity {
@TableField
(
value
=
"identification"
)
private
String
identification
;
/**
* 证件照片
*/
@TableField
(
value
=
"appoint_doc"
)
private
String
appointDoc
;
/**
* 执业注册
*/
@TableField
(
value
=
"practice_registration"
)
private
String
practiceRegistration
;
/**
* 劳动合同
*/
@TableField
(
value
=
"labor_contract"
)
private
String
laborContract
;
/**
* 账户名
...
...
@@ -106,6 +137,7 @@ public class TzsUserInfo extends BaseEntity {
@TableField
(
"unit_name"
)
private
String
unitName
;
/**
* 企业编码
*/
...
...
@@ -124,6 +156,18 @@ public class TzsUserInfo extends BaseEntity {
*/
@TableField
(
"amos_user_id"
)
private
String
amosUserId
;
/**
* 平台账号锁定状态
*/
@TableField
(
"lock_status"
)
private
String
lockStatus
;
/**
* 设备类型
*/
@TableField
(
value
=
"equip_type"
,
updateStrategy
=
FieldStrategy
.
IGNORED
)
private
String
equipType
;
/**
* 内部人员编码
*/
...
...
@@ -131,16 +175,36 @@ public class TzsUserInfo extends BaseEntity {
private
String
innerPersonCode
;
/**
*
证件照片
*
其他附件
*/
@TableField
(
value
=
"
appoint_doc
"
)
private
String
appointDoc
;
@TableField
(
value
=
"
other_accessories
"
)
private
String
otherAccessories
;
/**
*
新岗位(后期post迁移数组至此)
*
验检验专用-级别-废弃,被permissionData替代
*/
@TableField
(
"new_post"
)
private
String
newPost
;
@Deprecated
@TableField
(
value
=
"permission_level"
)
private
String
permissionLevel
;
/**
* 验检验专用-资质项目-废弃,被permissionData替代
*/
@Deprecated
@TableField
(
value
=
"permission_item"
)
private
String
permissionItem
;
/**
* 验检验专用-资质数据json,替代:permission_level、permission_item
*/
@TableField
(
value
=
"permission_data"
)
private
String
permissionData
;
/**
* 职称
*/
@TableField
(
value
=
"job_title"
)
private
String
jobTitle
;
/**
* 二维码状态0异常1正常
...
...
@@ -148,6 +212,27 @@ public class TzsUserInfo extends BaseEntity {
@TableField
(
"qr_code_state"
)
private
String
qrCodeState
;
@TableField
(
"post_name"
)
private
String
postName
;
/**
* 岗位子类型(多个逗号分割)
*/
@TableField
(
value
=
"sub_post"
,
updateStrategy
=
FieldStrategy
.
IGNORED
)
private
String
subPost
;
/**
* 岗位子类型名称(多个逗号分割)
*/
@TableField
(
value
=
"sub_post_name"
,
updateStrategy
=
FieldStrategy
.
IGNORED
)
private
String
subPostName
;
/**
* 人员转出标识(1:已转出,0:未转出,空值默认为未转出0)
*/
@TableField
(
value
=
"transfer_out"
)
protected
String
transferOut
;
/**
* 人员转出时间
*/
@TableField
(
value
=
"transfer_out_time"
)
protected
Date
transferOutTime
;
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/IdxBizJgUseInfoMapper.java
View file @
334cdf7a
...
...
@@ -19,9 +19,13 @@ public interface IdxBizJgUseInfoMapper extends BaseMapper<IdxBizJgUseInfo> {
List
<
IdxBizJgUseInfo
>
selectXAList
();
List
<
RefreshDataDto
>
selectUseInfoOfOneVersion
(
Integer
version
);
List
<
RefreshDataDto
>
selectUseInfoOfOneVersion
(
@Param
(
"version"
)
Integer
version
);
List
<
String
>
selectUseInfoOfOneVersionAll
(
@Param
(
"version"
)
Integer
version
);
Integer
selectMaxVersion
();
void
updateDataQualityScoreBatch
(
@Param
(
"equips"
)
List
<
EquipWaitRefreshDataQualityScore
>
refreshDataQualityScores
,
@Param
(
"version"
)
int
version
);
void
updateVersionBatch
(
@Param
(
"records"
)
List
<
String
>
records
,
@Param
(
"version"
)
int
version
);
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/TzsUserPermissionMapper.java
0 → 100644
View file @
334cdf7a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.common.api.entity.TzsUserPermission
;
/**
* 用户资质信息表 Mapper 接口
*
* @author system_generator
* @date 2024-08-27
*/
public
interface
TzsUserPermissionMapper
extends
BaseMapper
<
TzsUserPermission
>
{
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/IdxBizJgUseInfoMapper.xml
View file @
334cdf7a
...
...
@@ -45,14 +45,28 @@
LEFT JOIN idx_biz_jg_factory_info fi on fi."RECORD" = ui."RECORD"
where
jri.EQU_LIST !='8000'
AND (ui.VERSION
<![CDATA[ <> ]]>
1
or ui.VERSION is null)
AND (ui.VERSION
<![CDATA[ <> ]]>
#{version}
or ui.VERSION is null)
and jri.EQU_CATEGORY
<![CDATA[ <> ]]>
''
and ui.is_into_management is not null
limit 10000
</select>
<select
id=
"selectUseInfoOfOneVersionAll"
resultType=
"java.lang.String"
>
SELECT
ui.record
from
"idx_biz_jg_use_info" ui
where
ui.VERSION
<![CDATA[ <> ]]>
#{version} or ui.VERSION is null
limit 10000
</select>
<select
id=
"selectMaxVersion"
resultType=
"java.lang.Integer"
>
SELECT
COALESCE(MAX(version),0) as version
FROM "idx_biz_jg_use_info"
</select>
<update
id=
"updateVersionBatch"
>
<foreach
collection=
"records"
separator=
";"
item=
"record"
open=
""
close=
""
>
UPDATE idx_biz_jg_use_info SET "VERSION"=#{version} WHERE record = #{record}
</foreach>
</update>
</mapper>
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