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
8d51d7f7
Commit
8d51d7f7
authored
Mar 12, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):历史管道导入作废Bug修改
parent
358309a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
19 deletions
+11
-19
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+1
-1
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+10
-7
IdxBizJgProjectContraptionMapper.xml
...ain/resources/mapper/IdxBizJgProjectContraptionMapper.xml
+0
-11
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/DataDockServiceImpl.java
View file @
8d51d7f7
...
...
@@ -1545,7 +1545,7 @@ public class DataDockServiceImpl {
if
(
useRegistrationList
.
stream
().
filter
(
map
->
!
"1"
.
equals
(
map
.
getRegType
())).
count
()
>
1
)
{
throw
new
BadRequest
(
"该使用登记证编号已由系统自动生成,不能导入,请确认使用登记证编号是否正确!"
);
}
if
(
useRegistrationList
.
stream
().
filter
(
map
->
!
paramsDto
.
getCompanyCode
().
equals
(
map
.
getUseUnitCreditCode
())).
count
()
>
1
)
{
if
(
useRegistrationList
.
stream
().
anyMatch
(
map
->
!
paramsDto
.
getCompanyCode
().
equals
(
map
.
getUseUnitCreditCode
()))
)
{
throw
new
BadRequest
(
"该使用登记证编号在其他企业使用,不能导入,请确认使用登记证编号是否正确!"
);
}
haveUseRegistration
=
true
;
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
8d51d7f7
...
...
@@ -132,6 +132,8 @@ public class TzBaseEnterpriseInfoServiceImpl
COMPANY_TYPE_CERT_TYPE_MAP
.
put
(
"检验检测机构"
,
"1233-1,1233-2"
);
// 安装改造维修单位身份资质:充装单位-1231 制造单位-1236 设计单位-1235 安装改造维修单位-1234
COMPANY_TYPE_CERT_TYPE_MAP
.
put
(
"安装改造维修单位"
,
"1231,1234,1235,1236"
);
// 充装单位
COMPANY_TYPE_CERT_TYPE_MAP
.
put
(
"充装单位"
,
"1202"
);
}
/**
...
...
@@ -729,15 +731,16 @@ public class TzBaseEnterpriseInfoServiceImpl
}
private
void
removeLicenceDataBeforeSave
(
ReginParams
reginParams
,
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
)
{
if
(
tzBaseEnterpriseInfo
==
null
)
return
;
String
companyType
=
reginParams
.
getCompany
().
getCompanyType
();
String
useCode
=
tzBaseEnterpriseInfo
.
getUseCode
();
String
certTypeCodes
=
COMPANY_TYPE_CERT_TYPE_MAP
.
getOrDefault
(
companyType
,
""
);
if
(
useCode
==
null
||
certTypeCodes
.
isEmpty
())
return
;
LambdaQueryWrapper
<
BaseUnitLicence
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
BaseUnitLicence:
:
getUnitCode
,
tzBaseEnterpriseInfo
.
getUseCode
());
wrapper
.
and
(
w
->
{
String
[]
certTypeCodeArray
=
COMPANY_TYPE_CERT_TYPE_MAP
.
get
(
companyType
).
split
(
","
);
for
(
String
certTypeCode:
certTypeCodeArray
){
w
.
or
().
likeRight
(
BaseUnitLicence:
:
getCertTypeCode
,
certTypeCode
);
}
});
wrapper
.
eq
(
BaseUnitLicence:
:
getUnitCode
,
useCode
);
wrapper
.
and
(
w
->
Arrays
.
stream
(
certTypeCodes
.
split
(
","
))
.
forEach
(
certTypeCode
->
w
.
or
().
likeRight
(
BaseUnitLicence:
:
getCertTypeCode
,
certTypeCode
)));
baseUnitLicenceService
.
remove
(
wrapper
);
}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/IdxBizJgProjectContraptionMapper.xml
View file @
8d51d7f7
...
...
@@ -551,17 +551,6 @@
AND a.is_delete = 0
AND ( a.notice_status != '6617')
GROUP BY c.project_contraption_id
UNION
SELECT
a.project_contraption_id,
COUNT(1) AS inUseNumber
FROM tz_jyjc_inspection_application a
WHERE a.project_contraption_id in
<foreach
collection=
"projectContraptionIdList"
item=
"projectContraptionId"
index=
'index'
open=
"("
close=
")"
separator=
","
>
#{projectContraptionId}
</foreach>
AND ( a.status != '6617')
GROUP BY a.project_contraption_id
) GROUP BY project_contraption_id
</select>
</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