大屏安全监管检测响应类修改

dongdingding
董丁丁 2 years ago
parent 72ceb070a8
commit 3189f7c161

@ -16,12 +16,12 @@ public class ZongzhiDengbaoUnitResponse {
*
*/
@ApiModelProperty(value = "等保单位名称")
private String name1;
private String name;
/**
*
*/
@ApiModelProperty(value = "等保单位数量")
private int count1;
private int count;
}

@ -16,12 +16,12 @@ public class ZongzhiIdcResponse {
* IDC
*/
@ApiModelProperty(value = "IDC单位名称")
private String name3;
private String name;
/**
* IDC
*/
@ApiModelProperty(value = "IDC单位数量")
private int count3;
private int count;
}

@ -17,7 +17,7 @@ public class ZongzhiWorkDynamicsResponse {
@ApiModelProperty(value = "材料文件名称")
private String materialsName;
private String name;
}

@ -15,12 +15,12 @@ public class ZongzhiZhengfuResponse {
*
*/
@ApiModelProperty(value = "政府网站名称")
private String name2;
private String name;
/**
*
*/
@ApiModelProperty(value = "政府网站数量")
private int count2;
private int count;
}

@ -6,7 +6,7 @@
<select id="getWorkDynamics" resultType="com.ruoyi.screen.domain.response.ZongzhiWorkDynamicsResponse">
SELECT type, materials_name as materialsName
SELECT type, name
FROM `tc_work_dongtai`
GROUP BY type, materialsName
</select>

@ -45,15 +45,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select count(*) as count,'等保系统' as name from tc_dengbao_system
</select>
<select id="getDengbaoUnit" resultType="com.ruoyi.screen.domain.response.ZongzhiDengbaoUnitResponse">
select count(*) as count1, '等保单位' as name1
select count(*) as count, '等保单位' as name
from tc_dengbao_unit
</select>
<select id="getZhengfu" resultType="com.ruoyi.screen.domain.response.ZongzhiZhengfuResponse">
select count(*) as count2, '政府网站' as name2
select count(*) as count, '政府网站' as name
from tc_government_web
</select>
<select id="getIdc" resultType="com.ruoyi.screen.domain.response.ZongzhiIdcResponse">
select count(*) as count3, 'IDC单位' as name3
select count(*) as count, 'IDC单位' as name
from tc_idc_unit
</select>
</mapper>
Loading…
Cancel
Save