Browse Source

fix

release_toaliyun_real
xiaohanzi 5 years ago
parent
commit
c5733562db
3 changed files with 10 additions and 2 deletions
  1. +5
    -1
      mallinkAdmin/src/main/resources/db/migration/V202101070001__ADD_UNIQUE_INDEX_wx_user_channel.sql
  2. +3
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxPropertyContract.java
  3. +2
    -1
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml

+ 5
- 1
mallinkAdmin/src/main/resources/db/migration/V202101070001__ADD_UNIQUE_INDEX_wx_user_channel.sql View File

@@ -1,3 +1,7 @@
ALTER TABLE `wx_user_channel`
DROP INDEX `scene_address_index`,
ADD UNIQUE INDEX `scene_address_index`(`scene_address`) USING BTREE;
ADD UNIQUE INDEX `scene_address_index`(`scene_address`) USING BTREE;


ALTER TABLE wx_property_contract ADD COLUMN `fixed_price` INT(1) NOT NULL DEFAULT 0 COMMENT '是否固定价格(0:按面积计算/1:固定价格)' ;
UPDATE wx_property_contract SET fixed_price = 0;

+ 3
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxPropertyContract.java View File

@@ -65,6 +65,9 @@ public class WxPropertyContract extends TenantEntity {
@TableField(exist = false)
private List<Integer> statuss;
@io.swagger.annotations.ApiModelProperty(value="是否固定价格",name="0:按面积计算,1:固定价格")
private Integer fixedPrice;
@io.swagger.annotations.ApiModelProperty(value="合同编号",name="contractNumber")
private String contractNumber;



+ 2
- 1
mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml View File

@@ -43,6 +43,7 @@
<result column="subject_name" property="subjectName"/>
<result column="rent_start_type" property="rentStartType"/>
<result column="rent_shop_type" jdbcType="INTEGER" property="rentShopType"/>
<result column="fixed_price" jdbcType="INTEGER" property="fixedPrice"/>

<result column="operation_type" property="operationType"/>
<result column="late_pay_ratio" property="latePayRatio"/>
@@ -55,7 +56,7 @@
`deposit`,`pay_date`,`is_del`,`merchant_name`,`brand`,`business_id`,
`shop_type`,`updatetime`,`createtime`,`rent_area`,`rent_shop_type`,
`link_person`,`link_phone`,`pay_account`,`filename`,`lease`,`rent_contract_id`,
`start_date`,`end_date`,`apply_status`,`adjust_period`,`business_type`,adjust_ratio,`rent_info`,
`start_date`,`end_date`,`apply_status`,`adjust_period`,`business_type`,adjust_ratio,`rent_info`,fixed_price,
`file_names`,price_unit,rent_price,subject_name,rent_start_type,`operation_type`,late_pay_ratio,late_pay_day
</sql>


Loading…
Cancel
Save