Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
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
yaru
fgqyxxlr
Commits
dc4f28ac
Commit
dc4f28ac
authored
Sep 04, 2020
by
liru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计修改
parent
b0075b42
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
125 additions
and
109 deletions
+125
-109
ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/ReportController.java
+125
-109
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/demo/controller/ReportController.java
View file @
dc4f28ac
...
@@ -64,6 +64,9 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -64,6 +64,9 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
for
(
OrhonFgqy
orhonFgqy
:
allFgqy
)
{
for
(
OrhonFgqy
orhonFgqy
:
allFgqy
)
{
ReportOneResult
tmpResult
=
null
;
ReportOneResult
tmpResult
=
null
;
if
(
orhonFgqy
.
getDeptId
()==
null
)
{
orhonFgqy
.
setDeptId
(
0
l
);
}
if
(
qiquMap
.
get
(
orhonFgqy
.
getDeptId
())
==
null
)
{
if
(
qiquMap
.
get
(
orhonFgqy
.
getDeptId
())
==
null
)
{
tmpResult
=
new
ReportOneResult
();
tmpResult
=
new
ReportOneResult
();
this
.
initResult
(
tmpResult
);
this
.
initResult
(
tmpResult
);
...
@@ -250,10 +253,13 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -250,10 +253,13 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
this
.
initResult
(
result
);
this
.
initResult
(
result
);
}
}
result
.
setAreaName
(
dictData
.
getDictLabel
());
result
.
setAreaName
(
dictData
.
getDictLabel
());
reportOneResultList
.
add
(
result
);
reportOneResultList
.
add
(
result
);
}
}
ReportOneResult
result
=
qiquMap
.
get
(
0
l
);
if
(
result
!=
null
){
result
.
setAreaName
(
"空"
);
reportOneResultList
.
add
(
result
);
}
rspData
.
setRows
(
reportOneResultList
);
rspData
.
setRows
(
reportOneResultList
);
rspData
.
setTotal
(
reportOneResultList
.
size
());
rspData
.
setTotal
(
reportOneResultList
.
size
());
return
rspData
;
return
rspData
;
...
@@ -473,8 +479,10 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -473,8 +479,10 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
reportOneResultList
.
add
(
result
);
reportOneResultList
.
add
(
result
);
}
}
ReportOneResult
result
=
qiquMap
.
get
(
"0"
);
ReportOneResult
result
=
qiquMap
.
get
(
"0"
);
if
(
result
!=
null
){
result
.
setType
(
"空"
);
result
.
setType
(
"空"
);
reportOneResultList
.
add
(
result
);
reportOneResultList
.
add
(
result
);
}
rspData
.
setRows
(
reportOneResultList
);
rspData
.
setRows
(
reportOneResultList
);
rspData
.
setTotal
(
reportOneResultList
.
size
());
rspData
.
setTotal
(
reportOneResultList
.
size
());
return
rspData
;
return
rspData
;
...
@@ -702,8 +710,10 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -702,8 +710,10 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
reportTwoResultList
.
add
(
result
);
reportTwoResultList
.
add
(
result
);
}
}
ReportTwoResult
result
=
qiquMap
.
get
(
0
l
);
ReportTwoResult
result
=
qiquMap
.
get
(
0
l
);
result
.
setAreaName
(
"空"
);
if
(
result
!=
null
){
result
.
setType
(
"空"
);
reportTwoResultList
.
add
(
result
);
reportTwoResultList
.
add
(
result
);
}
rspData
.
setRows
(
reportTwoResultList
);
rspData
.
setRows
(
reportTwoResultList
);
rspData
.
setTotal
(
reportTwoResultList
.
size
());
rspData
.
setTotal
(
reportTwoResultList
.
size
());
return
rspData
;
return
rspData
;
...
@@ -884,8 +894,10 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -884,8 +894,10 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
reportTwoResultList
.
add
(
result
);
reportTwoResultList
.
add
(
result
);
}
}
ReportTwoResult
result
=
qiquMap
.
get
(
"0"
);
ReportTwoResult
result
=
qiquMap
.
get
(
"0"
);
if
(
result
!=
null
){
result
.
setType
(
"空"
);
result
.
setType
(
"空"
);
reportTwoResultList
.
add
(
result
);
reportTwoResultList
.
add
(
result
);
}
rspData
.
setRows
(
reportTwoResultList
);
rspData
.
setRows
(
reportTwoResultList
);
rspData
.
setTotal
(
reportTwoResultList
.
size
());
rspData
.
setTotal
(
reportTwoResultList
.
size
());
return
rspData
;
return
rspData
;
...
@@ -1044,37 +1056,38 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -1044,37 +1056,38 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
}
}
orhonFgqy
.
setIsdzz
(
"1"
);
orhonFgqy
.
setIsdzz
(
"1"
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
List
<
ReportEightResult
>
list1
=
new
ArrayList
<>();
// List<ReportEightResult> list1=new ArrayList<>();
for
(
OrhonFgqy
f:
listOrhonFgqy
){
// for(OrhonFgqy f:listOrhonFgqy){
ReportEightResult
r
=
new
ReportEightResult
();
// ReportEightResult r=new ReportEightResult();
BeanUtils
.
copyProperties
(
f
,
r
);
// BeanUtils.copyProperties(f, r);
list1
.
add
(
r
);
// list1.add(r);
}
// }
BeanUtils
.
copyProperties
(
listOrhonFgqy
,
list1
);
// BeanUtils.copyProperties(listOrhonFgqy, list1);
orhonGtxx
.
setIsdzz
(
"1"
);
// orhonGtxx.setIsdzz("1");
List
<
OrhonGtxx
>
listOrhonGtxx
=
orhonGtxxService
.
selectOrhonGtxxList
(
orhonGtxx
);
// List<OrhonGtxx> listOrhonGtxx = orhonGtxxService.selectOrhonGtxxList(orhonGtxx);
List
<
ReportEightResult
>
list2
=
new
ArrayList
<>();
// List<ReportEightResult> list2=new ArrayList<>();
for
(
OrhonGtxx
gtxx:
listOrhonGtxx
){
// for(OrhonGtxx gtxx:listOrhonGtxx){
ReportEightResult
r
=
new
ReportEightResult
();
// ReportEightResult r=new ReportEightResult();
r
.
setMc
(
gtxx
.
getZhmc
());
// r.setMc(gtxx.getZhmc());
r
.
setIsdzz
(
gtxx
.
getIsdzz
());
// r.setIsdzz(gtxx.getIsdzz());
r
.
setDzzjlsj
(
gtxx
.
getDzzjlsj
());
// r.setDzzjlsj(gtxx.getDzzjlsj());
r
.
setDzzmc
(
gtxx
.
getDzzmc
());
// r.setDzzmc(gtxx.getDzzmc());
r
.
setDzzlx
(
gtxx
.
getDzzlx
());
// r.setDzzlx(gtxx.getDzzlx());
r
.
setDzzsdgx
(
gtxx
.
getDzzsdgx
());
// r.setDzzsdgx(gtxx.getDzzsdgx());
r
.
setSjdzz
(
gtxx
.
getSjdzz
());
// r.setSjdzz(gtxx.getSjdzz());
r
.
setIsgh
(
gtxx
.
getIsgh
());
// r.setIsgh(gtxx.getIsgh());
r
.
setIstzz
(
gtxx
.
getIstzz
());
// r.setIstzz(gtxx.getIstzz());
r
.
setIsjljcfnzz
(
gtxx
.
getIsjljcfnzz
());
// r.setIsjljcfnzz(gtxx.getIsjljcfnzz());
r
.
setHjxx
(
gtxx
.
getHjxx
());
// r.setHjxx(gtxx.getHjxx());
r
.
setDfzh
(
gtxx
.
getDfzh
());
// r.setDfzh(gtxx.getDfzh());
r
.
setSzd
(
gtxx
.
getJycs
());
// r.setSzd(gtxx.getJycs());
r
.
setLxdhjczh
(
gtxx
.
getLxdhjczh
());
// r.setLxdhjczh(gtxx.getLxdhjczh());
list2
.
add
(
r
);
// list2.add(r);
}
// }
list
.
addAll
(
list1
);
// list.addAll(list1);
list
.
addAll
(
list2
);
// list.addAll(list2);
return
getDataTable
(
list
);
// return getDataTable(list);
return
getDataTable
(
listOrhonFgqy
);
}
}
/**
/**
* 第12个报表
* 第12个报表
...
@@ -1094,33 +1107,34 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -1094,33 +1107,34 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
}
}
orhonFgqy
.
setIsdzz
(
"1"
);
orhonFgqy
.
setIsdzz
(
"1"
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
List
<
ReportTwelveResult
>
list1
=
new
ArrayList
<>();
// List<ReportTwelveResult> list1=new ArrayList<>();
for
(
OrhonFgqy
f:
listOrhonFgqy
){
// for(OrhonFgqy f:listOrhonFgqy){
ReportTwelveResult
r
=
new
ReportTwelveResult
();
// ReportTwelveResult r=new ReportTwelveResult();
BeanUtils
.
copyProperties
(
f
,
r
);
// BeanUtils.copyProperties(f, r);
list1
.
add
(
r
);
// list1.add(r);
}
// }
orhonGtxx
.
setIsdzz
(
"1"
);
// orhonGtxx.setIsdzz("1");
List
<
OrhonGtxx
>
listOrhonGtxx
=
orhonGtxxService
.
selectOrhonGtxxList
(
orhonGtxx
);
// List<OrhonGtxx> listOrhonGtxx = orhonGtxxService.selectOrhonGtxxList(orhonGtxx);
List
<
ReportTwelveResult
>
list2
=
new
ArrayList
<>();
// List<ReportTwelveResult> list2=new ArrayList<>();
for
(
OrhonGtxx
gtxx:
listOrhonGtxx
){
// for(OrhonGtxx gtxx:listOrhonGtxx){
ReportTwelveResult
r
=
new
ReportTwelveResult
();
// ReportTwelveResult r=new ReportTwelveResult();
r
.
setMc
(
gtxx
.
getZhmc
());
// r.setMc(gtxx.getZhmc());
r
.
setYwdy
(
gtxx
.
getYwdy
());
// r.setYwdy(gtxx.getYwdy());
r
.
setDys
(
gtxx
.
getDys
());
// r.setDys(gtxx.getDys());
r
.
setZzdysl
(
gtxx
.
getZzdysl
());
// r.setZzdysl(gtxx.getZzdysl());
r
.
setYbdysl
(
gtxx
.
getYbdysl
());
// r.setYbdysl(gtxx.getYbdysl());
r
.
setLddysl
(
gtxx
.
getLddysl
());
// r.setLddysl(gtxx.getLddysl());
r
.
setSlhkddysl
(
gtxx
.
getSlhkddysl
());
// r.setSlhkddysl(gtxx.getSlhkddysl());
r
.
setJjfzsl
(
gtxx
.
getJjfzsl
());
// r.setJjfzsl(gtxx.getJjfzsl());
r
.
setFzdxsl
(
gtxx
.
getFzdxsl
());
// r.setFzdxsl(gtxx.getFzdxsl());
r
.
setNnfzdys
(
gtxx
.
getNnfzdys
());
// r.setNnfzdys(gtxx.getNnfzdys());
r
.
setDfsjbz
(
gtxx
.
getDfsjbz
());
// r.setDfsjbz(gtxx.getDfsjbz());
list2
.
add
(
r
);
// list2.add(r);
}
// }
list
.
addAll
(
list1
);
// list.addAll(list1);
list
.
addAll
(
list2
);
// list.addAll(list2);
return
getDataTable
(
list
);
// return getDataTable(list);
return
getDataTable
(
listOrhonFgqy
);
}
}
/**
/**
* 第14个报表
* 第14个报表
...
@@ -1140,32 +1154,33 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -1140,32 +1154,33 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
}
}
orhonFgqy
.
setIsdzz
(
"1"
);
orhonFgqy
.
setIsdzz
(
"1"
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
List
<
ReportFourteenResult
>
list1
=
new
ArrayList
<>();
// List<ReportFourteenResult> list1=new ArrayList<>();
for
(
OrhonFgqy
f:
listOrhonFgqy
){
// for(OrhonFgqy f:listOrhonFgqy){
ReportFourteenResult
r
=
new
ReportFourteenResult
();
// ReportFourteenResult r=new ReportFourteenResult();
BeanUtils
.
copyProperties
(
f
,
r
);
// BeanUtils.copyProperties(f, r);
list1
.
add
(
r
);
// list1.add(r);
}
// }
orhonGtxx
.
setIsdzz
(
"1"
);
// orhonGtxx.setIsdzz("1");
List
<
OrhonGtxx
>
listOrhonGtxx
=
orhonGtxxService
.
selectOrhonGtxxList
(
orhonGtxx
);
// List<OrhonGtxx> listOrhonGtxx = orhonGtxxService.selectOrhonGtxxList(orhonGtxx);
List
<
ReportFourteenResult
>
list2
=
new
ArrayList
<>();
// List<ReportFourteenResult> list2=new ArrayList<>();
for
(
OrhonGtxx
gtxx:
listOrhonGtxx
){
// for(OrhonGtxx gtxx:listOrhonGtxx){
ReportFourteenResult
r
=
new
ReportFourteenResult
();
// ReportFourteenResult r=new ReportFourteenResult();
r
.
setMc
(
gtxx
.
getZhmc
());
// r.setMc(gtxx.getZhmc());
r
.
setIshdzd
(
gtxx
.
getIshdzd
());
// r.setIshdzd(gtxx.getIshdzd());
r
.
setHdzdmj
(
gtxx
.
getHdzdmj
());
// r.setHdzdmj(gtxx.getHdzdmj());
r
.
setDjjf
(
gtxx
.
getDjjf
());
// r.setDjjf(gtxx.getDjjf());
r
.
setSjbfe
(
gtxx
.
getSjbfe
());
// r.setSjbfe(gtxx.getSjbfe());
r
.
setBjppe
(
gtxx
.
getBjppe
());
// r.setBjppe(gtxx.getBjppe());
r
.
setSfpdjzdy
(
gtxx
.
getSfpdjzdy
());
// r.setSfpdjzdy(gtxx.getSfpdjzdy());
r
.
setDjzdyxm
(
gtxx
.
getDjzdyxm
());
// r.setDjzdyxm(gtxx.getDjzdyxm());
r
.
setGzdwjzw
(
gtxx
.
getGzdwjzw
());
// r.setGzdwjzw(gtxx.getGzdwjzw());
r
.
setLxdhjczh
(
gtxx
.
getLxdhjczh
());
// r.setLxdhjczh(gtxx.getLxdhjczh());
list2
.
add
(
r
);
// list2.add(r);
}
// }
list
.
addAll
(
list1
);
// list.addAll(list1);
list
.
addAll
(
list2
);
// list.addAll(list2);
return
getDataTable
(
list
);
// return getDataTable(list);
return
getDataTable
(
listOrhonFgqy
);
}
}
/**
/**
* 第16个报表
* 第16个报表
...
@@ -1185,28 +1200,29 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
...
@@ -1185,28 +1200,29 @@ public class ReportController extends com.ruoyi.common.core.controller.BaseContr
}
}
orhonFgqy
.
setIsdzz
(
"1"
);
orhonFgqy
.
setIsdzz
(
"1"
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
java
.
util
.
List
<
com
.
ruoyi
.
system
.
domain
.
OrhonFgqy
>
listOrhonFgqy
=
orhonFgqyService
.
selectOrhonFgqyList
(
orhonFgqy
);
List
<
ReportSixteenResult
>
list1
=
new
ArrayList
<>();
// List<ReportSixteenResult> list1=new ArrayList<>();
for
(
OrhonFgqy
f:
listOrhonFgqy
){
// for(OrhonFgqy f:listOrhonFgqy){
ReportSixteenResult
r
=
new
ReportSixteenResult
();
// ReportSixteenResult r=new ReportSixteenResult();
BeanUtils
.
copyProperties
(
f
,
r
);
// BeanUtils.copyProperties(f, r);
list1
.
add
(
r
);
// list1.add(r);
}
// }
orhonGtxx
.
setIsdzz
(
"1"
);
// list.addAll(list1);
List
<
OrhonGtxx
>
listOrhonGtxx
=
orhonGtxxService
.
selectOrhonGtxxList
(
orhonGtxx
);
// orhonGtxx.setIsdzz("1");
List
<
ReportSixteenResult
>
list2
=
new
ArrayList
<>();
// List<OrhonGtxx> listOrhonGtxx = orhonGtxxService.selectOrhonGtxxList(orhonGtxx);
for
(
OrhonGtxx
gtxx:
listOrhonGtxx
){
// List<ReportSixteenResult> list2=new ArrayList<>();
ReportSixteenResult
r
=
new
ReportSixteenResult
();
// for(OrhonGtxx gtxx:listOrhonGtxx){
r
.
setMc
(
gtxx
.
getZhmc
());
// ReportSixteenResult r=new ReportSixteenResult();
r
.
setIssqlh
(
gtxx
.
getIssqlh
());
// r.setMc(gtxx.getZhmc());
r
.
setQdjb
(
gtxx
.
getQdjb
());
// r.setIssqlh(gtxx.getIssqlh());
r
.
setQdsj
(
gtxx
.
getQdsj
());
// r.setQdjb(gtxx.getQdjb());
r
.
setXjpdjg
(
gtxx
.
getXjpdjg
());
// r.setQdsj(gtxx.getQdsj());
r
.
setJcqk
(
gtxx
.
getJcqk
());
// r.setXjpdjg(gtxx.getXjpdjg());
list2
.
add
(
r
);
// r.setJcqk(gtxx.getJcqk());
}
// list2.add(r);
list
.
addAll
(
list1
);
// }
list
.
addAll
(
list2
);
// list.addAll(list2);
return
getDataTable
(
list
);
// return getDataTable(list);
return
getDataTable
(
listOrhonFgqy
);
}
}
/**
/**
* 有党组织的社会组织列表
* 有党组织的社会组织列表
...
...
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