|
|
@@ -19,11 +19,12 @@ |
|
|
<result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
|
|
<result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
|
|
<result column="is_free" jdbcType="INTEGER" property="isFree"/> |
|
|
<result column="is_free" jdbcType="INTEGER" property="isFree"/> |
|
|
<result column="rent_area" jdbcType="VARCHAR" property="rentArea"/> |
|
|
<result column="rent_area" jdbcType="VARCHAR" property="rentArea"/> |
|
|
|
|
|
<result column="is_father" jdbcType="INTEGER" property="isFather"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
<sql id="allColumns"> |
|
|
`id`,`tenant_id`,`parent_tenant_id`,`rent_contract_id`,`un_deposit_id`,`merchant_id`,`shop_id`,`shop_number`, |
|
|
`id`,`tenant_id`,`parent_tenant_id`,`rent_contract_id`,`un_deposit_id`,`merchant_id`,`shop_id`,`shop_number`, |
|
|
`fees_id`,`begin_time`,`end_time`,`price`,`price_unit`,`createtime`,`updatetime`,`is_free`,`rent_area` |
|
|
|
|
|
|
|
|
`fees_id`,`begin_time`,`end_time`,`price`,`price_unit`,`createtime`,`updatetime`,`is_free`,`rent_area`,`is_father` |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
<sql id="dynamicWhereConditions"> |
|
|
@@ -39,6 +40,7 @@ |
|
|
<if test=" null != merchantId ">and `merchant_id` = #{merchantId}</if> |
|
|
<if test=" null != merchantId ">and `merchant_id` = #{merchantId}</if> |
|
|
<if test=" null != feesId ">and `fees_id` = #{feesId}</if> |
|
|
<if test=" null != feesId ">and `fees_id` = #{feesId}</if> |
|
|
<if test=" null != unDepositId ">and `un_deposit_id` = #{unDepositId}</if> |
|
|
<if test=" null != unDepositId ">and `un_deposit_id` = #{unDepositId}</if> |
|
|
|
|
|
<if test=" null != isFather ">and `is_father` = #{isFather}</if> |
|
|
<if test=" null != ids "> |
|
|
<if test=" null != ids "> |
|
|
and id in |
|
|
and id in |
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|