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
64ee1c59
Commit
64ee1c59
authored
May 23, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix- bug 5863 打印日志 调派车辆后对应警铃未打开
parent
1dd9c450
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
PowerTransferServiceImpl.java
...module/jcs/biz/service/impl/PowerTransferServiceImpl.java
+9
-0
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/PowerTransferServiceImpl.java
View file @
64ee1c59
...
...
@@ -8,6 +8,7 @@ import com.yeejoin.amos.boot.biz.common.utils.DateUtils;
import
com.yeejoin.amos.boot.module.common.api.mapper.DutyPersonShiftMapper
;
import
com.yeejoin.amos.boot.module.common.api.mapper.DutyShiftMapper
;
import
com.yeejoin.amos.boot.module.jcs.api.mapper.PowerTransferCompanyResourcesMapper
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.eclipse.paho.client.mqttv3.MqttException
;
...
...
@@ -55,6 +56,7 @@ import com.yeejoin.amos.component.rule.config.RuleConfig;
* @date 2021-06-17
*/
@Service
@Slf4j
public
class
PowerTransferServiceImpl
extends
BaseService
<
PowerTransferDto
,
PowerTransfer
,
PowerTransferMapper
>
implements
IPowerTransferService
{
...
...
@@ -584,7 +586,14 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
// 警情力量调派时,点击【任务派发】后,如果被调派的 力量包含消防车,那么该消防车所在的 大队的警铃、广播自动 启动,消防车所在的车库门自动开启
try
{
List
<
Controller
>
controllers
=
controllerServiceImpl
.
list
(
new
LambdaQueryWrapper
<
Controller
>().
eq
(
Controller:
:
getFireTeamSeq
,
powerTransferCompanyDto
.
getCompanyId
()));
//bug 5863 打印日志 调派车辆后对应警铃未打开
log
.
info
(
"消防车队伍ID:{}, 根据队伍ID查出来的jc_controller数据:{},查出来的数据量size:{}"
,
powerTransferCompanyDto
.
getCompanyId
(),
JSONObject
.
toJSONString
(
controllers
),
controllers
.
size
());
if
(
controllers
.
size
()
>
0
)
{
log
.
info
(
"开始执行车库、警铃、广播等联动代码"
);
ControllerDto
[]
controllerDtos
=
new
ControllerDto
[
controllers
.
size
()];
for
(
int
i
=
0
;
i
<
controllers
.
size
();
i
++)
{
ControllerDto
controllerDto
=
new
ControllerDto
();
...
...
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