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
43f436ec
Commit
43f436ec
authored
Dec 19, 2024
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
52e05a78
35f0a762
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+1
-2
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+13
-2
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 @
43f436ec
...
@@ -112,7 +112,6 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -112,7 +112,6 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
private
static
final
String
CONSTRUCTION_TYPE
=
"SGLX"
;
private
static
final
String
CONSTRUCTION_TYPE
=
"SGLX"
;
private
static
final
String
CONSTRUCTION_TYPE_NAME
=
"安装"
;
private
static
final
String
CONSTRUCTION_TYPE_NAME
=
"安装"
;
@Autowired
@Autowired
JgInstallationNoticeEqMapper
jgInstallationNoticeEqMapper
;
JgInstallationNoticeEqMapper
jgInstallationNoticeEqMapper
;
@Autowired
@Autowired
...
@@ -1934,7 +1933,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
...
@@ -1934,7 +1933,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
projectContraption
.
setProvince
(
jgInstallationNotice
.
getProvince
());
projectContraption
.
setProvince
(
jgInstallationNotice
.
getProvince
());
projectContraption
.
setCity
(
jgInstallationNotice
.
getCity
());
projectContraption
.
setCity
(
jgInstallationNotice
.
getCity
());
projectContraption
.
setCounty
(
jgInstallationNotice
.
getCounty
());
projectContraption
.
setCounty
(
jgInstallationNotice
.
getCounty
());
projectContraption
.
setStreet
(
jgInstallationNotice
.
getStreet
());
projectContraption
.
setStreet
(
jgInstallationNotice
.
get
FactoryUseSite
Street
());
projectContraption
.
setAddress
(
jgInstallationNotice
.
getAddress
());
projectContraption
.
setAddress
(
jgInstallationNotice
.
getAddress
());
projectContraptionService
.
updateById
(
projectContraption
);
projectContraptionService
.
updateById
(
projectContraption
);
...
...
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 @
43f436ec
...
@@ -2442,8 +2442,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -2442,8 +2442,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
exportParamsMap
.
put
(
"useUnitName"
,
jsonObject
.
get
(
"useUnitName"
));
exportParamsMap
.
put
(
"useUnitName"
,
jsonObject
.
get
(
"useUnitName"
));
// 使用单位地址
// 使用单位地址
String
useUnitCreditCode
=
String
.
valueOf
(
jsonObject
.
get
(
"useUnitCreditCode"
));
String
useUnitCreditCode
=
String
.
valueOf
(
jsonObject
.
get
(
"useUnitCreditCode"
));
CompanyModel
companyModel
=
Privilege
.
companyClient
.
queryByCompanyCode
(
useUnitCreditCode
).
getResult
(
);
TzBaseEnterpriseInfo
enterpriseInfo
=
tzBaseEnterpriseInfoMapper
.
selectOne
(
new
LambdaQueryWrapper
<
TzBaseEnterpriseInfo
>().
eq
(
TzBaseEnterpriseInfo:
:
getUseCode
,
useUnitCreditCode
)
);
exportParamsMap
.
put
(
"fullAddress"
,
companyModel
.
getAddress
(
));
exportParamsMap
.
put
(
"fullAddress"
,
this
.
spliceFullAddress
(
enterpriseInfo
));
// 工程(装置)名称 取第一个设备的技术参数”工程装置名称“
// 工程(装置)名称 取第一个设备的技术参数”工程装置名称“
JSONObject
eqJSON
=
(
JSONObject
)
equipmentLists
.
get
(
0
);
JSONObject
eqJSON
=
(
JSONObject
)
equipmentLists
.
get
(
0
);
String
eqId
=
!
ValidationUtil
.
isEmpty
(
eqJSON
)
?
String
.
valueOf
(
eqJSON
.
get
(
"record"
))
:
""
;
String
eqId
=
!
ValidationUtil
.
isEmpty
(
eqJSON
)
?
String
.
valueOf
(
eqJSON
.
get
(
"record"
))
:
""
;
...
@@ -2478,6 +2478,17 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -2478,6 +2478,17 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
return
futures
;
return
futures
;
}
}
private
String
spliceFullAddress
(
TzBaseEnterpriseInfo
enterpriseInfo
)
{
String
address
=
enterpriseInfo
.
getAddress
();
boolean
hasProvince
=
address
.
contains
(
"省"
);
boolean
hasCity
=
address
.
contains
(
"市"
);
boolean
hasDistrict
=
address
.
contains
(
"区"
);
if
(
hasProvince
&&
hasCity
&&
hasDistrict
)
{
return
address
;
}
return
enterpriseInfo
.
getProvince
()
+
enterpriseInfo
.
getCity
()
+
enterpriseInfo
.
getDistrict
()
+
enterpriseInfo
.
getStreet
()
+
enterpriseInfo
.
getCommunity
()
+
enterpriseInfo
.
getAddress
();
}
/**
/**
* 气瓶设备数据填充
* 气瓶设备数据填充
*/
*/
...
...
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