|
|
|
@@ -14,7 +14,6 @@ |
|
|
|
<result column="status" jdbcType="INTEGER" property="status"/> |
|
|
|
<result column="contract_number" jdbcType="VARCHAR" property="contractNumber"/> |
|
|
|
<result column="deposit" jdbcType="VARCHAR" property="deposit"/> |
|
|
|
<result column="first_pay_date" jdbcType="TIMESTAMP" property="firstPayDate"/> |
|
|
|
<result column="pay_date" jdbcType="Integer" property="payDate"/> |
|
|
|
<result column="is_del" jdbcType="INTEGER" property="isDel"/> |
|
|
|
<result column="merchant_name" jdbcType="VARCHAR" property="merchantName"/> |
|
|
|
@@ -27,7 +26,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`merchant_id`,`price`,`rental_start_date`,`rental_end_date`,`sign_date`,`receive_period`,`tenant_id`,`filepath`,`status`,`contract_number`,`deposit`,`first_pay_date`,`pay_date`,`is_del`,`merchant_name`,`brand`,`business_id`,`shop_type`,`shop_id`,`updatetime`,`createtime` |
|
|
|
`id`,`merchant_id`,`price`,`rental_start_date`,`rental_end_date`,`sign_date`,`receive_period`,`tenant_id`,`filepath`,`status`,`contract_number`,`deposit`,`pay_date`,`is_del`,`merchant_name`,`brand`,`business_id`,`shop_type`,`shop_id`,`updatetime`,`createtime` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -44,7 +43,6 @@ |
|
|
|
<if test=" null != status ">and `status` = #{status}</if> |
|
|
|
<if test=" null != contractNumber ">and `contract_number` = #{contractNumber}</if> |
|
|
|
<if test=" null != deposit ">and `deposit` = #{deposit}</if> |
|
|
|
<if test=" null != firstPayDate ">and `first_pay_date` = #{firstPayDate}</if> |
|
|
|
<if test=" null != payDate ">and `pay_date` = #{payDate}</if> |
|
|
|
<if test=" null != isDel ">and `is_del` = #{isDel}</if> |
|
|
|
<if test=" null != merchantName ">and `merchant_name` = #{merchantName}</if> |
|
|
|
|