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
1054a9c8
Commit
1054a9c8
authored
Jul 17, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):设备详情接口
parent
1443f524
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+1
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+7
-7
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
1054a9c8
...
...
@@ -127,6 +127,7 @@
SELECT
jri.RECORD as equipId,
jri.EQU_CODE as equCode,
jri.USE_ORG_CODE as useOrgCode,
jri.ORGANIZATION_CODE as organizationCode,
jri.ORGANIZATION_NAME as organizationName,
jri.EQU_CATEGORY as equCategory,
...
...
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 @
1054a9c8
...
...
@@ -2746,12 +2746,12 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
if
(!
ValidationUtil
.
isEmpty
(
info
.
getSequenceNbr
()))
{
info
.
setMeUnitName
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"meUnitName"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meUnitName"
)).
split
(
"_"
)[
1
]);
info
.
setMeUnitCreditCode
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"meUnitName"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meUnitName"
)).
split
(
"_"
)[
0
]);
info
.
setMeMaster
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
eMaster"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meMaster
"
)));
info
.
setMeMasterPhone
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
eMasterPhone"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meMaster
Phone"
)));
info
.
setMeMasterId
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
eMasterId"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meMasterId
"
)));
info
.
setMeMaster1
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
eMaster1"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meMaster1
"
)));
info
.
setMeMaster1Phone
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
eMaster1Phone"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meMaster1
Phone"
)));
info
.
setMeMaster1Id
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
eMaster1Id"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"meMaster1Id
"
)));
info
.
setMeMaster
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
aintenanceManagerOneName"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"maintenanceManagerOneName
"
)));
info
.
setMeMasterPhone
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
aintenanceManagerOnePhone"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"maintenanceManagerOne
Phone"
)));
info
.
setMeMasterId
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
aintenanceManagerOneID"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"maintenanceManagerOneID
"
)));
info
.
setMeMaster1
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
aintenanceManagerTwoName"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"maintenanceManagerTwoName
"
)));
info
.
setMeMaster1Phone
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
aintenanceManagerTwoPhone"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"maintenanceManagerTwo
Phone"
)));
info
.
setMeMaster1Id
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"m
aintenanceManagerTwoID"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"maintenanceManagerTwoID
"
)));
try
{
info
.
setInformStart
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"informStart"
))
?
null
:
format
.
parse
(
String
.
valueOf
(
map
.
get
(
"informStart"
))));
info
.
setInformEnd
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"informEnd"
))
?
null
:
format
.
parse
(
String
.
valueOf
(
map
.
get
(
"informEnd"
))));
...
...
@@ -2759,7 +2759,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
exception
.
printStackTrace
();
log
.
info
(
"date转化失败"
);
}
info
.
setRepairInform
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"
repairInform"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"repairInform
"
)));
info
.
setRepairInform
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"
maintenanceContract"
))
?
null
:
JSONObject
.
toJSONString
(
map
.
get
(
"maintenanceContract
"
)));
idxBizJgMaintenanceRecordInfoService
.
getBaseMapper
().
updateById
(
info
);
}
}
...
...
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