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
4998a2b4
Commit
4998a2b4
authored
Jun 21, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register' of…
Merge branch 'develop_tzs_register' of
http://39.100.92.250:5000/moa/amos-boot-biz
into develop_tzs_register
parents
134a0ff9
1496e4ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+2
-2
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+2
-2
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+5
-5
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 @
4998a2b4
...
...
@@ -2961,12 +2961,12 @@ public class CommonServiceImpl implements ICommonService {
log
.
error
(
"日期转换失败:"
,
e
);
}
ResponseModel
<
String
>
responseModel
=
null
;
if
(
isValidCreditCode
(
receiveCompanyCode
))
{
if
(
StringUtils
.
isNotBlank
(
receiveCompanyCode
)
&&
isValidCreditCode
(
receiveCompanyCode
))
{
String
equCode
=
Optional
.
ofNullable
(
equType
.
get
(
"equDefineCode"
)).
orElse
(
equType
.
get
(
"equCategoryCode"
));
String
registrationCode
=
equCode
+
receiveCompanyCode
+
ym
;
responseModel
=
tzsServiceFeignClient
.
deviceRegistrationCode
(
registrationCode
);
}
return
responseModel
.
getResult
(
);
return
Optional
.
ofNullable
(
responseModel
).
map
(
ResponseModel:
:
getResult
).
orElse
(
""
);
}
// 校验信用代码是否符合要求
...
...
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 @
4998a2b4
...
...
@@ -951,7 +951,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if
(
dataSource
.
contains
(
"his"
))
{
String
VIN
=
(
String
)
equipmentInfoForm
.
get
(
"identificationCode"
);
String
useRegistrationCode
=
(
String
)
equipmentInfoForm
.
get
(
"useRegistrationCode"
);
if
(!
ValidationUtil
.
isEmpty
(
VIN
)
||
!
ValidationUtil
.
isEmpty
(
useRegistrationCode
))
{
if
(!
ValidationUtil
.
isEmpty
(
VIN
)
&&
!
ValidationUtil
.
isEmpty
(
useRegistrationCode
))
{
ReginParams
reginParams
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
String
companyType
=
reginParams
.
getCompany
().
getCompanyType
();
String
companyCode
=
"个人主体"
.
equals
(
companyType
)
?
reginParams
.
getCompany
().
getCompanyCode
().
split
(
"_"
)[
1
]
:
reginParams
.
getCompany
().
getCompanyCode
();
...
...
@@ -4504,7 +4504,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
checkNotBlank
(
data
.
getInspectStaff
(),
"检测人员名称不能为空;"
,
result
);
checkNotBlank
(
data
.
getInspectDate
(),
"检测日期不能为空;"
,
result
);
checkNotBlank
(
data
.
getInspectReportNo
(),
"检验报告编号不能为空;"
,
result
);
checkDateFormatCorrect
(
data
.
getInspectDate
(),
"检测日期格式不正确;"
,
result
);
Optional
.
ofNullable
(
data
.
getInspectDate
()).
ifPresent
(
v
->
checkDateFormatCorrect
(
v
,
"检测日期格式不正确;"
,
result
)
);
checkNotBlank
(
data
.
getSingleBottleVolume
(),
"单瓶容积不能为空;"
,
result
);
checkNotBlank
(
data
.
getChargingMedium
(),
"充装介质不能为空;"
,
result
);
checkNotBlank
(
data
.
getNominalWorkingPressure
(),
"公称工作压力不能为空;"
,
result
);
...
...
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 @
4998a2b4
...
...
@@ -249,11 +249,11 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
.
collect
(
Collectors
.
toList
())
);
if
(
inspectionDetectionInfoList
.
stream
().
anyMatch
(
info
->
ObjectUtils
.
isEmpty
(
info
)
||
ObjectUtils
.
isEmpty
(
info
.
getInspectType
())
||
ObjectUtils
.
isEmpty
(
info
.
getInspectConclusion
())
||
ObjectUtils
.
isEmpty
(
info
.
getInspectOrgCode
())))
{
throw
new
BadRequest
(
"请补充设备检验检测信息后提交!"
);
}
//
if (inspectionDetectionInfoList.stream().anyMatch(info ->
//
ObjectUtils.isEmpty(info) || ObjectUtils.isEmpty(info.getInspectType()) ||
//
ObjectUtils.isEmpty(info.getInspectConclusion()) || ObjectUtils.isEmpty(info.getInspectOrgCode()))) {
//
throw new BadRequest("请补充设备检验检测信息后提交!");
//
}
vehicleInfoDto
.
setNextInspectionDate
(
inspectionDetectionInfoList
.
stream
()
.
map
(
IdxBizJgInspectionDetectionInfo:
:
getNextInspectDate
)
...
...
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