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
86ca77c1
Commit
86ca77c1
authored
Aug 28, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg): 监管业务系统 ,安装单位录入设备后,发起安装告知并审核通过,监管单位对该告知流程进行作废之后,安装单位无法查到到该设备
parent
4c7f2135
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+2
-2
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+18
-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/service/impl/JgInstallationNoticeServiceImpl.java
View file @
86ca77c1
...
@@ -1328,8 +1328,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -1328,8 +1328,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
map1
.
put
(
"USE_UNIT_NAME"
,
jgInstallationNotice
.
getUseUnitName
());
map1
.
put
(
"USE_UNIT_NAME"
,
jgInstallationNotice
.
getUseUnitName
());
map1
.
put
(
"IS_INTO_MANAGEMENT"
,
true
);
map1
.
put
(
"IS_INTO_MANAGEMENT"
,
true
);
map1
.
put
(
"USE_PLACE_CODE"
,
dto
.
getProvince
().
split
(
"_"
)[
0
]
+
"#"
+
dto
.
getCity
().
split
(
"_"
)[
0
]
+
"#"
+
dto
.
getCounty
().
split
(
"_"
)[
0
]
+
"#"
+
dto
.
getFactoryUseSiteStreet
().
split
(
"_"
)[
0
]);
map1
.
put
(
"USE_PLACE_CODE"
,
dto
.
getProvince
().
split
(
"_"
)[
0
]
+
"#"
+
dto
.
getCity
().
split
(
"_"
)[
0
]
+
"#"
+
dto
.
getCounty
().
split
(
"_"
)[
0
]
+
"#"
+
dto
.
getFactoryUseSiteStreet
().
split
(
"_"
)[
0
]);
map1
.
put
(
"USC_UNIT_CREDIT_CODE"
,
""
);
map1
.
put
(
"USC_UNIT_CREDIT_CODE"
,
jgInstallationNotice
.
getInstallUnitCreditCode
()
);
map1
.
put
(
"USC_UNIT_NAME"
,
""
);
map1
.
put
(
"USC_UNIT_NAME"
,
jgInstallationNotice
.
getInstallUnitName
()
);
map1
.
put
(
"USE_PLACE"
,
String
.
format
(
"%s/%s/%s/%s"
,
jgInstallationNotice
.
getProvinceName
(),
jgInstallationNotice
.
getCityName
(),
jgInstallationNotice
.
getCountyName
(),
jgInstallationNotice
.
getStreetName
()));
map1
.
put
(
"USE_PLACE"
,
String
.
format
(
"%s/%s/%s/%s"
,
jgInstallationNotice
.
getProvinceName
(),
jgInstallationNotice
.
getCityName
(),
jgInstallationNotice
.
getCountyName
(),
jgInstallationNotice
.
getStreetName
()));
map1
.
put
(
"ADDRESS"
,
jgInstallationNotice
.
getAddress
());
map1
.
put
(
"ADDRESS"
,
jgInstallationNotice
.
getAddress
());
objMap
.
put
(
tzsJgOtherInfo
.
getRecord
(),
map1
);
objMap
.
put
(
tzsJgOtherInfo
.
getRecord
(),
map1
);
...
...
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 @
86ca77c1
...
@@ -16,6 +16,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -16,6 +16,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.entity.TzsBaseEntity
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
...
@@ -191,6 +192,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -191,6 +192,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
private
IdxBizJgConstructionInfoServiceImpl
idxBizJgConstructionInfoService
;
private
IdxBizJgConstructionInfoServiceImpl
idxBizJgConstructionInfoService
;
@Autowired
@Autowired
private
JgInstallationNoticeServiceImpl
jgInstallationNoticeService
;
private
JgInstallationNoticeServiceImpl
jgInstallationNoticeService
;
@Autowired
private
IdxBizJgConstructionInfoMapper
constructionInfoMapper
;
/**
/**
* @param auditPassDate 通过时间
* @param auditPassDate 通过时间
...
@@ -1402,6 +1405,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -1402,6 +1405,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
param
.
put
(
"USE_SITE_CODE"
,
String
.
valueOf
(
jsonObject
.
get
(
"usePlace"
)));
param
.
put
(
"USE_SITE_CODE"
,
String
.
valueOf
(
jsonObject
.
get
(
"usePlace"
)));
param
.
put
(
"ORG_BRANCH_CODE"
,
split
[
0
]);
param
.
put
(
"ORG_BRANCH_CODE"
,
split
[
0
]);
param
.
put
(
"ORG_BRANCH_NAME"
,
split
[
1
]);
param
.
put
(
"ORG_BRANCH_NAME"
,
split
[
1
]);
param
.
put
(
"USC_UNIT_CREDIT_CODE"
,
""
);
param
.
put
(
"USC_UNIT_NAME"
,
""
);
param
.
put
(
"EQU_CODE"
,
dataMap
.
get
(
"equCode"
));
param
.
put
(
"EQU_CODE"
,
dataMap
.
get
(
"equCode"
));
param
.
put
(
"USE_ORG_CODE"
,
jgUseRegistration
.
getUseRegistrationCode
());
param
.
put
(
"USE_ORG_CODE"
,
jgUseRegistration
.
getUseRegistrationCode
());
objMap
.
put
((
String
)
dataMap
.
get
(
"equipId"
),
param
);
objMap
.
put
((
String
)
dataMap
.
get
(
"equipId"
),
param
);
...
@@ -2383,6 +2388,15 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -2383,6 +2388,15 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
}
}
private
void
rollBackForEquipEsInfo
(
String
record
,
Boolean
flag
)
{
private
void
rollBackForEquipEsInfo
(
String
record
,
Boolean
flag
)
{
LambdaQueryWrapper
<
IdxBizJgConstructionInfo
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
select
(
IdxBizJgConstructionInfo:
:
getUscUnitCreditCode
,
IdxBizJgConstructionInfo:
:
getUscUnitName
,
IdxBizJgConstructionInfo:
:
getInformCode
,
IdxBizJgConstructionInfo:
:
getInformFilePath
)
.
eq
(
IdxBizJgConstructionInfo:
:
getRecord
,
record
)
.
orderByDesc
(
TzsBaseEntity:
:
getRecDate
)
.
last
(
"limit 1"
);
IdxBizJgConstructionInfo
jgConstructionInfo
=
constructionInfoMapper
.
selectOne
(
wrapper
);
Optional
<
ESEquipmentCategoryDto
>
optional
=
esEquipmentCategory
.
findById
(
record
);
Optional
<
ESEquipmentCategoryDto
>
optional
=
esEquipmentCategory
.
findById
(
record
);
if
(
optional
.
isPresent
())
{
if
(
optional
.
isPresent
())
{
ESEquipmentCategoryDto
esEquipmentCategoryDto
=
optional
.
get
();
ESEquipmentCategoryDto
esEquipmentCategoryDto
=
optional
.
get
();
...
@@ -2391,6 +2405,10 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -2391,6 +2405,10 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
esEquipmentCategoryDto
.
setEQU_STATE
(
null
);
esEquipmentCategoryDto
.
setEQU_STATE
(
null
);
esEquipmentCategoryDto
.
setORG_BRANCH_CODE
(
null
);
esEquipmentCategoryDto
.
setORG_BRANCH_CODE
(
null
);
esEquipmentCategoryDto
.
setORG_BRANCH_NAME
(
null
);
esEquipmentCategoryDto
.
setORG_BRANCH_NAME
(
null
);
if
(
jgConstructionInfo
!=
null
){
esEquipmentCategoryDto
.
setUSC_UNIT_NAME
(
jgConstructionInfo
.
getUscUnitName
());
esEquipmentCategoryDto
.
setUSC_UNIT_CREDIT_CODE
(
jgConstructionInfo
.
getUscUnitCreditCode
());
}
if
(
flag
)
{
if
(
flag
)
{
esEquipmentCategoryDto
.
setIS_INTO_MANAGEMENT
(
Boolean
.
FALSE
);
esEquipmentCategoryDto
.
setIS_INTO_MANAGEMENT
(
Boolean
.
FALSE
);
}
}
...
...
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