信用修复统计区分线上线下
This commit is contained in:
parent
61827497ce
commit
a9119ee107
|
|
@ -26,6 +26,16 @@ public class ComprehensiveStat implements Serializable {
|
||||||
*/
|
*/
|
||||||
private int abnycnum;
|
private int abnycnum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 列异移出(线上申请)
|
||||||
|
*/
|
||||||
|
private int abnycnumon;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 列异移出(线下申请)
|
||||||
|
*/
|
||||||
|
private int abnycnumoff;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 列异异议
|
* 列异异议
|
||||||
*/
|
*/
|
||||||
|
|
@ -46,6 +56,16 @@ public class ComprehensiveStat implements Serializable {
|
||||||
*/
|
*/
|
||||||
private int legycnum;
|
private int legycnum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 严重违法失信移出(线上申请)
|
||||||
|
*/
|
||||||
|
private int legycnumon;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 严重违法失信移出(线下申请)
|
||||||
|
*/
|
||||||
|
private int legycnumoff;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 年报公示信息异议反馈
|
* 年报公示信息异议反馈
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,12 @@ public class TSTaskList extends Model<TSTaskList> {
|
||||||
@TableField("IS_SMART_PROCESSING")
|
@TableField("IS_SMART_PROCESSING")
|
||||||
private String isSmartProcessing;
|
private String isSmartProcessing;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数据来源,0或null:系统生成的数据(线下申请),1:年报系统(线上申请)
|
||||||
|
*/
|
||||||
|
@TableField("ORIGIN")
|
||||||
|
private String origin;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 主体类型
|
* 主体类型
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -579,36 +579,48 @@
|
||||||
<if test="customParamMap.bustype == 'abnormal' ">
|
<if test="customParamMap.bustype == 'abnormal' ">
|
||||||
sum(abnlrnum) as abnlrnum,
|
sum(abnlrnum) as abnlrnum,
|
||||||
sum(abnycnum) as abnycnum,
|
sum(abnycnum) as abnycnum,
|
||||||
|
sum(abnycnumon) as abnycnumon,
|
||||||
|
sum(abnycnumoff) as abnycnumoff,
|
||||||
sum(abnyynum) as abnyynum
|
sum(abnyynum) as abnyynum
|
||||||
</if>
|
</if>
|
||||||
<if test="customParamMap.bustype == 'illegal' ">
|
<if test="customParamMap.bustype == 'illegal' ">
|
||||||
sum(leglrnum) as leglrnum,
|
sum(leglrnum) as leglrnum,
|
||||||
sum(legyynum) as legyynum,
|
sum(legyynum) as legyynum,
|
||||||
sum(legycnum) as legycnum
|
sum(legycnum) as legycnum,
|
||||||
|
sum(legycnumon) as legycnumon,
|
||||||
|
sum(legycnumoff) as legycnumoff
|
||||||
</if>
|
</if>
|
||||||
from (
|
from (
|
||||||
select rs2.orgn, rs2.orgunitname,
|
select rs2.orgn, rs2.orgunitname,
|
||||||
<if test="customParamMap.bustype == 'abnormal' ">
|
<if test="customParamMap.bustype == 'abnormal' ">
|
||||||
rs1.abnlrnum,
|
rs1.abnlrnum,
|
||||||
rs1.abnycnum,
|
rs1.abnycnum,
|
||||||
|
rs1.abnycnumon,
|
||||||
|
rs1.abnycnumoff,
|
||||||
rs1.abnyynum
|
rs1.abnyynum
|
||||||
</if>
|
</if>
|
||||||
<if test="customParamMap.bustype == 'illegal' ">
|
<if test="customParamMap.bustype == 'illegal' ">
|
||||||
rs1.leglrnum,
|
rs1.leglrnum,
|
||||||
rs1.legyynum,
|
rs1.legyynum,
|
||||||
rs1.legycnum
|
rs1.legycnum,
|
||||||
|
rs1.legycnumon,
|
||||||
|
rs1.legycnumoff
|
||||||
</if>
|
</if>
|
||||||
from (
|
from (
|
||||||
select SIGNUSERID,
|
select SIGNUSERID,
|
||||||
<if test="customParamMap.bustype == 'abnormal' ">
|
<if test="customParamMap.bustype == 'abnormal' ">
|
||||||
count(case when bustype in ('5','13','11') then 1 else null end) as abnlrnum,
|
count(case when bustype in ('5','13','11') then 1 else null end) as abnlrnum,
|
||||||
count(case when bustype in ('7','14','12') then 1 else null end) as abnycnum,
|
count(case when bustype in ('7','14','12') then 1 else null end) as abnycnum,
|
||||||
|
count(case when bustype in ('7','14','12') and origin='1' then 1 else null end) as abnycnumon,
|
||||||
|
count(case when bustype in ('7','14','12') and (origin is null or origin!='1') then 1 else null end) as abnycnumoff,
|
||||||
count(case when bustype='6' then 1 else null end) as abnyynum
|
count(case when bustype='6' then 1 else null end) as abnyynum
|
||||||
</if>
|
</if>
|
||||||
<if test="customParamMap.bustype == 'illegal' ">
|
<if test="customParamMap.bustype == 'illegal' ">
|
||||||
count(case when bustype='15' then 1 else null end) as leglrnum,
|
count(case when bustype='15' then 1 else null end) as leglrnum,
|
||||||
count(case when bustype='16' then 1 else null end) as legyynum,
|
count(case when bustype='16' then 1 else null end) as legyynum,
|
||||||
count(case when bustype='17' then 1 else null end) as legycnum
|
count(case when bustype='17' then 1 else null end) as legycnum,
|
||||||
|
count(case when bustype='17' and origin='1' then 1 else null end) as legycnumon,
|
||||||
|
count(case when bustype='17' and (origin is null or origin!='1') then 1 else null end) as legycnumoff
|
||||||
</if>
|
</if>
|
||||||
from
|
from
|
||||||
(select BIZSEQID,BUSTYPE,max(SIGNUSERID) SIGNUSERID from aiccs.tstasklist where BUSSTATUS !=4
|
(select BIZSEQID,BUSTYPE,max(SIGNUSERID) SIGNUSERID from aiccs.tstasklist where BUSSTATUS !=4
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue