|
|
|
@@ -42,6 +42,9 @@ |
|
|
|
<result column="rent_price" property="rentPrice"/> |
|
|
|
<result column="subject_name" property="subjectName"/> |
|
|
|
<result column="rent_start_type" property="rentStartType"/> |
|
|
|
|
|
|
|
<result column="operation_type" property="operationType"/> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
@@ -51,7 +54,7 @@ |
|
|
|
`shop_type`,`shop_id`,`updatetime`,`createtime`,`rent_area`, |
|
|
|
`link_person`,`link_phone`,`pay_account`,`filename`,`lease`,`rent_contract_id`, |
|
|
|
`start_date`,`end_date`,`apply_status`,`adjust_period`,`business_type`,adjust_ratio,`rent_info`, |
|
|
|
`file_names`,price_unit,rent_price,subject_name,rent_start_type |
|
|
|
`file_names`,price_unit,rent_price,subject_name,rent_start_type,`operation_type` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -87,6 +90,7 @@ |
|
|
|
<if test=" null != startDate ">and `start_date` = #{startDate}</if> |
|
|
|
<if test=" null != endDate ">and `end_date` = #{endDate}</if> |
|
|
|
<if test=" null != rentShopType">and `rent_shop_type` = #{rentShopType}</if> |
|
|
|
<if test=" null != operationType ">and `operation_type` = #{operationType}</if> |
|
|
|
|
|
|
|
<if test=" null != ids "> |
|
|
|
and id in |
|
|
|
@@ -137,6 +141,7 @@ |
|
|
|
<if test=" null != applyStatus ">and rc.`apply_status` = #{applyStatus}</if> |
|
|
|
<if test=" null != building and ''!= building">and b.id = #{building}</if> |
|
|
|
<if test=" null != floor and ''!= floor">and f.id = #{floor}</if> |
|
|
|
<if test=" null != operationType ">and `operation_type` = #{operationType}</if> |
|
|
|
</where> |
|
|
|
|
|
|
|
<if test=" null != sortColumns"> order by ${sortColumns} </if> |
|
|
|
|