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
06a0700d
Commit
06a0700d
authored
Jun 27, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加技术参数默认值null时为0
2.报检规则联调
parent
d6820b0d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
12 deletions
+23
-12
InspectionOrgRefreshListener.java
...odule/jyjc/biz/listener/InspectionOrgRefreshListener.java
+3
-1
RegistrationInfo.java
...oin/amos/boot/module/ymt/api/entity/RegistrationInfo.java
+9
-0
EquipTechParamBoilerMapper.xml
.../src/main/resources/mapper/EquipTechParamBoilerMapper.xml
+2
-2
EquipTechParamRidesMapper.xml
...i/src/main/resources/mapper/EquipTechParamRidesMapper.xml
+8
-8
EquipTechParamVesselMapper.xml
.../src/main/resources/mapper/EquipTechParamVesselMapper.xml
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/listener/InspectionOrgRefreshListener.java
View file @
06a0700d
...
@@ -140,6 +140,8 @@ public class InspectionOrgRefreshListener extends EmqxListener {
...
@@ -140,6 +140,8 @@ public class InspectionOrgRefreshListener extends EmqxListener {
JyjcInspectionApplicationNoAcceptLog
jyjcInspectionApplicationNoAcceptLog
=
getLastNoAcceptLog
(
equipInfoModel
);
JyjcInspectionApplicationNoAcceptLog
jyjcInspectionApplicationNoAcceptLog
=
getLastNoAcceptLog
(
equipInfoModel
);
inspectionEquipInfo
.
setRequestType
(
this
.
buildRequestType
(
equipInfoModel
,
jyjcInspectionApplicationNoAcceptLog
));
inspectionEquipInfo
.
setRequestType
(
this
.
buildRequestType
(
equipInfoModel
,
jyjcInspectionApplicationNoAcceptLog
));
inspectionEquipInfo
.
setLastNoAcceptInspectionCode
(
this
.
buildLastNoAcceptInspectionCode
(
jyjcInspectionApplicationNoAcceptLog
));
inspectionEquipInfo
.
setLastNoAcceptInspectionCode
(
this
.
buildLastNoAcceptInspectionCode
(
jyjcInspectionApplicationNoAcceptLog
));
// 是否球罐 0 1 转 boolean
inspectionEquipInfo
.
setIsBallValve
(!
"0"
.
equals
(
registrationInfo
.
getWhetherSphericalTank
()));
touchRuleWithApi
(
inspectionEquipInfo
);
touchRuleWithApi
(
inspectionEquipInfo
);
}
}
...
@@ -180,7 +182,7 @@ public class InspectionOrgRefreshListener extends EmqxListener {
...
@@ -180,7 +182,7 @@ public class InspectionOrgRefreshListener extends EmqxListener {
private
RegistrationInfo
fetchRegistrationInfo
(
String
record
)
{
private
RegistrationInfo
fetchRegistrationInfo
(
String
record
)
{
return
registrationInfoMapper
.
selectOne
(
return
registrationInfoMapper
.
selectOne
(
Wrappers
.<
RegistrationInfo
>
lambdaQuery
().
select
(
RegistrationInfo:
:
getRecord
,
RegistrationInfo:
:
getEquCategory
,
Wrappers
.<
RegistrationInfo
>
lambdaQuery
().
select
(
RegistrationInfo:
:
getRecord
,
RegistrationInfo:
:
getEquCategory
,
RegistrationInfo:
:
getEquDefine
,
RegistrationInfo:
:
getEquList
)
RegistrationInfo:
:
getEquDefine
,
RegistrationInfo:
:
getEquList
,
RegistrationInfo:
:
getWhetherSphericalTank
)
.
eq
(
RegistrationInfo:
:
getRecord
,
record
));
.
eq
(
RegistrationInfo:
:
getRecord
,
record
));
}
}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/entity/RegistrationInfo.java
View file @
06a0700d
...
@@ -185,4 +185,13 @@ public class RegistrationInfo extends AbstractEquipBaseEntity {
...
@@ -185,4 +185,13 @@ public class RegistrationInfo extends AbstractEquipBaseEntity {
@TableField
(
"\"LAST_USE_CERT_FILE_PATH\""
)
@TableField
(
"\"LAST_USE_CERT_FILE_PATH\""
)
private
String
lastUseCertFilePath
;
private
String
lastUseCertFilePath
;
/**
* 是否球罐
* 1:是
* 0:不是
*/
@TableField
(
"\"WHETHER_SPHERICAL_TANK\""
)
private
String
whetherSphericalTank
;
}
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/EquipTechParamBoilerMapper.xml
View file @
06a0700d
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
resultType=
"com.yeejoin.amos.boot.module.ymt.api.entity.EquipTechParamBoiler"
>
resultType=
"com.yeejoin.amos.boot.module.ymt.api.entity.EquipTechParamBoiler"
>
select
select
"DEVICE_LEVEL",
"DEVICE_LEVEL",
"RATED_EVAPORATION_CAPACITY_THERMAL_POWER"
,
COALESCE("RATED_EVAPORATION_CAPACITY_THERMAL_POWER", 0) as RATED_EVAPORATION_CAPACITY_THERMAL_POWER
,
"RATED_WORKING_PRESSURE"
,
COALESCE("RATED_WORKING_PRESSURE", 0) as RATED_WORKING_PRESSURE
,
"RATED_OPERATING_TEMPERATURE",
"RATED_OPERATING_TEMPERATURE",
"DESIGN_THERMAL_EFFICIENCY",
"DESIGN_THERMAL_EFFICIENCY",
"FEEDWATER_TEMPERATURE",
"FEEDWATER_TEMPERATURE",
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/EquipTechParamRidesMapper.xml
View file @
06a0700d
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
<mapper
namespace=
"com.yeejoin.amos.boot.module.ymt.api.mapper.EquipTechParamRidesMapper"
>
<mapper
namespace=
"com.yeejoin.amos.boot.module.ymt.api.mapper.EquipTechParamRidesMapper"
>
<select
id=
"queryTechParamInUse"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.entity.EquipTechParamRides"
>
<select
id=
"queryTechParamInUse"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.entity.EquipTechParamRides"
>
SELECT
SELECT
"TRACK_HEIGHT"
,
COALESCE("TRACK_HEIGHT", 0) as TRACK_HEIGHT
,
"RUNNING_SPEED"
,
COALESCE("RUNNING_SPEED", 0) as RUNNING_SPEED
,
"NUMBER_OF_PASSENGERS"
,
COALESCE("NUMBER_OF_PASSENGERS", 0) as NUMBER_OF_PASSENGERS
,
"SLIDE_LENGTH"
,
COALESCE("SLIDE_LENGTH", 0) as SLIDE_LENGTH
,
"NUMBER_OF_VEHICLES",
"NUMBER_OF_VEHICLES",
"OPERATING_HEIGHT"
,
COALESCE("OPERATING_HEIGHT", 0) as OPERATING_HEIGHT
,
"ROTARY_DIAMETER"
,
COALESCE("ROTARY_DIAMETER", 0) as ROTARY_DIAMETER
,
"UNILATERAL_SWING_ANGLE",
"UNILATERAL_SWING_ANGLE",
"DIP"
,
COALESCE("DIP", 0) as DIP
,
"SLEWING_SPEED",
"SLEWING_SPEED",
"EQUIPMENT_HEIGHT"
COALESCE("EQUIPMENT_HEIGHT", 0) as EQUIPMENT_HEIGHT
FROM
FROM
idx_biz_jg_tech_params_rides
idx_biz_jg_tech_params_rides
WHERE RECORD = #{record}
WHERE RECORD = #{record}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/EquipTechParamVesselMapper.xml
View file @
06a0700d
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
heat_treatment_method,
heat_treatment_method,
qp_heat_treatment_temperature,
qp_heat_treatment_temperature,
installation_position,
installation_position,
container_volume,
COALESCE(container_volume, 0) as
container_volume,
pressure_vessel_diameter,
pressure_vessel_diameter,
height,
height,
material_cylinder_shell,
material_cylinder_shell,
...
...
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