Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
New MineTRS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
kiritoausna
New MineTRS
Commits
1ef394d2
Commit
1ef394d2
authored
Jun 06, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-6.6 接触报警逻辑优化-> 增加了对updatetime字段的修改 获取当前时间
parent
0d7f57a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
TabAbnormalServiceImpl.java
...engjie/gemho/service/tab/impl/TabAbnormalServiceImpl.java
+2
-1
No files found.
eladmin-system/src/main/java/me/zhengjie/gemho/service/tab/impl/TabAbnormalServiceImpl.java
View file @
1ef394d2
...
...
@@ -69,8 +69,9 @@ public class TabAbnormalServiceImpl extends ServiceImpl<TabAbnormalMapper, Abnor
Date
date
=
c
.
getTime
();
//结果
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
String
jcbjtime
=
format
.
format
(
date
);
String
nowDateString
=
format
.
format
(
nowDate
);
//解除报警表的信息
int
jcbj
=
tabAbnormalMapper
.
jcbj
(
jcreason
,
jcbjtime
,
reason
,
equipno
);
int
jcbj
=
tabAbnormalMapper
.
jcbj
(
jcreason
,
jcbjtime
,
reason
,
equipno
,
nowDateString
);
//解除设备的报警状态
int
jcbj1
=
drybeachequipinforMapper
.
jcbj
(
equipno
);
//更新历史表中报警状态
...
...
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