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
4a432af0
Commit
4a432af0
authored
Oct 20, 2023
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(巡检): 任务重做bug处理
parent
2cf78016
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
16 deletions
+3
-16
PlanController.java
...ejoin/amos/patrol/business/controller/PlanController.java
+1
-0
PlanServiceImpl.java
...in/amos/patrol/business/service/impl/PlanServiceImpl.java
+1
-15
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/PlanController.java
View file @
4a432af0
...
@@ -181,6 +181,7 @@ public class PlanController extends AbstractBaseController {
...
@@ -181,6 +181,7 @@ public class PlanController extends AbstractBaseController {
param
.
setBizOrgCode
(
loginOrgCode
);
param
.
setBizOrgCode
(
loginOrgCode
);
param
.
setBizOrgName
(
getCompanyName
(
reginParams
));
param
.
setBizOrgName
(
getCompanyName
(
reginParams
));
map
.
put
(
"user_id"
,
userId
);
map
.
put
(
"param"
,
param
);
map
.
put
(
"param"
,
param
);
Plan
plan
=
planService
.
addPlan
(
map
);
Plan
plan
=
planService
.
addPlan
(
map
);
Object
ob
=
plan
!=
null
?
ToJson
.
tojson
(
plan
)
:
null
;
Object
ob
=
plan
!=
null
?
ToJson
.
tojson
(
plan
)
:
null
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanServiceImpl.java
View file @
4a432af0
...
@@ -49,24 +49,10 @@ public class PlanServiceImpl implements IPlanService {
...
@@ -49,24 +49,10 @@ public class PlanServiceImpl implements IPlanService {
public
Plan
addPlan
(
HashMap
<
String
,
Object
>
map
)
{
public
Plan
addPlan
(
HashMap
<
String
,
Object
>
map
)
{
Plan
param
=
(
Plan
)
map
.
get
(
"param"
);
Plan
param
=
(
Plan
)
map
.
get
(
"param"
);
// String userGroupId = param.getUserGroupId();
// String[] userGroupIdArr = userGroupId.split(",");
StringBuilder
stringBuilder
=
new
StringBuilder
();
// for(String str : userGroupIdArr) {
// if(stringBuilder.length() > 0){
// stringBuilder.append(",").append(str.split("@")[0]);
// }else{
// stringBuilder.append(str.split("@")[0]);
// }
//
// }
param
.
setUserId
(
stringBuilder
.
toString
());
String
org_code
=
map
.
get
(
"org_code"
)
==
null
?
""
:
map
.
get
(
"org_code"
).
toString
();
String
org_code
=
map
.
get
(
"org_code"
)
==
null
?
""
:
map
.
get
(
"org_code"
).
toString
();
String
user_id
=
map
.
get
(
"user_id"
)==
null
?
""
:
map
.
get
(
"user_id"
).
toString
();
String
user_id
=
map
.
get
(
"user_id"
)==
null
?
""
:
map
.
get
(
"user_id"
).
toString
();
// if (param.getDeptId() > 0) {
// org_code = org_code + "-" + param.getDeptId();
// }
if
(
StringUtil
.
isNotEmpty
(
map
.
get
(
"dept_id"
))){
if
(
StringUtil
.
isNotEmpty
(
map
.
get
(
"dept_id"
))){
param
.
setDeptId
(
map
.
get
(
"dept_id"
).
toString
());
param
.
setDeptId
(
map
.
get
(
"dept_id"
).
toString
());
}
}
...
...
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 @
4a432af0
...
@@ -375,7 +375,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -375,7 +375,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
return
;
return
;
}
}
reformStatisticsPlanTask
(
strBginDate
,
strEndDate
,
plan
.
getUserId
(),
plan
.
getBizOrgCode
());
//
reformStatisticsPlanTask(strBginDate, strEndDate, plan.getUserId(), plan.getBizOrgCode());
//8.通知3d数据统计进行更新(换流站全景监控)
//8.通知3d数据统计进行更新(换流站全景监控)
// this.notifyBusinessRefresh(NotifyBusinessTypeEum.planTask.getCode());
// this.notifyBusinessRefresh(NotifyBusinessTypeEum.planTask.getCode());
}
}
...
...
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