Просмотр исходного кода

[合同][修改][修改租赁记租开始日期]

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
e71afe0011
5 измененных файлов: 9 добавлений и 4 удалений
  1. +5
    -0
      mallinkAdmin/src/main/resources/db/migration/V201906041530__L_ALTER_RENT.sql
  2. +0
    -1
      mallinkService/src/main/java/com/iformall/domain/po/WxPropertyContract.java
  3. +0
    -1
      mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java
  4. +2
    -1
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
  5. +2
    -1
      mallinkService/src/main/resources/mapper/WxRentContractMapper.xml

+ 5
- 0
mallinkAdmin/src/main/resources/db/migration/V201906041530__L_ALTER_RENT.sql Просмотреть файл

@@ -0,0 +1,5 @@
alter table wx_rent_contract
add column `rent_start_type` int(1) DEFAULT 1 COMMENT '1按租赁日生产2按计租日生成账单';

alter table wx_property_contract
add column `rent_start_type` int(1) DEFAULT 1 COMMENT '1按租赁日生产2按计租日生成账单';

+ 0
- 1
mallinkService/src/main/java/com/iformall/domain/po/WxPropertyContract.java Просмотреть файл

@@ -178,7 +178,6 @@ public class WxPropertyContract extends BaseEntity {


@io.swagger.annotations.ApiModelProperty(value = "1按租赁日生产2按计租日生成账单", name = "rentStartType")
@Transient
private Integer rentStartType;

public static enum Field


+ 0
- 1
mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java Просмотреть файл

@@ -218,7 +218,6 @@ public class WxRentContract extends BaseEntity {
private String subjectName;

@io.swagger.annotations.ApiModelProperty(value = "1按租赁日生产2按计租日生成账单", name = "rentStartType")
@Transient
private Integer rentStartType;

// public Integer getAdjustPeriod() {


+ 2
- 1
mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml Просмотреть файл

@@ -41,6 +41,7 @@
<result column="price_unit" property="priceUnit"/>
<result column="rent_price" property="rentPrice"/>
<result column="subject_name" property="subjectName"/>
<result column="rent_start_type" property="rentStartType"/>
</resultMap>
<sql id="allColumns">
@@ -50,7 +51,7 @@
`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,subject_name
`file_names`,price_unit,rent_price,subject_name,rent_start_type
</sql>
<sql id="dynamicWhereConditions">


+ 2
- 1
mallinkService/src/main/resources/mapper/WxRentContractMapper.xml Просмотреть файл

@@ -47,6 +47,7 @@
<result column="price_unit" property="priceUnit"/>
<result column="rent_price" property="rentPrice"/>
<result column="subject_name" property="subjectName"/>
<result column="rent_start_type" property="rentStartType"/>

</resultMap>
@@ -57,7 +58,7 @@
`pay_account`,`filename`,`lease`,`type`,`revenue`,`adjust_ratio`,`adjust_period`,`pay_ratio`,
`start_date`,`end_date`,
`apply_status`,`bank_name`,`rent_shop_type`,`fix_start_date`,`fix_end_date`,
`business_type`,`rent_info`, `file_names`,price_unit,rent_price,`subject_name`
`business_type`,`rent_info`, `file_names`,price_unit,rent_price,`subject_name`,rent_start_type
</sql>


Загрузка…
Отмена
Сохранить