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
3118f245
Commit
3118f245
authored
Oct 17, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.历史登记是维保开始结束日期未入库bug
parent
a9b770c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+3
-4
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/JgUseRegistrationServiceImpl.java
View file @
3118f245
...
...
@@ -3070,7 +3070,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
this
.
historyEquUpdateInstallInfo
(
map
);
// 设备维保信息更新,只有电梯
if
(
"3000"
.
equals
(
map
.
get
(
"equList"
))){
if
(
"3000"
.
equals
(
map
.
get
(
"equList"
))
||
"3000"
.
equals
(
map
.
get
(
"equListCode"
))
){
this
.
historyEquUpdateMaintenanceInfo
(
map
);
}
...
...
@@ -3096,7 +3096,6 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
* 历史设备登记-》更新维保信息
*/
private
void
historyEquUpdateMaintenanceInfo
(
JSONObject
map
)
{
SimpleDateFormat
format
=
new
SimpleDateFormat
();
IdxBizJgMaintenanceRecordInfo
info
=
new
IdxBizJgMaintenanceRecordInfo
();
info
.
setRecord
(
String
.
valueOf
(
map
.
get
(
"equipId"
)));
String
meUnitName
=
String
.
valueOf
(
map
.
get
(
"meUnitName"
));
...
...
@@ -3111,8 +3110,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
info
.
setMeMaster1Phone
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"maintenanceManagerTwoPhone"
))
?
null
:
String
.
valueOf
(
map
.
get
(
"maintenanceManagerTwoPhone"
)));
info
.
setMeMaster1Id
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"maintenanceManagerTwoID"
))
?
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"
))));
info
.
setInformStart
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"informStart"
))
?
null
:
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"informStart"
))));
info
.
setInformEnd
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"informEnd"
))
?
null
:
DateUtil
.
parse
(
String
.
valueOf
(
map
.
get
(
"informEnd"
))));
}
catch
(
Exception
exception
)
{
exception
.
printStackTrace
();
log
.
info
(
"date转化失败"
);
...
...
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