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
9dfcb867
Commit
9dfcb867
authored
Apr 16, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏:两个规定中执行情况查询问题修复
parent
53c8d5c7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
+8
-11
PlanTaskMapper.java
...mos/boot/module/statistics/api/mapper/PlanTaskMapper.java
+1
-1
PlanTask.xml
...ule-statistics-api/src/main/resources/mapper/PlanTask.xml
+2
-2
EnterpriseBizController.java
...ule/statistcs/biz/controller/EnterpriseBizController.java
+3
-5
EnterpriseBizByTCMServiceImpl.java
...istcs/biz/service/impl/EnterpriseBizByTCMServiceImpl.java
+2
-3
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/mapper/PlanTaskMapper.java
View file @
9dfcb867
...
...
@@ -18,7 +18,7 @@ public interface PlanTaskMapper extends BaseMapper {
List
<
Map
<
String
,
String
>>
getUserInfo
(
@Param
(
"useUnitCode"
)
String
useUnitCode
,
@Param
(
"flag"
)
boolean
flag
);
List
<
Map
<
String
,
Object
>>
getPlanCheckByPlanTask
Id
(
@Param
(
"planTaskId"
)
String
planTask
Id
);
List
<
Map
<
String
,
Object
>>
getPlanCheckByPlanTask
DetailId
(
@Param
(
"planTaskDetailId"
)
String
planTaskDetail
Id
);
Page
<
Map
<
String
,
Object
>>
getPersonPage
(
@Param
(
"page"
)
Page
page
,
@Param
(
"map"
)
JSONObject
map
);
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/PlanTask.xml
View file @
9dfcb867
...
...
@@ -78,7 +78,7 @@
)
</if>
</select>
<select
id=
"getPlanCheckByPlanTaskId"
resultType=
"java.util.Map"
>
<select
id=
"getPlanCheckByPlanTask
Detail
Id"
resultType=
"java.util.Map"
>
SELECT
date_format ( ppt.begin_time, '%Y-%m-%d %H:%i:%s' ) beginTime,
date_format ( ppt.end_time, '%Y-%m-%d %H:%i:%s' ) endTime,
...
...
@@ -95,7 +95,7 @@
LEFT JOIN p_input_item pii ON pci.input_id = pii.id
LEFT JOIN p_check_shot pcs ON pc.id = pcs.check_id
WHERE
pc.plan_task_
id = #{planTask
Id}
pc.plan_task_
detail_id = #{planTaskDetail
Id}
</select>
<select
id=
"getPersonPage"
resultType=
"java.util.Map"
>
SELECT
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/EnterpriseBizController.java
View file @
9dfcb867
...
...
@@ -3,8 +3,6 @@ package com.yeejoin.amos.boot.module.statistcs.biz.controller;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.common.api.dto.DPFilterParamDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.SafetyProblemTracingDto
;
import
com.yeejoin.amos.boot.module.statistcs.biz.service.impl.EnterpriseBizByTCMServiceImpl
;
import
com.yeejoin.amos.boot.module.statistcs.biz.service.impl.EnterpriseBizServiceImpl
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
...
...
@@ -67,9 +65,9 @@ public class EnterpriseBizController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/getPlanCheck"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取规定计划信息
详情"
,
notes
=
"获取规定计划信息
详情"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getPlanCheck
(
@RequestParam
String
planTaskId
)
{
return
ResponseHelper
.
buildResponse
(
enterpriseBizByTCMService
.
getPlanCheck
(
planTaskId
));
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取规定计划信息
执行详情"
,
notes
=
"获取规定计划信息执行
详情"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getPlanCheck
(
@RequestParam
String
planTask
Detail
Id
)
{
return
ResponseHelper
.
buildResponse
(
enterpriseBizByTCMService
.
getPlanCheck
(
planTask
Detail
Id
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/EnterpriseBizByTCMServiceImpl.java
View file @
9dfcb867
...
...
@@ -469,9 +469,8 @@ public class EnterpriseBizByTCMServiceImpl {
return
result
;
}
public
List
<
Map
<
String
,
Object
>>
getPlanCheck
(
String
planTaskId
)
{
List
<
Map
<
String
,
Object
>>
result
=
planTaskMapper
.
getPlanCheckByPlanTaskId
(
planTaskId
);
return
result
;
public
List
<
Map
<
String
,
Object
>>
getPlanCheck
(
String
planTaskDetailId
)
{
return
planTaskMapper
.
getPlanCheckByPlanTaskDetailId
(
planTaskDetailId
);
}
public
Page
<
Map
<
String
,
Object
>>
getPersonPage
(
JSONObject
map
,
Page
page
)
{
...
...
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