Sfoglia il codice sorgente

[物业合同][修改][添加主体名称]

release_toaliyun_real
gongbiao 7 anni fa
parent
commit
5c885f57c9
3 ha cambiato i file con 10 aggiunte e 2 eliminazioni
  1. +2
    -0
      mallinkAdmin/src/main/resources/db/migration/V201905301400___PROPERTY_CONTRACT.sql
  2. +3
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxPropertyContract.java
  3. +5
    -2
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml

+ 2
- 0
mallinkAdmin/src/main/resources/db/migration/V201905301400___PROPERTY_CONTRACT.sql Vedi File

@@ -0,0 +1,2 @@
ALTER TABLE `wx_property_contract`
ADD COLUMN `subject_name` varchar(200) DEFAULT NULL COMMENT '主体名称';

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

@@ -173,6 +173,9 @@ public class WxPropertyContract extends BaseEntity {
@io.swagger.annotations.ApiModelProperty(value = "多径租赁单价(其他放rentInfo)", name = "priceUnit")
private String rentPrice;

@io.swagger.annotations.ApiModelProperty(value = "主体名称", name = "subjectName")
private String subjectName;

public static enum Field
{
Id_ASC("`id` ASC"),Id_DESC("`id` DESC")


+ 5
- 2
mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml Vedi File

@@ -40,6 +40,7 @@
<result column="file_names" jdbcType="VARCHAR" property="fileNames"/>
<result column="price_unit" property="priceUnit"/>
<result column="rent_price" property="rentPrice"/>
<result column="subject_name" property="subjectName"/>
</resultMap>
<sql id="allColumns">
@@ -48,7 +49,8 @@
`deposit`,`pay_date`,`is_del`,`merchant_name`,`brand`,`business_id`,
`shop_type`,`shop_id`,`updatetime`,`createtime`,`rent_area`,
`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`, `file_names`,price_unit,rent_price
`start_date`,`end_date`,`apply_status`,`adjust_period`,`business_type`,adjust_ratio,`rent_info`,
`file_names`,price_unit,rent_price,subject_name
</sql>
<sql id="dynamicWhereConditions">
@@ -108,7 +110,8 @@
rc.lease,rc.filepath,rc.filename,rc.pay_account payAccount,rc.sign_date signDate,
start_date startDate,end_date endDate,rc.rent_contract_id rentContractId,br.`name` brandName,
s.addr,rc.apply_status applyStatus,rc.adjust_period adjustPeriod,rc.business_type businessType,
rc.adjust_ratio adjustRatio,rc.rent_info rentInfo, rc.file_names fileNames,rc.price_unit
rc.adjust_ratio adjustRatio,rc.rent_info rentInfo, rc.file_names fileNames,rc.price_unit,rc.subject_name
subjectName
from wx_property_contract rc
left join wx_shop s on rc.shop_id=s.id
left join wx_mall_floor f on s.floor=f.id


Caricamento…
Annulla
Salva