Browse Source

[租赁物业合同][修改][查询列表添加单价单位]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
31e41f22c9
2 changed files with 9 additions and 1 deletions
  1. +5
    -0
      mallinkService/src/main/java/com/iformall/domain/vo/WxRentPropertyContractVo.java
  2. +4
    -1
      mallinkService/src/main/resources/mapper/WxRentContractMapper.xml

+ 5
- 0
mallinkService/src/main/java/com/iformall/domain/vo/WxRentPropertyContractVo.java View File

@@ -77,5 +77,10 @@ public class WxRentPropertyContractVo extends BaseEntity {
@io.swagger.annotations.ApiModelProperty(value = "物业合同状态", name = "propertyStatus") @io.swagger.annotations.ApiModelProperty(value = "物业合同状态", name = "propertyStatus")
private Integer propertyStatus; private Integer propertyStatus;


@io.swagger.annotations.ApiModelProperty(value = "租金单价单位", name = "rentPriceUnit")
private Integer rentPriceUnit;

@io.swagger.annotations.ApiModelProperty(value = "物业费单价单位", name = "propertyPriceUnit")
private Integer propertyPriceUnit;
} }



+ 4
- 1
mallinkService/src/main/resources/mapper/WxRentContractMapper.xml View File

@@ -317,13 +317,16 @@
<result column="rent_shop_type" property="rentShopType"/> <result column="rent_shop_type" property="rentShopType"/>
<result column="merchant_id" property="merchantId"/> <result column="merchant_id" property="merchantId"/>
<result column="property_status" property="propertyStatus"/> <result column="property_status" property="propertyStatus"/>
<result column="rent_price_unit" property="rentPriceUnit"/>
<result column="property_price_unit" property="propertyPriceUnit"/>
</resultMap> </resultMap>
<select id="listContractVo" parameterType="com.iformall.domain.vo.WxRentPropertyContractVo" resultMap="contractMap"> <select id="listContractVo" parameterType="com.iformall.domain.vo.WxRentPropertyContractVo" resultMap="contractMap">
select rc.id,rc.merchant_name,rc.rental_start_date,rc.rental_end_date,rc.`status`, select rc.id,rc.merchant_name,rc.rental_start_date,rc.rental_end_date,rc.`status`,
rc.price as rent_price,rc.contract_number,s.shop_number,rc.type,rc.apply_status, rc.price as rent_price,rc.contract_number,s.shop_number,rc.type,rc.apply_status,
rc.rent_shop_type,rc.rent_info,pc.price as property_price,rc.merchant_id,pc.`status` as property_status
rc.rent_shop_type,rc.rent_info,pc.price as property_price,rc.merchant_id,pc.`status` as property_status,
rc.price_unit as rent_price_unit,pc.price_unit as property_price_unit
from wx_rent_contract rc left join wx_property_contract pc on rc.id=pc.rent_contract_id from wx_rent_contract rc left join wx_property_contract pc on rc.id=pc.rent_contract_id
left join wx_shop s on rc.shop_id=s.id left join wx_shop s on rc.shop_id=s.id
<where> <where>


Loading…
Cancel
Save