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
aa3d5210
Commit
aa3d5210
authored
Jul 26, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.移转变更增加更新es的使用场所字段
parent
f0da515d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
JgChangeRegistrationTransferServiceImpl.java
...service/impl/JgChangeRegistrationTransferServiceImpl.java
+8
-1
EquipmentCategoryServiceImpl.java
...le/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
+1
-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/JgChangeRegistrationTransferServiceImpl.java
View file @
aa3d5210
...
...
@@ -1153,6 +1153,7 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
String
newUsePlaceCode
=
""
;
String
newAddress
=
""
;
String
newLongitudeLatitude
=
""
;
String
useSiteCode
=
""
;
if
(!
ValidationUtil
.
isEmpty
(
newData
))
{
JSONObject
newPosition
=
JSON
.
parseObject
(
newData
.
getChangeData
());
String
province
=
newPosition
.
getString
(
"transferProvince"
);
...
...
@@ -1161,6 +1162,8 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
String
street
=
newPosition
.
getString
(
"transferStreet"
);
String
address
=
newPosition
.
getString
(
"transferAddress"
);
String
longitudeLatitude
=
newPosition
.
getString
(
"longitudeLatitude"
);
// 使用场所
useSiteCode
=
newPosition
.
getString
(
"transferUsePlace"
);
// 分割省市区街道字段
if
(!
ObjectUtils
.
isEmpty
(
province
))
{
String
[]
provinceList
=
province
.
split
(
"_"
);
...
...
@@ -1201,9 +1204,13 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
//es中的编号信息
Map
<
String
,
Map
<
String
,
Object
>>
resultMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
map1
=
new
HashMap
<>();
// es的使用地点信息名称、code、详情地址
map1
.
put
(
"USE_PLACE"
,
newUsePlace
);
map1
.
put
(
"ADDRESS"
,
newAddress
);
map1
.
put
(
"USE_PLACE_CODE"
,
newUsePlaceCode
);
map1
.
put
(
"ADDRESS"
,
newAddress
);
// es的使用场所
map1
.
put
(
"USE_SITE_CODE"
,
useSiteCode
);
map1
.
put
(
"LONGITUDE_LATITUDE"
,
newLongitudeLatitude
);
if
(
isUpdateRegistrationCode
.
get
())
{
map1
.
put
(
"EQU_STATE"
,
"1"
);
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
aa3d5210
...
...
@@ -2382,6 +2382,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
*
* @param paramMap 更新的参数
*/
@Override
public
Map
<
String
,
Object
>
commonUpdateEsDataByIds
(
Map
<
String
,
Map
<
String
,
Object
>>
paramMap
)
{
if
(
paramMap
.
isEmpty
())
{
return
null
;
...
...
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