|
|
|
@@ -4,6 +4,7 @@ |
|
|
|
<resultMap id="BaseResultMap" type="com.simple.domain.po.WxPark"> |
|
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" /> |
|
|
|
<result column="img_url" jdbcType="VARCHAR" property="imgUrl" /> |
|
|
|
<result column="addr" jdbcType="VARCHAR" property="addr" /> |
|
|
|
<result column="number" jdbcType="INTEGER" property="number" /> |
|
|
|
<result column="entry_exit" jdbcType="INTEGER" property="entryExit" /> |
|
|
|
@@ -16,7 +17,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`addr`,`number`,`entry_exit`,`stop_fee`,`create_date`,`update_date`,`park_id`,`vendor_type`,`vendor_params` |
|
|
|
`id`,`tenant_id`,`img_url`,`addr`,`number`,`entry_exit`,`stop_fee`,`create_date`,`update_date`,`park_id`,`vendor_type`,`vendor_params` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -30,8 +31,13 @@ |
|
|
|
<if test=" null != tenantId "> |
|
|
|
and `tenant_id` like concat('%', #{tenantId},'%') |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != imgUrl "> |
|
|
|
and `imgUrl` like concat('%', #{imgUrl},'%') |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != addr "> |
|
|
|
and `addr` like concat('%', #{addr},'%') |
|
|
|
|
|
|
|
|