|
|
|
@@ -16,10 +16,12 @@ |
|
|
|
<result column="park_area" jdbcType="DECIMAL" property="parkArea" /> |
|
|
|
<result column="park_place_number" jdbcType="INTEGER" property="parkPlaceNumber" /> |
|
|
|
<result column="pay_id" jdbcType="BIGINT" property="payId" /> |
|
|
|
<result column="service_phone" jdbcType="VARCHAR" property="servicePhone" /> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`name`,`group`,`country`,`province`,`city`,`addr`,`wiwide_id`,`total_area`,`operating_area`,`park_area`,`park_place_number`,`pay_id` |
|
|
|
`id`,`tenant_id`,`name`,`group`,`country`,`province`,`city`,`addr`,`wiwide_id`,`total_area`,`operating_area`,`park_area`,`park_place_number`,`pay_id`,`service_phone` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -93,7 +95,11 @@ |
|
|
|
<if test=" null != payId "> |
|
|
|
and `pay_id` = #{payId} |
|
|
|
|
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test=" null != servicePhone "> |
|
|
|
and `service_phone` = #{servicePhone} |
|
|
|
|
|
|
|
</if> |
|
|
|
<if test=" null != ids "> |
|
|
|
and id in |
|
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|
|