|
|
|
@@ -4,6 +4,7 @@ |
|
|
|
<resultMap id="BaseResultMap" type="com.iformall.domain.po.WxPropertyContract"> |
|
|
|
<id column="id" jdbcType="BIGINT" property="id"/> |
|
|
|
<result column="merchant_id" jdbcType="BIGINT" property="merchantId"/> |
|
|
|
<result column="is_private_merchant" jdbcType="INTEGER" property="isPrivateMerchant"/> |
|
|
|
<result column="decimal_size" jdbcType="INTEGER" property="decimalSize"/> |
|
|
|
<result column="price" jdbcType="VARCHAR" property="price"/> |
|
|
|
<result column="rental_start_date" jdbcType="TIMESTAMP" property="rentalStartDate"/> |
|
|
|
@@ -71,7 +72,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`merchant_id`,`decimal_size`,`price`,`rental_start_date`,`rental_end_date`,`create_type`,`shop_ids`,`shop_numbers`, |
|
|
|
`id`,`merchant_id`,`is_private_merchant`,`decimal_size`,`price`,`rental_start_date`,`rental_end_date`,`create_type`,`shop_ids`,`shop_numbers`, |
|
|
|
`sign_date`,`receive_period`,`tenant_id`,`parent_tenant_id`,`filepath`,`status`,`contract_number`,`price_detail`, |
|
|
|
`deposit`,`pay_date`,`is_del`,`merchant_name`,`brand`,`business_id`,`receive_period_unit`,`create_by`,`update_by`,`first_bill_receive_date`, |
|
|
|
`shop_type`,`updatetime`,`createtime`,`rent_area`,`fees_standards_info`,`first_bill_date_start`,`first_bill_date_end`, |
|
|
|
@@ -84,6 +85,7 @@ |
|
|
|
where 1 = 1 |
|
|
|
<if test=" null != id ">and `id` = #{id}</if> |
|
|
|
<if test=" null != merchantId ">and `merchant_id` = #{merchantId}</if> |
|
|
|
<if test=" null != isPrivateMerchant ">and `is_private_merchant` = #{isPrivateMerchant}</if> |
|
|
|
<if test=" null != price ">and `price` = #{price}</if> |
|
|
|
<if test=" null != rentalStartDate ">and `rental_start_date` = #{rentalStartDate}</if> |
|
|
|
<if test=" null != rentalEndDate ">and `rental_end_date` = #{rentalEndDate}</if> |
|
|
|
|