|
|
|
@@ -17,12 +17,13 @@ |
|
|
|
<result column="shop_type" jdbcType="INTEGER" property="shopType"/> |
|
|
|
<result column="brand" jdbcType="VARCHAR" property="brand"/> |
|
|
|
<result column="type" jdbcType="SMALLINT" property="type"/> |
|
|
|
<result column="show" jdbcType="SMALLINT" property="show"/> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`img_url`,`name`,`link_phone`,`create_date`,`update_date`,`car_vendor_type`,`car_params`,`status`,`link_person`, |
|
|
|
`business_id`,`shop_type`,`brand`,`type` |
|
|
|
`business_id`,`shop_type`,`brand`,`type`,`show` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -76,6 +77,9 @@ |
|
|
|
<if test=" null != type "> |
|
|
|
and `type` = #{type} |
|
|
|
</if> |
|
|
|
<if test=" null != show "> |
|
|
|
and `show` = #{show} |
|
|
|
</if> |
|
|
|
<if test=" null != ids "> |
|
|
|
and id in |
|
|
|
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|
@@ -96,7 +100,7 @@ |
|
|
|
m.id, |
|
|
|
m.img_url,m.name,m.link_phone,m.status,m.business_id, |
|
|
|
s.addr,s.shop_number,s.baidu_poi, |
|
|
|
mb.building_name,mf.floor_name |
|
|
|
mb.building_name,mf.floor_name,m.show |
|
|
|
</sql> |
|
|
|
|
|
|
|
<resultMap id="MerchantVoResultMap" type="com.iformall.domain.vo.WxMerchantVo"> |
|
|
|
@@ -111,6 +115,7 @@ |
|
|
|
<result column="building_name" jdbcType="VARCHAR" property="buildingName"/> |
|
|
|
<result column="floor_name" jdbcType="VARCHAR" property="floorName"/> |
|
|
|
<result column="baidu_poi" jdbcType="VARCHAR" property="baiduPoi"/> |
|
|
|
<result column="show" jdbcType="VARCHAR" property="show"/> |
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|