|
|
|
@@ -22,12 +22,13 @@ |
|
|
|
<result column="email" property="email"/> |
|
|
|
<result column="title" jdbcType="VARCHAR" property="title"/> |
|
|
|
<result column="cover_picture" jdbcType="VARCHAR" property="coverPicture"/> |
|
|
|
<result column="is_admin" jdbcType="INTEGER" property="isAdmin"/> |
|
|
|
|
|
|
|
</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`,`sub_business_id`,`shop_type`,`brand`,`type`,`is_public`,email,`title`,`cover_picture` |
|
|
|
`business_id`,`sub_business_id`,`shop_type`,`brand`,`type`,`is_public`,email,`title`,`cover_picture`,`is_admin` |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -91,6 +92,9 @@ |
|
|
|
<if test=" null != email "> |
|
|
|
and `email` = #{email} |
|
|
|
</if> |
|
|
|
<if test=" null != isAdmin "> |
|
|
|
and `is_admin` = #{isAdmin} |
|
|
|
</if> |
|
|
|
<if test=" null != rentShopType "> |
|
|
|
and id not in( |
|
|
|
select merchant_id from wx_rent_contract where tenant_id=#{tenantId} and rent_shop_type=1 and merchant_id is |
|
|
|
|