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
767c6561
Commit
767c6561
authored
Jun 21, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(重要提醒):业务新增提醒开发联调
1.车用气瓶详情、使用登记详情、装置详情接口增加数据质量等级
parent
fc4f91de
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
+14
-2
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+9
-1
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+1
-0
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+2
-0
IdxBizJgProjectContraptionMapper.xml
...ain/resources/mapper/IdxBizJgProjectContraptionMapper.xml
+2
-1
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/service/impl/CommonServiceImpl.java
View file @
767c6561
...
@@ -48,6 +48,7 @@ import com.yeejoin.amos.boot.module.jg.biz.edit.typeHandler.CbDataDictTypeHandle
...
@@ -48,6 +48,7 @@ import com.yeejoin.amos.boot.module.jg.biz.edit.typeHandler.CbDataDictTypeHandle
import
com.yeejoin.amos.boot.module.jg.biz.feign.PrivilegeFeginService
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.PrivilegeFeginService
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TaskV2FeignService
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TaskV2FeignService
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.reminder.service.RemindServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICmWorkflowService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICmWorkflowService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICommonService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICommonService
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.FileExporter
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.FileExporter
;
...
@@ -284,6 +285,9 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -284,6 +285,9 @@ public class CommonServiceImpl implements ICommonService {
private
String
qrcodePrefix
;
private
String
qrcodePrefix
;
@Autowired
@Autowired
private
RemindServiceImpl
remindServiceImpl
;
@Autowired
private
CbDataDictTypeHandler
dataDictTypeHandler
;
private
CbDataDictTypeHandler
dataDictTypeHandler
;
public
static
final
String
DATA_QUALITY_SCORE
=
"DATA_QUALITY_SCORE"
;
public
static
final
String
DATA_QUALITY_SCORE
=
"DATA_QUALITY_SCORE"
;
...
@@ -3102,7 +3106,10 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -3102,7 +3106,10 @@ public class CommonServiceImpl implements ICommonService {
*/
*/
public
String
castDataQualityScore2Name
(
String
dataQualityScore
,
Boolean
isIntoManagement
){
public
String
castDataQualityScore2Name
(
String
dataQualityScore
,
Boolean
isIntoManagement
){
String
name
=
dataDictTypeHandler
.
handle
(
DATA_QUALITY_SCORE
,
dataQualityScore
);
String
name
=
dataDictTypeHandler
.
handle
(
DATA_QUALITY_SCORE
,
dataQualityScore
);
return
name
==
null
?
(
isIntoManagement
==
null
||
!
isIntoManagement
)
?
"
II"
:
"III
"
:
name
;
return
name
==
null
?
(
isIntoManagement
==
null
||
!
isIntoManagement
)
?
"
Ⅱ"
:
"Ⅲ
"
:
name
;
}
}
public
void
setDataQualityScore2Json
(
Map
<
String
,
Object
>
result
,
String
bizId
,
BusinessTypeEnum
businessTypeEnum
)
{
result
.
put
(
"dataQualityScore"
,
remindServiceImpl
.
getReminderLevel
(
bizId
,
businessTypeEnum
.
name
()));
}
}
}
\ 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/JgUseRegistrationServiceImpl.java
View file @
767c6561
...
@@ -2342,6 +2342,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -2342,6 +2342,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
new
FillingUseRegisterResult
(
sequenceNbr
,
jsonObject
,
applicationContext
).
getData
();
new
FillingUseRegisterResult
(
sequenceNbr
,
jsonObject
,
applicationContext
).
getData
();
// 结果增强,填充当前人是否有编辑按钮权限
// 结果增强,填充当前人是否有编辑按钮权限
new
FillingEditPermForCurrentUser
(
jsonObject
,
Optional
.
ofNullable
(
selectedOrgInfo
).
map
(
ReginParams:
:
getCompany
).
orElse
(
null
),
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
).
getData
();
new
FillingEditPermForCurrentUser
(
jsonObject
,
Optional
.
ofNullable
(
selectedOrgInfo
).
map
(
ReginParams:
:
getCompany
).
orElse
(
null
),
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
).
getData
();
commonServiceImpl
.
setDataQualityScore2Json
(
jsonObject
,
sequenceNbr
+
""
,
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
);
return
jsonObject
;
return
jsonObject
;
}
}
// 基本信息 + 制造信息
// 基本信息 + 制造信息
...
...
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/JgVehicleInformationServiceImpl.java
View file @
767c6561
...
@@ -607,6 +607,8 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
...
@@ -607,6 +607,8 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
BeanUtil
.
copyProperties
(
vehicleInformationVo
,
re
);
BeanUtil
.
copyProperties
(
vehicleInformationVo
,
re
);
// todo 本来FillingEditPermForCurrentUser已赋值但是此业务也使用的key companyType故新赋值key
// todo 本来FillingEditPermForCurrentUser已赋值但是此业务也使用的key companyType故新赋值key
re
.
put
(
"companyType2"
,
CommonServiceImpl
.
getCompanyType
(
companyBo
));
re
.
put
(
"companyType2"
,
CommonServiceImpl
.
getCompanyType
(
companyBo
));
// 赋值数据质量等级
commonService
.
setDataQualityScore2Json
(
re
,
sequenceNbr
+
""
,
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
);
return
re
;
return
re
;
}
}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/IdxBizJgProjectContraptionMapper.xml
View file @
767c6561
...
@@ -46,7 +46,8 @@
...
@@ -46,7 +46,8 @@
PROVINCE_NAME,
PROVINCE_NAME,
DATA_SOURCE,
DATA_SOURCE,
USE_UNIT_NAME,
USE_UNIT_NAME,
USE_DATE
USE_DATE,
DATA_QUALITY_SCORE
FROM
FROM
IDX_BIZ_JG_PROJECT_CONTRAPTION ibjpc
IDX_BIZ_JG_PROJECT_CONTRAPTION ibjpc
WHERE
WHERE
...
...
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