信用修复统计区分线上线下

This commit is contained in:
廖成初 2026-01-04 01:42:40 +08:00
parent 61827497ce
commit a9119ee107
3 changed files with 41 additions and 3 deletions

View File

@ -26,6 +26,16 @@ public class ComprehensiveStat implements Serializable {
*/
private int abnycnum;
/**
* 列异移出线上申请
*/
private int abnycnumon;
/**
* 列异移出线下申请
*/
private int abnycnumoff;
/**
* 列异异议
*/
@ -46,6 +56,16 @@ public class ComprehensiveStat implements Serializable {
*/
private int legycnum;
/**
* 严重违法失信移出线上申请
*/
private int legycnumon;
/**
* 严重违法失信移出线下申请
*/
private int legycnumoff;
/**
* 年报公示信息异议反馈
*/

View File

@ -206,6 +206,12 @@ public class TSTaskList extends Model<TSTaskList> {
@TableField("IS_SMART_PROCESSING")
private String isSmartProcessing;
/**
* 数据来源0或null系统生成的数据线下申请1年报系统线上申请
*/
@TableField("ORIGIN")
private String origin;
/**
* 主体类型
*/

View File

@ -579,36 +579,48 @@
<if test="customParamMap.bustype == 'abnormal' ">
sum(abnlrnum) as abnlrnum,
sum(abnycnum) as abnycnum,
sum(abnycnumon) as abnycnumon,
sum(abnycnumoff) as abnycnumoff,
sum(abnyynum) as abnyynum
</if>
<if test="customParamMap.bustype == 'illegal' ">
sum(leglrnum) as leglrnum,
sum(legyynum) as legyynum,
sum(legycnum) as legycnum
sum(legycnum) as legycnum,
sum(legycnumon) as legycnumon,
sum(legycnumoff) as legycnumoff
</if>
from (
select rs2.orgn, rs2.orgunitname,
<if test="customParamMap.bustype == 'abnormal' ">
rs1.abnlrnum,
rs1.abnycnum,
rs1.abnycnumon,
rs1.abnycnumoff,
rs1.abnyynum
</if>
<if test="customParamMap.bustype == 'illegal' ">
rs1.leglrnum,
rs1.legyynum,
rs1.legycnum
rs1.legycnum,
rs1.legycnumon,
rs1.legycnumoff
</if>
from (
select SIGNUSERID,
<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 ('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
</if>
<if test="customParamMap.bustype == 'illegal' ">
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='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>
from
(select BIZSEQID,BUSTYPE,max(SIGNUSERID) SIGNUSERID from aiccs.tstasklist where BUSSTATUS !=4