add 统计增加排序功能
This commit is contained in:
+30
@@ -14,6 +14,7 @@ select pp.id as projectId,
|
|||||||
year,
|
year,
|
||||||
payStatue,
|
payStatue,
|
||||||
departCode,
|
departCode,
|
||||||
|
confirmAmount,
|
||||||
principalNameId,
|
principalNameId,
|
||||||
type,
|
type,
|
||||||
pp.pack
|
pp.pack
|
||||||
@@ -31,11 +32,13 @@ from (SELECT pwgs.id,
|
|||||||
pwg.year as year,
|
pwg.year as year,
|
||||||
pwgs.in_account as payStatue,
|
pwgs.in_account as payStatue,
|
||||||
su.org_code as departCode,
|
su.org_code as departCode,
|
||||||
|
pcpr.amount_received as confirmAmount,
|
||||||
pwg.principal_id_a as principalNameId,
|
pwg.principal_id_a as principalNameId,
|
||||||
2 as type,
|
2 as type,
|
||||||
pwgs.create_time as createTime
|
pwgs.create_time as createTime
|
||||||
FROM pay_working_group pwg
|
FROM pay_working_group pwg
|
||||||
right join pay_working_group_subitem pwgs on (pwg.id = pwgs.working_group_id)
|
right join pay_working_group_subitem pwgs on (pwg.id = pwgs.working_group_id)
|
||||||
|
left JOIN pay_confirm_payment_record pcpr on (pwgs.id = pcpr.project_id)
|
||||||
left JOIN sys_user su on (pwg.principal_id_a = su.id)
|
left JOIN sys_user su on (pwg.principal_id_a = su.id)
|
||||||
left join sys_depart sd on (su.org_code = sd.org_code)
|
left join sys_depart sd on (su.org_code = sd.org_code)
|
||||||
union all
|
union all
|
||||||
@@ -53,10 +56,12 @@ from (SELECT pwgs.id,
|
|||||||
pcp.year as year,
|
pcp.year as year,
|
||||||
pcp.in_account as payStatue,
|
pcp.in_account as payStatue,
|
||||||
su.org_code as departCode,
|
su.org_code as departCode,
|
||||||
|
pcpr.amount_received as confirmAmount,
|
||||||
pcp.principal_id as principalNameId,
|
pcp.principal_id as principalNameId,
|
||||||
1 as type,
|
1 as type,
|
||||||
pcp.create_time as createTime
|
pcp.create_time as createTime
|
||||||
FROM pay_common_project pcp
|
FROM pay_common_project pcp
|
||||||
|
left JOIN pay_confirm_payment_record pcpr on (pcp.id = pcpr.project_id)
|
||||||
left JOIN sys_user su on (pcp.principal_id = su.id)
|
left JOIN sys_user su on (pcp.principal_id = su.id)
|
||||||
left join sys_depart sd on (su.org_code = sd.org_code)
|
left join sys_depart sd on (su.org_code = sd.org_code)
|
||||||
union all
|
union all
|
||||||
@@ -74,11 +79,13 @@ from (SELECT pwgs.id,
|
|||||||
pmp.particular_year as year,
|
pmp.particular_year as year,
|
||||||
pmps.in_account as payStatue,
|
pmps.in_account as payStatue,
|
||||||
su.org_code as departCode,
|
su.org_code as departCode,
|
||||||
|
pcpr.amount_received as confirmAmount,
|
||||||
pmp.director_id as principalNameId,
|
pmp.director_id as principalNameId,
|
||||||
4 as type,
|
4 as type,
|
||||||
pmps.create_time as createTime
|
pmps.create_time as createTime
|
||||||
FROM pay_member_project pmp
|
FROM pay_member_project pmp
|
||||||
right join pay_member_project_subitem pmps on (pmp.id = pmps.project_id)
|
right join pay_member_project_subitem pmps on (pmp.id = pmps.project_id)
|
||||||
|
left JOIN pay_confirm_payment_record pcpr on (pmp.id = pcpr.project_id)
|
||||||
left JOIN sys_user su on (pmp.director_id = su.id)
|
left JOIN sys_user su on (pmp.director_id = su.id)
|
||||||
left join sys_depart sd on (su.org_code = sd.org_code)
|
left join sys_depart sd on (su.org_code = sd.org_code)
|
||||||
union all
|
union all
|
||||||
@@ -96,6 +103,7 @@ from (SELECT pwgs.id,
|
|||||||
pm.particular_year as year,
|
pm.particular_year as year,
|
||||||
pms.in_account as payStatue,
|
pms.in_account as payStatue,
|
||||||
su.org_code as departCode,
|
su.org_code as departCode,
|
||||||
|
0 as confirmAmount,
|
||||||
pm.director_id as principalNameId,
|
pm.director_id as principalNameId,
|
||||||
3 as type,
|
3 as type,
|
||||||
pms.create_time as createTime
|
pms.create_time as createTime
|
||||||
@@ -118,6 +126,7 @@ from (SELECT pwgs.id,
|
|||||||
tmp.year as year,
|
tmp.year as year,
|
||||||
tmps.in_account as payStatue,
|
tmps.in_account as payStatue,
|
||||||
su.org_code as departCode,
|
su.org_code as departCode,
|
||||||
|
0 as confirmAmount,
|
||||||
tmp.director_id as principalNameId,
|
tmp.director_id as principalNameId,
|
||||||
5 as type,
|
5 as type,
|
||||||
tmps.create_time as createTime
|
tmps.create_time as createTime
|
||||||
@@ -140,6 +149,7 @@ from (SELECT pwgs.id,
|
|||||||
tmp.year as year,
|
tmp.year as year,
|
||||||
tcp.in_account as payStatue,
|
tcp.in_account as payStatue,
|
||||||
su.org_code as departCode,
|
su.org_code as departCode,
|
||||||
|
0 as confirmAmount,
|
||||||
tmp.director_id as principalNameId,
|
tmp.director_id as principalNameId,
|
||||||
6 as type,
|
6 as type,
|
||||||
tcp.create_time as createTime
|
tcp.create_time as createTime
|
||||||
@@ -151,3 +161,23 @@ from (SELECT pwgs.id,
|
|||||||
where pp.allMoney is not null
|
where pp.allMoney is not null
|
||||||
and pp.allMoney != 0
|
and pp.allMoney != 0
|
||||||
order by pp.createTime;
|
order by pp.createTime;
|
||||||
|
|
||||||
|
create table pay_confirm_payment_record
|
||||||
|
(
|
||||||
|
id varchar(36) not null comment 'id'
|
||||||
|
primary key,
|
||||||
|
create_by varchar(50) null comment '创建人',
|
||||||
|
create_time datetime null comment '创建日期',
|
||||||
|
update_by varchar(50) null comment '更新人',
|
||||||
|
update_time datetime null comment '更新日期',
|
||||||
|
project_id varchar(50) null comment '项目id',
|
||||||
|
amount_received decimal(12, 2) null comment '到账金额',
|
||||||
|
payment_date date null comment '到账日期',
|
||||||
|
remark varchar(200) null comment '备注'
|
||||||
|
) comment '确认来款记录表';
|
||||||
|
alter table pay_common_project
|
||||||
|
add column confirm_amount decimal(12, 2) null comment '确认金额';
|
||||||
|
alter table pay_working_group_subitem
|
||||||
|
add column confirm_amount decimal(12, 2) null comment '确认金额';
|
||||||
|
alter table pay_member_project_subitem
|
||||||
|
add column confirm_amount decimal(12, 2) null comment '确认金额';
|
||||||
|
|||||||
+51
-5
@@ -134,6 +134,7 @@
|
|||||||
sum(comeAllMoney) as comeAllMoney
|
sum(comeAllMoney) as comeAllMoney
|
||||||
from
|
from
|
||||||
v_statistical
|
v_statistical
|
||||||
|
|
||||||
<where>
|
<where>
|
||||||
type = 2
|
type = 2
|
||||||
<if test="ids != null and ids != ''">
|
<if test="ids != null and ids != ''">
|
||||||
@@ -301,8 +302,22 @@
|
|||||||
|
|
||||||
<!-- 全所统计-->
|
<!-- 全所统计-->
|
||||||
<select id="queryPageList3" resultType="com.jero.statistics.entity.AllProjectStatistics">
|
<select id="queryPageList3" resultType="com.jero.statistics.entity.AllProjectStatistics">
|
||||||
select projectId,projectName, principalName, chargeCompanyTemporaryName, allMoney, comeAllMoney, chargeUse, depart, createTime, packText,pack
|
select * from
|
||||||
from v_statistical
|
(select projectId,
|
||||||
|
projectName,
|
||||||
|
principalName,
|
||||||
|
chargeCompanyTemporaryName,
|
||||||
|
allMoney,
|
||||||
|
comeAllMoney,
|
||||||
|
chargeUse,
|
||||||
|
depart,
|
||||||
|
createTime,
|
||||||
|
packText,
|
||||||
|
pack,
|
||||||
|
if(sum(pmb.invoice_amount) is null, 0.00, sum(pmb.invoice_amount)) as billMoney
|
||||||
|
from v_statistical v
|
||||||
|
left join pay_mail_bill_project pmbp on v.projectId = pmbp.project_id
|
||||||
|
left join pay_mail_bill pmb on pmbp.bill_id = pmb.id
|
||||||
<where>
|
<where>
|
||||||
<if test="idList != null and idList != ''">
|
<if test="idList != null and idList != ''">
|
||||||
principalNameId in
|
principalNameId in
|
||||||
@@ -353,12 +368,38 @@
|
|||||||
</if>
|
</if>
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
|
<if test="allProjectStatisticsSearch.billYear != null and allProjectStatisticsSearch.billYear != ''">
|
||||||
|
and DATE_FORMAT (pmb.bill_date,'%Y') like concat(#{allProjectStatisticsSearch.billYear}, '%')
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
group by v.projectId) p
|
||||||
|
<if test="allProjectStatisticsSearch.column != null and allProjectStatisticsSearch.column != ''">
|
||||||
|
order by
|
||||||
|
<if test="allProjectStatisticsSearch.column == 'allMoney'">
|
||||||
|
allMoney
|
||||||
|
</if>
|
||||||
|
<if test="allProjectStatisticsSearch.column == 'comeAllMoney'">
|
||||||
|
comeAllMoney
|
||||||
|
</if>
|
||||||
|
<if test="allProjectStatisticsSearch.column == 'billMoney'">
|
||||||
|
billMoney
|
||||||
|
</if>
|
||||||
|
<if test="allProjectStatisticsSearch.order == 'desc'">
|
||||||
|
desc
|
||||||
|
</if>
|
||||||
|
<if test="allProjectStatisticsSearch.order == 'asc'">
|
||||||
|
asc
|
||||||
|
</if>
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<!-- 全所统计总金额统计-->
|
<!-- 全所统计总金额统计-->
|
||||||
<select id="queryPageList33" resultType="com.jero.statistics.entity.AllMoney">
|
<select id="queryPageList33" resultType="com.jero.statistics.entity.AllMoney">
|
||||||
select sum(allMoney) as allMoney, sum(comeAllMoney) as comeAllMoney from
|
select sum(allMoney) as allMoney,
|
||||||
v_statistical
|
sum(comeAllMoney) as comeAllMoney,
|
||||||
|
if(sum(pmb.invoice_amount) is null, 0.00, sum(pmb.invoice_amount)) as billMoney
|
||||||
|
from v_statistical v
|
||||||
|
left join pay_mail_bill_project pmbp on v.projectId = pmbp.project_id
|
||||||
|
left join pay_mail_bill pmb on pmbp.bill_id = pmb.id
|
||||||
<where>
|
<where>
|
||||||
<if test="idList != null and idList != ''">
|
<if test="idList != null and idList != ''">
|
||||||
principalNameId in
|
principalNameId in
|
||||||
@@ -366,6 +407,7 @@
|
|||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="allProjectStatisticsSearch.projectName != null and allProjectStatisticsSearch.projectName != ''">
|
<if test="allProjectStatisticsSearch.projectName != null and allProjectStatisticsSearch.projectName != ''">
|
||||||
AND projectName LIKE
|
AND projectName LIKE
|
||||||
concat('%', #{allProjectStatisticsSearch.projectName}, '%')
|
concat('%', #{allProjectStatisticsSearch.projectName}, '%')
|
||||||
@@ -396,7 +438,8 @@
|
|||||||
</if>
|
</if>
|
||||||
<choose>
|
<choose>
|
||||||
<when test="allProjectStatisticsSearch.allMoney != null and allProjectStatisticsSearch.allMoney != '' and allProjectStatisticsSearch.allMoneyTwo != null and allProjectStatisticsSearch.allMoneyTwo != ''">
|
<when test="allProjectStatisticsSearch.allMoney != null and allProjectStatisticsSearch.allMoney != '' and allProjectStatisticsSearch.allMoneyTwo != null and allProjectStatisticsSearch.allMoneyTwo != ''">
|
||||||
AND allMoney >= #{allProjectStatisticsSearch.allMoney} and allMoney <![CDATA[<]]>=
|
AND allMoney >= #{allProjectStatisticsSearch.allMoney}
|
||||||
|
and allMoney <![CDATA[<]]>=
|
||||||
#{allProjectStatisticsSearch.allMoneyTwo}
|
#{allProjectStatisticsSearch.allMoneyTwo}
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
@@ -408,6 +451,9 @@
|
|||||||
</if>
|
</if>
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
|
<if test="allProjectStatisticsSearch.billYear != null and allProjectStatisticsSearch.billYear != ''">
|
||||||
|
and DATE_FORMAT (pmb.bill_date,'%Y') like concat(#{allProjectStatisticsSearch.billYear}, '%')
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
<!-- 全所统计导出-->
|
<!-- 全所统计导出-->
|
||||||
|
|||||||
+1
-95
@@ -70,39 +70,9 @@ public class AllProjectStatisticsController {
|
|||||||
|
|
||||||
allProjectStatisticsSearch.setProjectName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getProjectName()));
|
allProjectStatisticsSearch.setProjectName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getProjectName()));
|
||||||
allProjectStatisticsSearch.setChargeCompanyTemporaryName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getChargeCompanyTemporaryName()));
|
allProjectStatisticsSearch.setChargeCompanyTemporaryName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getChargeCompanyTemporaryName()));
|
||||||
//根据不同角色加载不同列表的参数
|
|
||||||
// List<String> idList = new ArrayList<>();
|
|
||||||
// //判断登录角色,显示特定内容,判断依据为登录用户的角色和机构编码
|
|
||||||
// LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
||||||
// String roleCode = sysUser.getRoleCode();
|
|
||||||
// List<String> roleCodes = new ArrayList<>(Arrays.asList(roleCode.split(",")));
|
|
||||||
// //admin
|
|
||||||
// if (roleCodes.contains(constant.ADMIN)) {
|
|
||||||
// idList = null;
|
|
||||||
// //部门负责人
|
|
||||||
// } else if (roleCodes.contains(constant.BMFZR)||roleCodes.contains(constant.SLD)) {
|
|
||||||
// //获取本部门及其所有下部部门所有成员(不包含最开始的部门下级成员)
|
|
||||||
// List<String> allDepartIds = sysBaseAPI.getAllDepartIds(sysUser.getDepartIds(),idList);
|
|
||||||
// //获取本部门成员
|
|
||||||
// idList.addAll((userMapper.selectList(new QueryWrapper<SysUser>().eq("status", 1).eq("del_flag", 0).eq("org_code", sysUser.getOrgCode()))).stream().map(SysUser::getId).collect(Collectors.toList()));
|
|
||||||
//
|
|
||||||
// idList.addAll(allDepartIds);//项目负责人
|
|
||||||
// } else if (roleCodes.contains(constant.XMFZR)) {
|
|
||||||
// String userId = sysUser.getId();
|
|
||||||
// idList.add(userId);
|
|
||||||
// } else {
|
|
||||||
// return Result.OK();
|
|
||||||
// }
|
|
||||||
// assert idList != null;
|
|
||||||
Page<AllProjectStatistics> page = new Page<>(pageNo, pageSize);
|
Page<AllProjectStatistics> page = new Page<>(pageNo, pageSize);
|
||||||
IPage<AllProjectStatistics> pageList = payWorkingGroupService.queryPageList(page, allProjectStatisticsSearch, null);
|
IPage<AllProjectStatistics> pageList = payWorkingGroupService.queryPageList(page, allProjectStatisticsSearch, null);
|
||||||
HashMap<String, Object> hashMap = new HashMap<>();
|
HashMap<String, Object> hashMap = new HashMap<>();
|
||||||
// double sum=0;
|
|
||||||
// double sumTwo =0;
|
|
||||||
// if(ObjectUtils.isNotEmpty(pageList.getRecords())) {
|
|
||||||
// sum = pageList.getRecords() != null ? pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getAllMoney() == null || t.getAllMoney().equals("") ? "0" : t.getAllMoney())).sum() : 0;
|
|
||||||
// sumTwo = pageList.getRecords() != null ? pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getComeAllMoney() == null || t.getComeAllMoney().equals("") ? "0" : t.getComeAllMoney())).sum() : 0;
|
|
||||||
// }
|
|
||||||
DecimalFormat df = new DecimalFormat("#,##0.00");
|
DecimalFormat df = new DecimalFormat("#,##0.00");
|
||||||
if (pageList.getRecords() != null) {
|
if (pageList.getRecords() != null) {
|
||||||
for (AllProjectStatistics s : pageList.getRecords()) {
|
for (AllProjectStatistics s : pageList.getRecords()) {
|
||||||
@@ -170,13 +140,7 @@ public class AllProjectStatisticsController {
|
|||||||
Page<AllProjectStatistics> page = new Page<>(pageNo, pageSize);
|
Page<AllProjectStatistics> page = new Page<>(pageNo, pageSize);
|
||||||
IPage<AllProjectStatistics> pageList = payWorkingGroupService.queryPageListForProject(page, allProjectStatisticsSearch, idList);
|
IPage<AllProjectStatistics> pageList = payWorkingGroupService.queryPageListForProject(page, allProjectStatisticsSearch, idList);
|
||||||
HashMap<String, Object> hashMap = new HashMap<>();
|
HashMap<String, Object> hashMap = new HashMap<>();
|
||||||
// double sum=0;
|
|
||||||
// double sumTwo =0;
|
|
||||||
// if(ObjectUtils.isNotEmpty(pageList.getRecords())) {
|
|
||||||
// sum = pageList.getRecords() != null ? pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getAllMoney() == null || t.getAllMoney().equals("") ? "0" : t.getAllMoney())).sum() : 0;
|
|
||||||
// sumTwo = pageList.getRecords() != null ? pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getComeAllMoney() == null || t.getComeAllMoney().equals("") ? "0" : t.getComeAllMoney())).sum() : 0;
|
|
||||||
// }
|
|
||||||
// DecimalFormat df = new DecimalFormat("#,##0.00");
|
|
||||||
if (pageList.getRecords() != null) {
|
if (pageList.getRecords() != null) {
|
||||||
for (AllProjectStatistics s : pageList.getRecords()) {
|
for (AllProjectStatistics s : pageList.getRecords()) {
|
||||||
String key = String.valueOf(s.getChargeUse());
|
String key = String.valueOf(s.getChargeUse());
|
||||||
@@ -205,7 +169,6 @@ public class AllProjectStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 所领导统计导出
|
* 所领导统计导出
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("wholeInstituteStatistics:export")
|
@RequiresPermissions("wholeInstituteStatistics:export")
|
||||||
@AutoLog(value = "全所统计导出-导出统计")
|
@AutoLog(value = "全所统计导出-导出统计")
|
||||||
@@ -217,31 +180,6 @@ public class AllProjectStatisticsController {
|
|||||||
if (StringUtils.isBlank(selections)) {
|
if (StringUtils.isBlank(selections)) {
|
||||||
allProjectStatisticsSearch.setProjectName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getProjectName()));
|
allProjectStatisticsSearch.setProjectName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getProjectName()));
|
||||||
allProjectStatisticsSearch.setChargeCompanyTemporaryName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getChargeCompanyTemporaryName()));
|
allProjectStatisticsSearch.setChargeCompanyTemporaryName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getChargeCompanyTemporaryName()));
|
||||||
//根据不同角色加载不同列表的参数
|
|
||||||
// List<String> idList = new ArrayList<>();
|
|
||||||
// //判断登录角色,显示特定工作组内容,判断依据为登录用户的角色和机构编码
|
|
||||||
// LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
||||||
// String roleCode = sysUser.getRoleCode();
|
|
||||||
// List<String> roleCodes = new ArrayList<>(Arrays.asList(roleCode.split(",")));
|
|
||||||
//
|
|
||||||
// //admin
|
|
||||||
// if (roleCodes.contains(constant.ADMIN)) {
|
|
||||||
// idList = null;
|
|
||||||
// //部门负责人
|
|
||||||
// } else if (roleCodes.contains(constant.BMFZR)||roleCodes.contains(constant.SLD)) {
|
|
||||||
// //获取本部门及其所有下部部门所有成员(不包含最开始的部门下级成员)
|
|
||||||
// List<String> allDepartIds = sysBaseAPI.getAllDepartIds(sysUser.getDepartIds(),idList);
|
|
||||||
// //获取本部门成员
|
|
||||||
// idList.addAll((userMapper.selectList(new QueryWrapper<SysUser>().eq("status", 1).eq("del_flag", 0).eq("org_code", sysUser.getOrgCode()))).stream().map(SysUser::getId).collect(Collectors.toList()));
|
|
||||||
//
|
|
||||||
// idList.addAll(allDepartIds);//项目负责人
|
|
||||||
// } else if (roleCodes.contains(constant.XMFZR)) {
|
|
||||||
// String userId = sysUser.getId();
|
|
||||||
// idList.add(userId);
|
|
||||||
// } else {
|
|
||||||
// ArrayList<AllProjectStatistics> objects = new ArrayList<>();
|
|
||||||
// return AmountUtil.exportListXls(objects, AllProjectStatistics.class, "所领导统计");
|
|
||||||
// }
|
|
||||||
if (allProjectStatisticsSearch.getYear() == null || allProjectStatisticsSearch.getYear().equals("")) {
|
if (allProjectStatisticsSearch.getYear() == null || allProjectStatisticsSearch.getYear().equals("")) {
|
||||||
Calendar calendar = Calendar.getInstance();
|
Calendar calendar = Calendar.getInstance();
|
||||||
String year = String.valueOf(calendar.get(Calendar.YEAR));
|
String year = String.valueOf(calendar.get(Calendar.YEAR));
|
||||||
@@ -269,30 +207,6 @@ public class AllProjectStatisticsController {
|
|||||||
ArrayList<String> strings = new ArrayList<>(Arrays.asList(selections.split(",")));
|
ArrayList<String> strings = new ArrayList<>(Arrays.asList(selections.split(",")));
|
||||||
allProjectStatisticsSearch.setProjectName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getProjectName()));
|
allProjectStatisticsSearch.setProjectName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getProjectName()));
|
||||||
allProjectStatisticsSearch.setChargeCompanyTemporaryName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getChargeCompanyTemporaryName()));
|
allProjectStatisticsSearch.setChargeCompanyTemporaryName(oConvertUtils.replaceAllPercent(allProjectStatisticsSearch.getChargeCompanyTemporaryName()));
|
||||||
//根据不同角色加载不同列表的参数
|
|
||||||
// List<String> idList = new ArrayList<>();
|
|
||||||
// //判断登录角色,显示特定工作组内容,判断依据为登录用户的角色和机构编码
|
|
||||||
// LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
||||||
// String roleCode = sysUser.getRoleCode();
|
|
||||||
// List<String> roleCodes = new ArrayList<>(Arrays.asList(roleCode.split(",")));
|
|
||||||
// //admin
|
|
||||||
// if (roleCodes.contains(constant.ADMIN)) {
|
|
||||||
// idList = null;
|
|
||||||
// //部门负责人
|
|
||||||
// } else if (roleCodes.contains(constant.BMFZR)||roleCodes.contains(constant.SLD)) {
|
|
||||||
// //获取本部门及其所有下部部门所有成员(不包含最开始的部门下级成员)
|
|
||||||
// List<String> allDepartIds = sysBaseAPI.getAllDepartIds(sysUser.getDepartIds(),idList);
|
|
||||||
// //获取本部门成员
|
|
||||||
// idList.addAll((userMapper.selectList(new QueryWrapper<SysUser>().eq("status", 1).eq("del_flag", 0).eq("org_code", sysUser.getOrgCode()))).stream().map(SysUser::getId).collect(Collectors.toList()));
|
|
||||||
//
|
|
||||||
// idList.addAll(allDepartIds);//项目负责人
|
|
||||||
// } else if (roleCodes.contains(constant.XMFZR)) {
|
|
||||||
// String userId = sysUser.getId();
|
|
||||||
// idList.add(userId);
|
|
||||||
// } else {
|
|
||||||
// ArrayList<AllProjectStatistics> objects = new ArrayList<>();
|
|
||||||
// return AmountUtil.exportListXls(objects, AllProjectStatistics.class, "所领导统计");
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (allProjectStatisticsSearch.getYear() == null || allProjectStatisticsSearch.getYear().equals("")) {
|
if (allProjectStatisticsSearch.getYear() == null || allProjectStatisticsSearch.getYear().equals("")) {
|
||||||
Calendar calendar = Calendar.getInstance();
|
Calendar calendar = Calendar.getInstance();
|
||||||
@@ -321,7 +235,6 @@ public class AllProjectStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 企业来款统计
|
* 企业来款统计
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("projectPaymentStatistics:export")
|
@RequiresPermissions("projectPaymentStatistics:export")
|
||||||
@AutoLog(value = "项目来款统计-导出统计")
|
@AutoLog(value = "项目来款统计-导出统计")
|
||||||
@@ -374,13 +287,6 @@ public class AllProjectStatisticsController {
|
|||||||
@ApiOperation(value = "通过部门id查所有人员", notes = "通过部门id查所有人员")
|
@ApiOperation(value = "通过部门id查所有人员", notes = "通过部门id查所有人员")
|
||||||
@RequestMapping(value = "/listForUserByOrgCode", method = RequestMethod.GET)
|
@RequestMapping(value = "/listForUserByOrgCode", method = RequestMethod.GET)
|
||||||
public Result<?> listForUserByOrgCode(@RequestParam(name = "departCode", required = true) String departCode) {
|
public Result<?> listForUserByOrgCode(@RequestParam(name = "departCode", required = true) String departCode) {
|
||||||
// QueryWrapper<SysDepart> queryWrapper1 = new QueryWrapper<>();
|
|
||||||
// queryWrapper1.eq("org_code",departCode);
|
|
||||||
// SysDepart one = sysDepartService.getOne(queryWrapper1);
|
|
||||||
// List<SysDepartTreeModel> sysDepartTreeModels =sysBaseAPI.listSonDepartsByDepId(one.getId());
|
|
||||||
// SysDepartModel sysDepartModel = sysBaseAPI.selectAllById(one.getId());
|
|
||||||
// List<String> orgCodes = sysDepartTreeModels.stream().map(s -> s.getOrgCode()).collect(Collectors.toList());
|
|
||||||
// orgCodes.add(sysDepartModel.getOrgCode());
|
|
||||||
QueryWrapper<SysUser> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<SysUser> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("org_code", departCode);
|
queryWrapper.eq("org_code", departCode);
|
||||||
queryWrapper.eq("del_flag", 0);
|
queryWrapper.eq("del_flag", 0);
|
||||||
|
|||||||
-2
@@ -134,7 +134,6 @@ public class CompanyComeMoneyStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 企业来款统计
|
* 企业来款统计
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("companyPaymentStatistics:export")
|
@RequiresPermissions("companyPaymentStatistics:export")
|
||||||
@AutoLog(value = "企业来款统计-导出统计")
|
@AutoLog(value = "企业来款统计-导出统计")
|
||||||
@@ -160,7 +159,6 @@ public class CompanyComeMoneyStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 企业来款统计
|
* 企业来款统计
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@AutoLog(value = "企业来款详情统计-导出统计")
|
@AutoLog(value = "企业来款详情统计-导出统计")
|
||||||
@GetMapping(value = "/excelDetail")
|
@GetMapping(value = "/excelDetail")
|
||||||
|
|||||||
+2
-89
@@ -54,7 +54,6 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
* @param payWorkingGroupSearch 工作组项目
|
* @param payWorkingGroupSearch 工作组项目
|
||||||
* @param pageNo 页数
|
* @param pageNo 页数
|
||||||
* @param pageSize 条数
|
* @param pageSize 条数
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("workingGroupPaymentStatistics:search")
|
@RequiresPermissions("workingGroupPaymentStatistics:search")
|
||||||
@ApiOperation(value = "工作组项目统计-统计分页列表查询", notes = "工作组项目统计-统计分页列表查询")
|
@ApiOperation(value = "工作组项目统计-统计分页列表查询", notes = "工作组项目统计-统计分页列表查询")
|
||||||
@@ -64,28 +63,6 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
|
||||||
payWorkingGroupSearch.setWorkGroup(oConvertUtils.replaceAllPercent(payWorkingGroupSearch.getWorkGroup()));
|
payWorkingGroupSearch.setWorkGroup(oConvertUtils.replaceAllPercent(payWorkingGroupSearch.getWorkGroup()));
|
||||||
Page<PayWorkingGroupStatistics> page = new Page<>(pageNo, pageSize);
|
Page<PayWorkingGroupStatistics> page = new Page<>(pageNo, pageSize);
|
||||||
//根据不同角色加载不同列表的参数
|
|
||||||
// List<String> idList = new ArrayList<>();
|
|
||||||
// //判断登录角色,显示特定内容,判断依据为登录用户的角色和机构编码
|
|
||||||
// LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
||||||
// String roleCode = sysUser.getRoleCode();
|
|
||||||
// List<String> roleCodes = new ArrayList<>(Arrays.asList(roleCode.split(",")));
|
|
||||||
// //admin
|
|
||||||
// if (roleCodes.contains(constant.ADMIN)) {
|
|
||||||
// idList = null;
|
|
||||||
// //部门负责人
|
|
||||||
// } else if (roleCodes.contains(constant.BMFZR)||roleCodes.contains(constant.SLD)) {
|
|
||||||
// List<String> allDepartIds = sysBaseAPI.getAllDepartIds(sysUser.getDepartIds(),idList);
|
|
||||||
// //获取本部门成员
|
|
||||||
// idList.addAll((userMapper.selectList(new QueryWrapper<SysUser>().eq("status", 1).eq("del_flag", 0).eq("org_code", sysUser.getOrgCode()))).stream().map(SysUser::getId).collect(Collectors.toList()));
|
|
||||||
//
|
|
||||||
// idList.addAll(allDepartIds);//项目负责人
|
|
||||||
// } else if (roleCodes.contains(constant.XMFZR)) {
|
|
||||||
// String userId = sysUser.getId();
|
|
||||||
// idList.add(userId);
|
|
||||||
// } else {
|
|
||||||
// return Result.OK();
|
|
||||||
// }
|
|
||||||
|
|
||||||
IPage<PayWorkingGroupStatistics> pageList = payWorkingGroupService.queryPageListForStatistics(page, payWorkingGroupSearch, null);
|
IPage<PayWorkingGroupStatistics> pageList = payWorkingGroupService.queryPageListForStatistics(page, payWorkingGroupSearch, null);
|
||||||
List<PayWorkingGroupStatistics> records = pageList.getRecords();
|
List<PayWorkingGroupStatistics> records = pageList.getRecords();
|
||||||
@@ -96,14 +73,6 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
}
|
}
|
||||||
AllMoney allMoney = payWorkingGroupService.queryPageListForStatistics33(payWorkingGroupSearch, null);
|
AllMoney allMoney = payWorkingGroupService.queryPageListForStatistics33(payWorkingGroupSearch, null);
|
||||||
|
|
||||||
// //计算应收和实收总金额
|
|
||||||
// double sum=0;
|
|
||||||
// double sumTwo =0;
|
|
||||||
// if(ObjectUtils.isNotEmpty(pageList.getRecords())) {
|
|
||||||
// sum = records.stream().mapToDouble(t -> Double.parseDouble(t.getAllMoney() == null || t.getAllMoney().equals("") ? "0.00" : t.getAllMoney())).sum();
|
|
||||||
// sumTwo = records.stream().mapToDouble(t -> Double.parseDouble(t.getComeAllMoney() == null || t.getComeAllMoney().equals("") ? "0.00" : t.getComeAllMoney())).sum();
|
|
||||||
// }
|
|
||||||
// DecimalFormat df = new DecimalFormat("#,##0.00");
|
|
||||||
//处理为空数据为0
|
//处理为空数据为0
|
||||||
for (PayWorkingGroupStatistics s : pageList.getRecords()) {
|
for (PayWorkingGroupStatistics s : pageList.getRecords()) {
|
||||||
if (s.getAllMoney() == null || s.getAllMoney().equals("")) {
|
if (s.getAllMoney() == null || s.getAllMoney().equals("")) {
|
||||||
@@ -126,7 +95,6 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 工作组项目统计-统计导出excel
|
* 工作组项目统计-统计导出excel
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("workingGroupPaymentStatistics:export")
|
@RequiresPermissions("workingGroupPaymentStatistics:export")
|
||||||
@AutoLog(value = "工作组项目统计-统计导出excel")
|
@AutoLog(value = "工作组项目统计-统计导出excel")
|
||||||
@@ -135,30 +103,7 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
public ModelAndView exportXls2(PayWorkingGroupSearch payWorkingGroupSearch, @RequestParam(name = "selections", required = false) String selections) {
|
public ModelAndView exportXls2(PayWorkingGroupSearch payWorkingGroupSearch, @RequestParam(name = "selections", required = false) String selections) {
|
||||||
if (StringUtils.isBlank(selections)) {
|
if (StringUtils.isBlank(selections)) {
|
||||||
payWorkingGroupSearch.setWorkGroup(oConvertUtils.replaceAllPercent(payWorkingGroupSearch.getWorkGroup()));
|
payWorkingGroupSearch.setWorkGroup(oConvertUtils.replaceAllPercent(payWorkingGroupSearch.getWorkGroup()));
|
||||||
// //根据不同角色加载不同列表的参数
|
|
||||||
// List<String> idList = new ArrayList<>();
|
|
||||||
// //判断登录角色,显示特定内容,判断依据为登录用户的角色和机构编码
|
|
||||||
// LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
||||||
// String roleCode = sysUser.getRoleCode();
|
|
||||||
// List<String> roleCodes = new ArrayList<>(Arrays.asList(roleCode.split(",")));
|
|
||||||
// //admin
|
|
||||||
// if (roleCodes.contains(constant.ADMIN)) {
|
|
||||||
// idList = null;
|
|
||||||
// //部门负责人
|
|
||||||
// } else if (roleCodes.contains(constant.BMFZR)||roleCodes.contains(constant.SLD)) {
|
|
||||||
// //获取本部门及其所有下部部门所有成员(不包含最开始的部门下级成员)
|
|
||||||
// List<String> allDepartIds = sysBaseAPI.getAllDepartIds(sysUser.getDepartIds(),idList);
|
|
||||||
// //获取本部门成员
|
|
||||||
// idList.addAll((userMapper.selectList(new QueryWrapper<SysUser>().eq("status", 1).eq("del_flag", 0).eq("org_code", sysUser.getOrgCode()))).stream().map(SysUser::getId).collect(Collectors.toList()));
|
|
||||||
//
|
|
||||||
// idList.addAll(allDepartIds);//项目负责人
|
|
||||||
// } else if (roleCodes.contains(constant.XMFZR)) {
|
|
||||||
// String userId = sysUser.getId();
|
|
||||||
// idList.add(userId);
|
|
||||||
// } else {
|
|
||||||
// ArrayList<PayWorkingGroupStatistics> objects = new ArrayList<>();
|
|
||||||
// return AmountUtil.exportListXls(objects, PayWorkingGroupStatistics.class, "工作组项目统计");
|
|
||||||
// }
|
|
||||||
List<PayWorkingGroupStatistics> pageList = payWorkingGroupService.queryPageListForStatisticsExcel(payWorkingGroupSearch, null);
|
List<PayWorkingGroupStatistics> pageList = payWorkingGroupService.queryPageListForStatisticsExcel(payWorkingGroupSearch, null);
|
||||||
//处理为空数据为0
|
//处理为空数据为0
|
||||||
for (PayWorkingGroupStatistics s : pageList) {
|
for (PayWorkingGroupStatistics s : pageList) {
|
||||||
@@ -176,30 +121,6 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
} else {
|
} else {
|
||||||
ArrayList<String> strings = new ArrayList<>(Arrays.asList(selections.split(",")));
|
ArrayList<String> strings = new ArrayList<>(Arrays.asList(selections.split(",")));
|
||||||
payWorkingGroupSearch.setWorkGroup(oConvertUtils.replaceAllPercent(payWorkingGroupSearch.getWorkGroup()));
|
payWorkingGroupSearch.setWorkGroup(oConvertUtils.replaceAllPercent(payWorkingGroupSearch.getWorkGroup()));
|
||||||
// //根据不同角色加载不同列表的参数
|
|
||||||
// List<String> idList = new ArrayList<>();
|
|
||||||
// //判断登录角色,显示特定内容,判断依据为登录用户的角色和机构编码
|
|
||||||
// LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
||||||
// String roleCode = sysUser.getRoleCode();
|
|
||||||
// List<String> roleCodes = new ArrayList<>(Arrays.asList(roleCode.split(",")));
|
|
||||||
// //admin
|
|
||||||
// if (roleCodes.contains(constant.ADMIN)) {
|
|
||||||
// idList = null;
|
|
||||||
// //部门负责人
|
|
||||||
// } else if (roleCodes.contains(constant.BMFZR)||roleCodes.contains(constant.SLD)) {
|
|
||||||
// //获取本部门及其所有下部部门所有成员(不包含最开始的部门下级成员)
|
|
||||||
// List<String> allDepartIds = sysBaseAPI.getAllDepartIds(sysUser.getDepartIds(),idList);
|
|
||||||
// //获取本部门成员
|
|
||||||
// idList.addAll((userMapper.selectList(new QueryWrapper<SysUser>().eq("status", 1).eq("del_flag", 0).eq("org_code", sysUser.getOrgCode()))).stream().map(SysUser::getId).collect(Collectors.toList()));
|
|
||||||
//
|
|
||||||
// idList.addAll(allDepartIds);//项目负责人
|
|
||||||
// } else if (roleCodes.contains(constant.XMFZR)) {
|
|
||||||
// String userId = sysUser.getId();
|
|
||||||
// idList.add(userId);
|
|
||||||
// } else {
|
|
||||||
// ArrayList<PayWorkingGroupStatistics> objects = new ArrayList<>();
|
|
||||||
// return AmountUtil.exportListXls(objects, PayWorkingGroupStatistics.class, "工作组项目统计");
|
|
||||||
// }
|
|
||||||
|
|
||||||
List<PayWorkingGroupStatistics> pageList = payWorkingGroupService.queryPageListForStatisticsExcel(payWorkingGroupSearch, null, strings);
|
List<PayWorkingGroupStatistics> pageList = payWorkingGroupService.queryPageListForStatisticsExcel(payWorkingGroupSearch, null, strings);
|
||||||
//处理为空数据为0
|
//处理为空数据为0
|
||||||
@@ -219,14 +140,12 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 工作组成员统计-详情分页列表查询(传工作组id)
|
* 工作组成员统计-详情分页列表查询(传工作组id)
|
||||||
*
|
*
|
||||||
* @param payWorkingGroupSubletSearch 工作组成员统计搜索
|
* @param payWorkingGroupSubletSearch 工作组成员统计搜索
|
||||||
* @param pageNo 页数
|
* @param pageNo 页数
|
||||||
* @param pageSize 条数
|
* @param pageSize 条数
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("workingGroupPaymentStatistics:detail")
|
@RequiresPermissions("workingGroupPaymentStatistics:detail")
|
||||||
@ApiOperation(value = "工作组成员统计-详情分页列表查询(传工作组id)", notes = "工作组成员统计-详情分页列表查询(传工作组id)")
|
@ApiOperation(value = "工作组成员统计-详情分页列表查询(传工作组id)", notes = "工作组成员统计-详情分页列表查询(传工作组id)")
|
||||||
@@ -241,12 +160,6 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
IPage<PayWorkGroupSubletStatistics> pageList = payWorkingGroupSubItemService.queryPageList2(page, payWorkingGroupSubletSearch, id);
|
IPage<PayWorkGroupSubletStatistics> pageList = payWorkingGroupSubItemService.queryPageList2(page, payWorkingGroupSubletSearch, id);
|
||||||
AllMoney allMoney = payWorkingGroupSubItemService.queryPageList233(payWorkingGroupSubletSearch, id);
|
AllMoney allMoney = payWorkingGroupSubItemService.queryPageList233(payWorkingGroupSubletSearch, id);
|
||||||
|
|
||||||
// double sum=0;
|
|
||||||
// double sumTwo =0;
|
|
||||||
// if(ObjectUtils.isNotEmpty(pageList.getRecords())) {
|
|
||||||
// sum = pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getAllMoney() == null || t.getAllMoney().equals("") ? "0.0" : t.getAllMoney())).sum();
|
|
||||||
// sumTwo = pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getComeAllMoney() == null || t.getComeAllMoney().equals("") ? "0.0" : t.getComeAllMoney())).sum();
|
|
||||||
// }
|
|
||||||
HashMap<String, Object> hashMap = new HashMap<>();
|
HashMap<String, Object> hashMap = new HashMap<>();
|
||||||
DecimalFormat df = new DecimalFormat("#,##0.00");
|
DecimalFormat df = new DecimalFormat("#,##0.00");
|
||||||
// 转义来款用途
|
// 转义来款用途
|
||||||
@@ -271,8 +184,8 @@ public class PayWorkingGroupStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 导出
|
* 导出
|
||||||
* @param id
|
|
||||||
*
|
*
|
||||||
|
* @param id
|
||||||
*/
|
*/
|
||||||
@AutoLog(value = "工作组成员统计-导出统计(传工作组id)")
|
@AutoLog(value = "工作组成员统计-导出统计(传工作组id)")
|
||||||
@GetMapping(value = "/excelSub")
|
@GetMapping(value = "/excelSub")
|
||||||
|
|||||||
-9
@@ -141,13 +141,6 @@ public class PrincipalPeopleStatisticsController {
|
|||||||
IPage<PrincipalPeopleDetail> pageList = payWorkingGroupService.queryPageListForPrincipalDetail(page, principalPeopleDetailSearch);
|
IPage<PrincipalPeopleDetail> pageList = payWorkingGroupService.queryPageListForPrincipalDetail(page, principalPeopleDetailSearch);
|
||||||
AllMoney allMoney = payWorkingGroupService.queryPageListForPrincipalDetail33(principalPeopleDetailSearch);
|
AllMoney allMoney = payWorkingGroupService.queryPageListForPrincipalDetail33(principalPeopleDetailSearch);
|
||||||
HashMap<String, Object> hashMap = new HashMap<>();
|
HashMap<String, Object> hashMap = new HashMap<>();
|
||||||
// double sum=0;
|
|
||||||
// double sumTwo =0;
|
|
||||||
// if(ObjectUtils.isNotEmpty(pageList.getRecords())) {
|
|
||||||
// sum = pageList.getRecords() != null ? pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getAllMoney() == null || t.getAllMoney().equals("") ? "0" : t.getAllMoney())).sum() : 0;
|
|
||||||
// sumTwo = pageList.getRecords() != null ? pageList.getRecords().stream().mapToDouble(t -> Double.parseDouble(t.getComeAllMoney() == null || t.getComeAllMoney().equals("") ? "0" : t.getComeAllMoney())).sum() : 0;
|
|
||||||
// }
|
|
||||||
// DecimalFormat df = new DecimalFormat("#,##0.00");
|
|
||||||
for (PrincipalPeopleDetail s : pageList.getRecords()) {
|
for (PrincipalPeopleDetail s : pageList.getRecords()) {
|
||||||
String key = String.valueOf(s.getChargeUse());
|
String key = String.valueOf(s.getChargeUse());
|
||||||
String payment_charge_use = sysBaseAPI.translateDict("payment_charge_use", key);
|
String payment_charge_use = sysBaseAPI.translateDict("payment_charge_use", key);
|
||||||
@@ -172,7 +165,6 @@ public class PrincipalPeopleStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 个人来款统计导出
|
* 个人来款统计导出
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("individualPaymentStatistics:export")
|
@RequiresPermissions("individualPaymentStatistics:export")
|
||||||
@AutoLog(value = "个人来款统计导出-导出统计")
|
@AutoLog(value = "个人来款统计导出-导出统计")
|
||||||
@@ -229,7 +221,6 @@ public class PrincipalPeopleStatisticsController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 个人来款统详情计导出
|
* 个人来款统详情计导出
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
@AutoLog(value = "个人来款统详情计导出-导出统计")
|
@AutoLog(value = "个人来款统详情计导出-导出统计")
|
||||||
@GetMapping(value = "/excelDetail")
|
@GetMapping(value = "/excelDetail")
|
||||||
|
|||||||
@@ -10,4 +10,6 @@ public class AllMoney {
|
|||||||
private String allMoney;
|
private String allMoney;
|
||||||
|
|
||||||
private String comeAllMoney;
|
private String comeAllMoney;
|
||||||
|
|
||||||
|
private String billMoney;
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -30,6 +30,10 @@ public class AllProjectStatistics {
|
|||||||
@ApiModelProperty(value = "实收总金额")
|
@ApiModelProperty(value = "实收总金额")
|
||||||
private String comeAllMoney;
|
private String comeAllMoney;
|
||||||
|
|
||||||
|
@Excel(name = "开票金额", width = 15)
|
||||||
|
@ApiModelProperty(value = "开票金额")
|
||||||
|
private String billMoney;
|
||||||
|
|
||||||
@ApiModelProperty(value = "来款用途编码")
|
@ApiModelProperty(value = "来款用途编码")
|
||||||
private String chargeUse;
|
private String chargeUse;
|
||||||
|
|
||||||
|
|||||||
+7
@@ -45,5 +45,12 @@ public class AllProjectStatisticsSearch {
|
|||||||
@ApiModelProperty(value = "部门编码")
|
@ApiModelProperty(value = "部门编码")
|
||||||
private String departCode;
|
private String departCode;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "开票年份")
|
||||||
|
private String billYear;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "字段")
|
||||||
|
private String column;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序规则")
|
||||||
|
private String order;
|
||||||
}
|
}
|
||||||
|
|||||||
+9
@@ -37,4 +37,13 @@ public class CompanyComeMoneyDetailSearch {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "应收总金额范围")
|
@ApiModelProperty(value = "应收总金额范围")
|
||||||
private String allMoneyTwo;
|
private String allMoneyTwo;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "开票年份")
|
||||||
|
private String billYear;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "字段")
|
||||||
|
private String column;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序规则")
|
||||||
|
private String order;
|
||||||
}
|
}
|
||||||
|
|||||||
+9
@@ -29,4 +29,13 @@ public class CompanyComeMoneySearch {
|
|||||||
@ApiModelProperty(value = "应收总金额范围")
|
@ApiModelProperty(value = "应收总金额范围")
|
||||||
private String allMoneyTwo;
|
private String allMoneyTwo;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "开票年份")
|
||||||
|
private String billYear;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "字段")
|
||||||
|
private String column;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序规则")
|
||||||
|
private String order;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+9
@@ -38,4 +38,13 @@ public class PrincipalPeopleDetailSearch {
|
|||||||
@ApiModelProperty(value = "应收总金额范围")
|
@ApiModelProperty(value = "应收总金额范围")
|
||||||
private String allMoneyTwo;
|
private String allMoneyTwo;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "开票年份")
|
||||||
|
private String billYear;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "字段")
|
||||||
|
private String column;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序规则")
|
||||||
|
private String order;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+9
@@ -25,4 +25,13 @@ public class PrincipalPeopleSearch {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "部门编码")
|
@ApiModelProperty(value = "部门编码")
|
||||||
private String departCode;
|
private String departCode;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "开票年份")
|
||||||
|
private String billYear;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "字段")
|
||||||
|
private String column;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序规则")
|
||||||
|
private String order;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user