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
a354155e
Commit
a354155e
authored
Feb 11, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.巡检废弃接口增加废弃标识
parent
af1583a7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
CheckController.java
...join/amos/patrol/business/controller/CheckController.java
+1
-0
PlanTaskServiceImpl.java
...mos/patrol/business/service/impl/PlanTaskServiceImpl.java
+2
-1
IPlanTaskService.java
.../amos/patrol/business/service/intfc/IPlanTaskService.java
+1
-0
application.properties
...e-tzspatrol-biz/src/main/resources/application.properties
+4
-3
No files found.
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/CheckController.java
View file @
a354155e
...
@@ -228,6 +228,7 @@ public class CheckController extends AbstractBaseController {
...
@@ -228,6 +228,7 @@ public class CheckController extends AbstractBaseController {
return
CommonResponseUtil
.
success
(
list
);
return
CommonResponseUtil
.
success
(
list
);
}
}
@Deprecated
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"一键提交巡检任务"
,
notes
=
"一键提交巡检任务<font color='blue'>手机app</font>"
)
@ApiOperation
(
value
=
"一键提交巡检任务"
,
notes
=
"一键提交巡检任务<font color='blue'>手机app</font>"
)
@RequestMapping
(
value
=
"/saveRecordAll2"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/saveRecordAll2"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
POST
)
...
...
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PlanTaskServiceImpl.java
View file @
a354155e
...
@@ -1697,6 +1697,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -1697,6 +1697,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
}
}
@Deprecated
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
handleAllBatch
(
String
planTaskIds
,
String
userId
)
{
public
void
handleAllBatch
(
String
planTaskIds
,
String
userId
)
{
...
@@ -2001,8 +2002,8 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
...
@@ -2001,8 +2002,8 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
esPlanTaskListDto
.
setOmission
(
this
.
filterByStatus
(
"3"
,
esPlanTaskListDto
.
getPlanTaskId
(),
esTaskDetailDtos
));
esPlanTaskListDto
.
setOmission
(
this
.
filterByStatus
(
"3"
,
esPlanTaskListDto
.
getPlanTaskId
(),
esTaskDetailDtos
));
esPlanTaskListDto
.
setUnqualified
(
this
.
filterByStatus
(
"2"
,
esPlanTaskListDto
.
getPlanTaskId
(),
esTaskDetailDtos
));
esPlanTaskListDto
.
setUnqualified
(
this
.
filterByStatus
(
"2"
,
esPlanTaskListDto
.
getPlanTaskId
(),
esTaskDetailDtos
));
esPlanTaskListDto
.
setUnplan
(
this
.
filterByStatus
(
"0"
,
esPlanTaskListDto
.
getPlanTaskId
(),
esTaskDetailDtos
));
esPlanTaskListDto
.
setUnplan
(
this
.
filterByStatus
(
"0"
,
esPlanTaskListDto
.
getPlanTaskId
(),
esTaskDetailDtos
));
esPlanTaskListDto
.
setTaskPlanNum
(
this
.
filterByStatus
(
"1"
,
esPlanTaskListDto
.
getPlanTaskId
(),
esTaskDetailDtos
));
esPlanTaskListDto
.
setPoints
(
this
.
buildPlanTaskPoint
(
esPlanTaskListDto
.
getPlanTaskId
(),
planTaskDetails
));
esPlanTaskListDto
.
setPoints
(
this
.
buildPlanTaskPoint
(
esPlanTaskListDto
.
getPlanTaskId
(),
planTaskDetails
));
esPlanTaskListDto
.
setTaskPlanNum
(
esPlanTaskListDto
.
getPoints
().
size
()
+
""
);
});
});
}
}
...
...
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/intfc/IPlanTaskService.java
View file @
a354155e
...
@@ -210,6 +210,7 @@ public interface IPlanTaskService {
...
@@ -210,6 +210,7 @@ public interface IPlanTaskService {
void
backPatrolInfo
();
void
backPatrolInfo
();
@Deprecated
void
handleAllBatch
(
String
ids
,
String
userId
);
void
handleAllBatch
(
String
ids
,
String
userId
);
void
handleAllBatch2
(
String
ids
,
String
userId
);
void
handleAllBatch2
(
String
ids
,
String
userId
);
...
...
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/resources/application.properties
View file @
a354155e
...
@@ -22,7 +22,7 @@ mybatis.mapper-locations = classpath:db/mapper/*.xml
...
@@ -22,7 +22,7 @@ mybatis.mapper-locations = classpath:db/mapper/*.xml
mybatis-plus.mapper-locations
=
classpath:db/mapper/*.xml
mybatis-plus.mapper-locations
=
classpath:db/mapper/*.xml
mybatis.type-aliases-package
=
com.yeejoin.amos.patrol.business.entity.mybatis
mybatis.type-aliases-package
=
com.yeejoin.amos.patrol.business.entity.mybatis
mybatis.configuration.mapUnderscoreToCamelCase
=
true
mybatis.configuration.mapUnderscoreToCamelCase
=
true
mybatis-plus.configuration.log-impl
=
org.apache.ibatis.logging.
nologging.NoLogging
Impl
mybatis-plus.configuration.log-impl
=
org.apache.ibatis.logging.
stdout.StdOut
Impl
mybatis-plus.global-config.db-config.update-strategy
=
ignored
mybatis-plus.global-config.db-config.update-strategy
=
ignored
spring.liquibase.change-log
=
classpath:/db/changelog/changelog-master.xml
spring.liquibase.change-log
=
classpath:/db/changelog/changelog-master.xml
...
@@ -80,4 +80,5 @@ spring.security.user.password=a1234560
...
@@ -80,4 +80,5 @@ spring.security.user.password=a1234560
#\u96EA\u82B1\u7B97\u6CD5\u53C2\u6570 \u7EC8\u7AEFID
#\u96EA\u82B1\u7B97\u6CD5\u53C2\u6570 \u7EC8\u7AEFID
generator.worker_id
=
1
generator.worker_id
=
1
#\u96EA\u82B1\u7B97\u6CD5\u53C2\u6570 \u6570\u636E\u4E2D\u5FC3id
#\u96EA\u82B1\u7B97\u6CD5\u53C2\u6570 \u6570\u636E\u4E2D\u5FC3id
generator.datacenter_id
=
1
generator.datacenter_id
=
1
\ No newline at end of file
spring.main.allow-bean-definition-overriding
=
true
\ No newline at end of file
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