字段名修改

This commit is contained in:
dinggang 2022-10-13 11:32:29 +08:00
parent 4f37523519
commit 2467da9106
4 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,3 @@
ALTER TABLE `tb_fuse` ADD COLUMN `infrastructure_count` int NULL DEFAULT 0 COMMENT '基础设施数量'; ALTER TABLE `tb_fuse` ADD COLUMN `infrastructure_count` int NULL DEFAULT 0 COMMENT '基础设施数量';
ALTER TABLE `tb_fuse` ADD COLUMN `dataSource_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 '组件服务数量'; ALTER TABLE `tb_fuse` ADD COLUMN `component_count` int NULL DEFAULT 0 COMMENT '组件服务数量';

View File

@ -1,3 +1,3 @@
ALTER TABLE `tb_fuse` ADD COLUMN `infrastructure_count` int NULL DEFAULT 0 COMMENT '基础设施数量'; ALTER TABLE `tb_fuse` ADD COLUMN `infrastructure_count` int NULL DEFAULT 0 COMMENT '基础设施数量';
ALTER TABLE `tb_fuse` ADD COLUMN `dataSource_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 '组件服务数量'; ALTER TABLE `tb_fuse` ADD COLUMN `component_count` int NULL DEFAULT 0 COMMENT '组件服务数量';

View File

@ -17,7 +17,7 @@
<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="infrastructureCount" column="infrastructure_count"/>
<result property="dataSourceCount" column="dataSource_count"/> <result property="dataSourceCount" column="data_source_count"/>
<result property="componentCount" column="component_count"/> <result property="componentCount" column="component_count"/>
</resultMap> </resultMap>

View File

@ -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>