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
6a779f0a
Commit
6a779f0a
authored
Oct 10, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检任务计划导出
parent
3d6b2417
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
17 deletions
+24
-17
Maven__org_typroject_tyboot_component_cache_1_1_20Ty_SNAPSHOT.xml
...rg_typroject_tyboot_component_cache_1_1_20Ty_SNAPSHOT.xml
+0
-14
PlanTaskController.java
...n/amos/patrol/business/controller/PlanTaskController.java
+2
-3
PlanTaskPageParam.java
...yeejoin/amos/patrol/business/param/PlanTaskPageParam.java
+16
-0
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+6
-0
No files found.
.idea/libraries/Maven__org_typroject_tyboot_component_cache_1_1_20Ty_SNAPSHOT.xml
deleted
100644 → 0
View file @
3d6b2417
<component
name=
"libraryTable"
>
<library
name=
"Maven: org.typroject:tyboot-component-cache:1.1.20Ty-SNAPSHOT"
>
<CLASSES>
<root
url=
"jar://$MAVEN_REPOSITORY$/org/typroject/tyboot-component-cache/1.1.20Ty-SNAPSHOT/tyboot-component-cache-1.1.20Ty-SNAPSHOT.jar!/"
/>
</CLASSES>
<JAVADOC>
<root
url=
"jar://$MAVEN_REPOSITORY$/org/typroject/tyboot-component-cache/1.1.20Ty-SNAPSHOT/tyboot-component-cache-1.1.20Ty-SNAPSHOT-javadoc.jar!/"
/>
</JAVADOC>
<SOURCES>
<root
url=
"jar://$MAVEN_REPOSITORY$/org/typroject/tyboot-component-cache/1.1.20Ty-SNAPSHOT/tyboot-component-cache-1.1.20Ty-SNAPSHOT-sources.jar!/"
/>
</SOURCES>
</library>
</component>
\ No newline at end of file
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/PlanTaskController.java
View file @
6a779f0a
...
...
@@ -242,9 +242,8 @@ public class PlanTaskController extends AbstractBaseController {
try
{
PlanTaskPageParam
paramsk
=
new
PlanTaskPageParam
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
paramsk
.
setBizOrgCode
(
reginParams
.
getPersonIdentity
().
getCompanyBizOrgCode
());
List
<
PlanTaskVo
>
list
=
planTaskService
.
planTaskReportNew
(
paramsk
);
params
.
setBizOrgCode
(
reginParams
.
getPersonIdentity
().
getCompanyBizOrgCode
());
List
<
PlanTaskVo
>
list
=
planTaskService
.
planTaskReportNew
(
params
);
String
fileName
=
"计划执行"
+
new
Date
().
getTime
();
FileHelper
.
exportExcel
(
list
,
"计划执行"
,
"计划执行"
,
PlanTaskVo
.
class
,
fileName
+
".xls"
,
response
);
}
catch
(
Exception
e
)
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/param/PlanTaskPageParam.java
View file @
6a779f0a
...
...
@@ -2,6 +2,8 @@ package com.yeejoin.amos.patrol.business.param;
import
com.yeejoin.amos.patrol.core.common.request.CommonPageable
;
import
java.util.List
;
/**
* 计划执行查询参数
* @author suhuiguang
...
...
@@ -50,6 +52,20 @@ public class PlanTaskPageParam extends CommonPageable {
/**
* 计划批号
*/
private
List
<
String
>
ids
;
public
List
<
String
>
getIds
()
{
return
ids
;
}
public
void
setIds
(
List
<
String
>
ids
)
{
this
.
ids
=
ids
;
}
/**
* 单位
* */
private
String
bizOrgCode
;
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
6a779f0a
...
...
@@ -145,6 +145,12 @@
<if
test=
"orgCode!=null"
>
and a.org_code like #{orgCode}
</if>
<if
test=
"ids!=null"
>
and b.id in
<foreach
collection=
"ids"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</if>
<if
test=
"bizOrgCode!=null"
>
and d.biz_org_code like concat(#{bizOrgCode},'%')
</if>
</where>
order by b.id
...
...
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