|
|
|
@@ -8,14 +8,12 @@ |
|
|
|
<result column="shop_id" jdbcType="BIGINT" property="shopId" /> |
|
|
|
<result column="create_date" jdbcType="TIMESTAMP" property="createDate" /> |
|
|
|
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate" /> |
|
|
|
<result column="rental_start_date" jdbcType="TIMESTAMP" property="rentalStartDate" /> |
|
|
|
<result column="rental_end_date" jdbcType="TIMESTAMP" property="rentalEndDate" /> |
|
|
|
<result column="is_del" jdbcType="SMALLINT" property="isDel" /> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`merchant_id`,`shop_id`,`create_date`,`update_date`,`rental_start_date`,`rental_end_date`,`is_del` |
|
|
|
`id`,`tenant_id`,`merchant_id`,`shop_id`,`create_date`,`update_date`,`is_del` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -51,14 +49,6 @@ |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != rentalStartDate "> |
|
|
|
and `rental_start_date` = #{rentalStartDate} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != rentalEndDate "> |
|
|
|
and `rental_end_date` = #{rentalEndDate} |
|
|
|
</if> |
|
|
|
<if test=" null != isDel "> |
|
|
|
and `is_del` = #{isDel} |
|
|
|
</if> |
|
|
|
|