Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
1f6b7cc3
Commit
1f6b7cc3
authored
Jun 25, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接警时间赋值
parent
53e065c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
AlertCalledServiceImpl.java
...t/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
+8
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
View file @
1f6b7cc3
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
service
.
impl
;
import
java.util.Date
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -52,11 +53,11 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
* @return
*/
@Transactional
public
AlertCalledVo
createAlertCalled
(
AlertCalledVo
alertCalledVo
)
throws
Exception
{
public
AlertCalledVo
createAlertCalled
(
AlertCalledVo
alertCalledVo
)
{
try
{
// 警情基本信息
AlertCalled
alertCalled
=
alertCalledVo
.
getAlertCalled
();
alertCalled
.
setCallTime
(
new
Date
());
// 判断是否归并警情
if
(
alertCalled
.
getFatherAlert
()
!=
null
)
{
// 警情归并,设置当前警情状态为结束。
...
...
@@ -91,7 +92,10 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
*/
eSAlertCalledService
.
saveAlertCalledToES
(
alertCalled
);
return
alertCalledVo
;
return
alertCalledVo
;
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
"报送失败,系统异常!"
);
}
}
...
...
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