Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
9fdda47fcc
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE `tb_fuse` ADD COLUMN `infrastructure_count` int NULL DEFAULT 0 COMMENT '基础设施数量';
|
||||||
|
ALTER TABLE `tb_fuse` ADD COLUMN `data_source_count` int NULL DEFAULT 0 COMMENT '数据资源数量';
|
||||||
|
ALTER TABLE `tb_fuse` ADD COLUMN `component_count` int NULL DEFAULT 0 COMMENT '组件服务数量';
|
|
@ -51,4 +51,13 @@ public class TbFuseDTO {
|
||||||
private List<TbFuseResourceDTO> fuseResourceList;
|
private List<TbFuseResourceDTO> fuseResourceList;
|
||||||
@ApiModelProperty(value = "融合资源属性")
|
@ApiModelProperty(value = "融合资源属性")
|
||||||
private List<TbFuseAttrDTO> fuseAttrList;
|
private List<TbFuseAttrDTO> fuseAttrList;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "基础设施数量")
|
||||||
|
private Integer infrastructureCount;
|
||||||
|
@ApiModelProperty(value = "数据资源数量")
|
||||||
|
private Integer dataSourceCount;
|
||||||
|
@ApiModelProperty(value = "组件服务数量")
|
||||||
|
private Integer componentCount;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,4 +75,8 @@ public class TbFuseEntity extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||||
private Date updateDate;
|
private Date updateDate;
|
||||||
|
|
||||||
|
private Integer infrastructureCount;
|
||||||
|
private Integer dataSourceCount;
|
||||||
|
private Integer componentCount;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE `tb_fuse` ADD COLUMN `infrastructure_count` int NULL DEFAULT 0 COMMENT '基础设施数量';
|
||||||
|
ALTER TABLE `tb_fuse` ADD COLUMN `data_source_count` int NULL DEFAULT 0 COMMENT '数据资源数量';
|
||||||
|
ALTER TABLE `tb_fuse` ADD COLUMN `component_count` int NULL DEFAULT 0 COMMENT '组件服务数量';
|
|
@ -9,18 +9,16 @@
|
||||||
<result property="description" column="description"/>
|
<result property="description" column="description"/>
|
||||||
<result property="applicationArea" column="application_area"/>
|
<result property="applicationArea" column="application_area"/>
|
||||||
<result property="deptId" column="dept_id"/>
|
<result property="deptId" column="dept_id"/>
|
||||||
<result property="deptUser" column="dept_user"/>
|
|
||||||
<result property="mobile" column="mobile"/>
|
|
||||||
<result property="sceneUrl" column="scene_url"/>
|
<result property="sceneUrl" column="scene_url"/>
|
||||||
<result property="provider" column="provider"/>
|
|
||||||
<result property="providerUser" column="provider_user"/>
|
|
||||||
<result property="providerMobile" column="provider_mobile"/>
|
|
||||||
<result property="creator" column="creator"/>
|
<result property="creator" column="creator"/>
|
||||||
<result property="createDate" column="create_date"/>
|
<result property="createDate" column="create_date"/>
|
||||||
<result property="updater" column="updater"/>
|
<result property="updater" column="updater"/>
|
||||||
<result property="updateDate" column="update_date"/>
|
<result property="updateDate" column="update_date"/>
|
||||||
<result property="isCollect" column="isCollect"/>
|
<result property="isCollect" column="isCollect"/>
|
||||||
<result property="collectCount" column="collectCount"/>
|
<result property="collectCount" column="collectCount"/>
|
||||||
|
<result property="infrastructureCount" column="infrastructure_count"/>
|
||||||
|
<result property="dataSourceCount" column="data_source_count"/>
|
||||||
|
<result property="componentCount" column="component_count"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<select id="getFuseDTOList" resultMap="fuseDTO">
|
<select id="getFuseDTOList" resultMap="fuseDTO">
|
||||||
|
|
|
@ -119,6 +119,13 @@
|
||||||
AND su.dept_id != ''
|
AND su.dept_id != ''
|
||||||
AND su.dept_id IS NOT NULL
|
AND su.dept_id IS NOT NULL
|
||||||
GROUP BY tda.attr_value
|
GROUP BY tda.attr_value
|
||||||
|
|
||||||
|
UNION
|
||||||
|
SELECT
|
||||||
|
'会议室' AS 'type',
|
||||||
|
COUNT( id ) AS 'amount'
|
||||||
|
FROM
|
||||||
|
t_meetingroom_book tmb
|
||||||
) temp2
|
) temp2
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
@ -722,10 +722,11 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectDeptCount" resultType="java.lang.Integer">
|
<select id="selectDeptCount" resultType="java.lang.Integer">
|
||||||
SELECT
|
<!-- SELECT
|
||||||
COUNT( 1 )
|
COUNT( 1 )
|
||||||
FROM
|
FROM
|
||||||
( SELECT DISTINCT dept_id FROM tb_data_resource WHERE 1 = 1 AND del_flag = 0 AND dept_id IS NOT NULL ) temp
|
( SELECT DISTINCT dept_id FROM tb_data_resource WHERE 1 = 1 AND del_flag = 0 AND dept_id IS NOT NULL ) temp -->
|
||||||
|
SELECT COUNT(id) FROM sys_dept WHERE name != '访客部门'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectDeptTypeCount" resultType="java.util.Map">
|
<select id="selectDeptTypeCount" resultType="java.util.Map">
|
||||||
|
|
Loading…
Reference in New Issue