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
33f0f67f
Commit
33f0f67f
authored
Dec 10, 2021
by
helinlin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
949022bd
018f8e6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
PowerTransferServiceImpl.java
...module/jcs/biz/service/impl/PowerTransferServiceImpl.java
+13
-2
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 @
33f0f67f
...
@@ -4,6 +4,7 @@ import java.util.*;
...
@@ -4,6 +4,7 @@ import java.util.*;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.module.common.api.service.IDutyCarService
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.AircraftDto
;
import
com.yeejoin.amos.boot.module.jcs.api.dto.AircraftDto
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.*
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.*
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.apache.commons.lang3.ObjectUtils
;
...
@@ -76,6 +77,10 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
...
@@ -76,6 +77,10 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
TemplateServiceImpl
templateService
;
TemplateServiceImpl
templateService
;
@Autowired
@Autowired
DutyCarServiceImpl
iDutyCarService
;
@Autowired
AlertFormValueServiceImpl
alertFormValueService
;
AlertFormValueServiceImpl
alertFormValueService
;
@Autowired
@Autowired
...
@@ -271,13 +276,19 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
...
@@ -271,13 +276,19 @@ public class PowerTransferServiceImpl extends BaseService<PowerTransferDto, Powe
if
(
appleMap
!=
null
)
{
if
(
appleMap
!=
null
)
{
String
state
=
appleMap
.
containsKey
(
car
.
get
(
"id"
))
?
appleMap
.
get
(
car
.
get
(
"id"
))
:
null
;
String
state
=
appleMap
.
containsKey
(
car
.
get
(
"id"
))
?
appleMap
.
get
(
car
.
get
(
"id"
))
:
null
;
fireCarDto
.
setCarState
(
state
);
fireCarDto
.
setCarState
(
state
);
fireCarDto
fireCarDto
.
setCarStateDesc
(
state
!=
null
?
FireCarStatusEnum
.
getEnum
(
state
).
getName
()
:
null
);
.
setCarStateDesc
(
state
!=
null
?
FireCarStatusEnum
.
getEnum
(
state
).
getName
()
:
null
);
}
else
{
}
else
{
fireCarDto
.
setCarState
(
null
);
fireCarDto
.
setCarState
(
null
);
fireCarDto
.
setCarStateDesc
(
null
);
fireCarDto
.
setCarStateDesc
(
null
);
}
}
}
}
if
(
fireCarDto
.
getId
()
!=
null
)
{
int
num
=
0
;
num
=
iDutyCarService
.
getDutyCarCount
(
Long
.
valueOf
(
fireCarDto
.
getId
()));
fireCarDto
.
setPersonCount
(
num
);
}
fireCarDtoList
.
add
(
fireCarDto
);
fireCarDtoList
.
add
(
fireCarDto
);
});
});
}
}
...
...
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