diff --git a/data-center-business-controller/src/main/resources/db/migration/V99__salesforce_alias.sql b/data-center-business-controller/src/main/resources/db/migration/V99__salesforce_alias.sql new file mode 100644 index 0000000..9536e99 --- /dev/null +++ b/data-center-business-controller/src/main/resources/db/migration/V99__salesforce_alias.sql @@ -0,0 +1 @@ +ALTER TABLE basic_salesforce ADD `alias` varchar(255) DEFAULT NULL COMMENT '别名' after `building_id`; \ No newline at end of file diff --git a/data-center-business-dao/src/main/resources/mappers/auto/BasicAssetClassBigMapper.xml b/data-center-business-dao/src/main/resources/mappers/auto/BasicAssetClassBigMapper.xml index 4a81346..6eb9d7b 100644 --- a/data-center-business-dao/src/main/resources/mappers/auto/BasicAssetClassBigMapper.xml +++ b/data-center-business-dao/src/main/resources/mappers/auto/BasicAssetClassBigMapper.xml @@ -21,6 +21,7 @@ + - thumbnail_normal_base64, thumbnail_alarm_base64, thumbnail_dis_base64 + thumbnail_normal_base64, thumbnail_alarm_base64, thumbnail_dis_base64, thumbnail_sys_alarm_base64 @@ -147,13 +148,13 @@ SELECT LAST_INSERT_ID() insert into basic_salesforce (company_id, salesforce_id, building_id, - remark, flag, create_time, - creator_id, modify_time, modifier_id - ) + `alias`, remark, flag, + create_time, creator_id, modify_time, + modifier_id) values (#{companyId,jdbcType=BIGINT}, #{salesforceId,jdbcType=VARCHAR}, #{buildingId,jdbcType=BIGINT}, - #{remark,jdbcType=VARCHAR}, #{flag,jdbcType=INTEGER}, #{createTime,jdbcType=BIGINT}, - #{creatorId,jdbcType=BIGINT}, #{modifyTime,jdbcType=BIGINT}, #{modifierId,jdbcType=BIGINT} - ) + #{alias,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{flag,jdbcType=INTEGER}, + #{createTime,jdbcType=BIGINT}, #{creatorId,jdbcType=BIGINT}, #{modifyTime,jdbcType=BIGINT}, + #{modifierId,jdbcType=BIGINT})