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
56e0974e
Commit
56e0974e
authored
Oct 19, 2023
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取路线数据
parent
1ab38660
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+2
-2
PlanTaskUtil.java
...a/com/yeejoin/amos/patrol/business/util/PlanTaskUtil.java
+4
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanTaskServiceImpl.java
View file @
56e0974e
...
@@ -670,8 +670,8 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -670,8 +670,8 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
}
}
//3.生成含有人员信息的日期执行数据
//3.生成含有人员信息的日期执行数据
// 获取路线中的企业类型和设备类型
// 获取路线中的企业类型和设备类型
//
Route route = routeDao.getOne(plan.getRouteId());
Route
route
=
routeDao
.
getOne
(
plan
.
getRouteId
());
Route
route
=
new
Route
();
//
Route route = new Route();
List
<
UserDetailsDto
>
userDetailsDtos
=
new
ArrayList
<>();
List
<
UserDetailsDto
>
userDetailsDtos
=
new
ArrayList
<>();
// 获取用户组下所有的用户信息
// 获取用户组下所有的用户信息
try
{
try
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/util/PlanTaskUtil.java
View file @
56e0974e
...
@@ -512,10 +512,10 @@ public static List<HashMap<String, Object>> genWholeExeData(List<HashMap<String,
...
@@ -512,10 +512,10 @@ public static List<HashMap<String, Object>> genWholeExeData(List<HashMap<String,
return
null
;
return
null
;
}
}
List
<
HashMap
<
String
,
Object
>>
wholeList
=
new
ArrayList
<>();
List
<
HashMap
<
String
,
Object
>>
wholeList
=
new
ArrayList
<>();
// String deviceType = route.getDevice
Type();
String
deviceType
=
route
.
getEquip
Type
();
// String unitType = route.getUnit
Type();
String
unitType
=
route
.
getEnterprise
Type
();
String
deviceType
=
"3000"
;
//
String deviceType = "3000";
String
unitType
=
"1232"
;
//
String unitType = "1232";
if
(!
CollectionUtils
.
isEmpty
(
userDetailsDtoList
))
{
if
(!
CollectionUtils
.
isEmpty
(
userDetailsDtoList
))
{
Map
<
String
,
List
<
UserDetailsDto
>>
userDetailsDtoMap
=
userDetailsDtoList
.
stream
().
Map
<
String
,
List
<
UserDetailsDto
>>
userDetailsDtoMap
=
userDetailsDtoList
.
stream
().
...
...
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