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
20d0989c
Commit
20d0989c
authored
Oct 13, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg): 调整数据质量评分逻辑与创建时间处理- 修改未纳管气瓶的数据质量评分规则,确保逻辑正确
- 更新车用与非车用气瓶的分级判断条件 -优化CREATE_DATE字段的处理逻辑,避免空值异常- 查询使用登记证信息时增加删除标志过滤条件
parent
86623277
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
6 deletions
+15
-6
ShCarController.java
...n/amos/boot/module/jg/biz/controller/ShCarController.java
+2
-1
DataHandlerServiceImpl.java
...ot/module/jg/biz/service/impl/DataHandlerServiceImpl.java
+4
-4
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+7
-1
CategoryOtherInfoMapper.xml
...api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
+2
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/ShCarController.java
View file @
20d0989c
...
@@ -122,7 +122,8 @@ public class ShCarController extends BaseController {
...
@@ -122,7 +122,8 @@ public class ShCarController extends BaseController {
record
.
setClaimedFlag
(
"是"
);
record
.
setClaimedFlag
(
"是"
);
JgUseRegistrationManage
manage
=
jgUseRegistrationManageServiceImpl
.
getBaseMapper
()
JgUseRegistrationManage
manage
=
jgUseRegistrationManageServiceImpl
.
getBaseMapper
()
.
selectOne
(
new
LambdaQueryWrapper
<
JgUseRegistrationManage
>()
.
selectOne
(
new
LambdaQueryWrapper
<
JgUseRegistrationManage
>()
.
eq
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
record
.
getUseRegistrationCode
()));
.
eq
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
record
.
getUseRegistrationCode
())
.
eq
(
JgUseRegistrationManage:
:
getIsDelete
,
false
));
record
.
setCertificateSeq
(
manage
!=
null
?
String
.
valueOf
(
manage
.
getSequenceNbr
())
:
null
);
record
.
setCertificateSeq
(
manage
!=
null
?
String
.
valueOf
(
manage
.
getSequenceNbr
())
:
null
);
}
else
if
(
"0"
.
equals
(
record
.
getClaimedFlag
()))
{
}
else
if
(
"0"
.
equals
(
record
.
getClaimedFlag
()))
{
record
.
setClaimedFlag
(
"否"
);
record
.
setClaimedFlag
(
"否"
);
...
...
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 @
20d0989c
...
@@ -1363,19 +1363,19 @@ public class DataHandlerServiceImpl {
...
@@ -1363,19 +1363,19 @@ public class DataHandlerServiceImpl {
}
}
// 3.未纳管且有使用登记证为空
// 3.未纳管且有使用登记证为空
String
whetherVehicleCylinder
=
StringUtils
.
isEmpty
(
equip
.
getWhetherVehicleCylinder
())
?
"0"
:
equip
.
getWhetherVehicleCylinder
();
String
whetherVehicleCylinder
=
StringUtils
.
isEmpty
(
equip
.
getWhetherVehicleCylinder
())
?
"0"
:
equip
.
getWhetherVehicleCylinder
();
// 3.1非车用气瓶逻辑
1
// 3.1非车用气瓶逻辑
3 未纳管气瓶没有使用登记,直接都为3级
if
((!
equip
.
getIsIntoManagement
())
&&
StringUtils
.
isNotEmpty
(
equip
.
getUseOrgCode
())
&&
"0"
.
equals
(
whetherVehicleCylinder
))
{
if
((!
equip
.
getIsIntoManagement
())
&&
StringUtils
.
isNotEmpty
(
equip
.
getUseOrgCode
())
&&
"0"
.
equals
(
whetherVehicleCylinder
))
{
EquipWaitRefreshDataQualityScore
waitRefreshDataQualityScore
=
new
EquipWaitRefreshDataQualityScore
(
equip
.
getRecord
(),
1
);
EquipWaitRefreshDataQualityScore
waitRefreshDataQualityScore
=
new
EquipWaitRefreshDataQualityScore
(
equip
.
getRecord
(),
3
);
refreshDataQualityScores
.
add
(
waitRefreshDataQualityScore
);
refreshDataQualityScores
.
add
(
waitRefreshDataQualityScore
);
}
}
// 3.2车用气瓶逻辑, 单位内部编号、出场编号全有时刷为1;缺少任意一项时刷为2
// 3.2车用气瓶逻辑, 单位内部编号、出场编号全有时刷为1;缺少任意一项时刷为2
if
((!
equip
.
getIsIntoManagement
())
&&
StringUtils
.
isNotEmpty
(
equip
.
getUseOrgCode
())
&&
"1"
.
equals
(
whetherVehicleCylinder
))
{
if
((!
equip
.
getIsIntoManagement
())
&&
StringUtils
.
isNotEmpty
(
equip
.
getUseOrgCode
())
&&
"1"
.
equals
(
whetherVehicleCylinder
))
{
if
(
StringUtils
.
isEmpty
(
equip
.
getUseInnerCode
())
||
StringUtils
.
isEmpty
(
equip
.
getFactoryNum
()))
{
if
(
StringUtils
.
isEmpty
(
equip
.
getUseInnerCode
())
||
StringUtils
.
isEmpty
(
equip
.
getFactoryNum
()))
{
EquipWaitRefreshDataQualityScore
waitRefreshDataQualityScore
=
new
EquipWaitRefreshDataQualityScore
(
equip
.
getRecord
(),
2
);
EquipWaitRefreshDataQualityScore
waitRefreshDataQualityScore
=
new
EquipWaitRefreshDataQualityScore
(
equip
.
getRecord
(),
3
);
refreshDataQualityScores
.
add
(
waitRefreshDataQualityScore
);
refreshDataQualityScores
.
add
(
waitRefreshDataQualityScore
);
}
}
if
(
StringUtils
.
isNotEmpty
(
equip
.
getUseInnerCode
())
&&
StringUtils
.
isNotEmpty
(
equip
.
getFactoryNum
()))
{
if
(
StringUtils
.
isNotEmpty
(
equip
.
getUseInnerCode
())
&&
StringUtils
.
isNotEmpty
(
equip
.
getFactoryNum
()))
{
EquipWaitRefreshDataQualityScore
waitRefreshDataQualityScore
=
new
EquipWaitRefreshDataQualityScore
(
equip
.
getRecord
(),
1
);
EquipWaitRefreshDataQualityScore
waitRefreshDataQualityScore
=
new
EquipWaitRefreshDataQualityScore
(
equip
.
getRecord
(),
2
);
refreshDataQualityScores
.
add
(
waitRefreshDataQualityScore
);
refreshDataQualityScores
.
add
(
waitRefreshDataQualityScore
);
}
}
}
}
...
...
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
20d0989c
...
@@ -3970,8 +3970,14 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -3970,8 +3970,14 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
}
}
if
(!
ObjectUtils
.
isEmpty
(
dto
))
{
if
(!
ObjectUtils
.
isEmpty
(
dto
))
{
long
time
=
Timestamp
.
valueOf
(
map
.
get
(
"REC_DATE"
).
toString
().
substring
(
0
,
19
)).
getTime
();
long
time
=
Timestamp
.
valueOf
(
map
.
get
(
"REC_DATE"
).
toString
().
substring
(
0
,
19
)).
getTime
();
long
createTime
;
if
(
map
.
get
(
"CREATE_DATE"
)
==
null
)
{
createTime
=
time
;
}
else
{
createTime
=
Timestamp
.
valueOf
(
map
.
get
(
"CREATE_DATE"
).
toString
().
substring
(
0
,
19
)).
getTime
();
}
dto
.
setREC_DATE
(
time
);
dto
.
setREC_DATE
(
time
);
dto
.
setCREATE_DATE
(
t
ime
);
dto
.
setCREATE_DATE
(
createT
ime
);
// 需要安装的设备 安装告知审批通过 清除设备的USC_UNIT_CREDIT_CODE安装单位信息
// 需要安装的设备 安装告知审批通过 清除设备的USC_UNIT_CREDIT_CODE安装单位信息
// 使用单位编辑 防止更新设备时将安改维单位信息更新到es中
// 使用单位编辑 防止更新设备时将安改维单位信息更新到es中
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
View file @
20d0989c
...
@@ -76,6 +76,8 @@
...
@@ -76,6 +76,8 @@
<select
id=
"selectDataById"
resultType=
"java.util.Map"
>
<select
id=
"selectDataById"
resultType=
"java.util.Map"
>
SELECT SEQUENCE_NBR,
SELECT SEQUENCE_NBR,
REC_DATE,
REC_DATE,
CREATE_DATE,
DATA_QUALITY_SCORE,
ORG_BRANCH_NAME,
ORG_BRANCH_NAME,
ORG_BRANCH_CODE,
ORG_BRANCH_CODE,
USE_UNIT_NAME,
USE_UNIT_NAME,
...
...
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