|
@@ -44,17 +44,20 @@
|
|
|
<result column="is_use" property="isUse" jdbcType="CHAR"/> <!--店铺状态-->
|
|
|
<result column="is_line" property="isLine" jdbcType="CHAR"/> <!--在线状态-->
|
|
|
<!--新增 2019、10、15-->
|
|
|
- <result column="five_type" property="fiveType" jdbcType="VARCHAR" />
|
|
|
- <result column="repair" property="repair" jdbcType="VARCHAR" />
|
|
|
- <result column="maintain" property="maintain" jdbcType="VARCHAR" />
|
|
|
- <result column="consmetology" property="consmetology" jdbcType="VARCHAR" />
|
|
|
- <result column="wash_car" property="washCar" jdbcType="VARCHAR" />
|
|
|
- <result column="refit" property="refit" jdbcType="VARCHAR" />
|
|
|
- <result column="road_rescue" property="roadRescue" jdbcType="VARCHAR" />
|
|
|
- <result column="company_type" property="companyType" jdbcType="VARCHAR" />
|
|
|
- <result column="intelligence" property="intelligence" jdbcType="VARCHAR" />
|
|
|
- <result column="scale" property="scale" jdbcType="VARCHAR" />
|
|
|
- <result column="main_brand" property="mainBrand" jdbcType="VARCHAR" />
|
|
|
+ <result column="five_type" property="fiveType" jdbcType="VARCHAR"/>
|
|
|
+ <result column="repair" property="repair" jdbcType="VARCHAR"/>
|
|
|
+ <result column="maintain" property="maintain" jdbcType="VARCHAR"/>
|
|
|
+ <result column="consmetology" property="consmetology" jdbcType="VARCHAR"/>
|
|
|
+ <result column="wash_car" property="washCar" jdbcType="VARCHAR"/>
|
|
|
+ <result column="refit" property="refit" jdbcType="VARCHAR"/>
|
|
|
+ <result column="road_rescue" property="roadRescue" jdbcType="VARCHAR"/>
|
|
|
+ <result column="company_type" property="companyType" jdbcType="VARCHAR"/>
|
|
|
+ <result column="intelligence" property="intelligence" jdbcType="VARCHAR"/>
|
|
|
+ <result column="scale" property="scale" jdbcType="VARCHAR"/>
|
|
|
+ <result column="main_brand" property="mainBrand" jdbcType="VARCHAR"/>
|
|
|
+
|
|
|
+ <result column="is_import" property="isImport" jdbcType="VARCHAR"/>
|
|
|
+ <result column="p_main_business" property="pMainBusiness" jdbcType="VARCHAR"/>
|
|
|
|
|
|
</resultMap>
|
|
|
|
|
@@ -107,7 +110,7 @@
|
|
|
</where>
|
|
|
|
|
|
</select>
|
|
|
-<!--查询所有商家信息-->
|
|
|
+ <!--查询所有商家信息-->
|
|
|
<select id="listAllBusinessInfo" resultMap="BaseResultMap">
|
|
|
select * from provider
|
|
|
<where>
|
|
@@ -118,19 +121,19 @@
|
|
|
and city = #{city}
|
|
|
</if>
|
|
|
<if test="district != null and '' !=district">
|
|
|
- and district = #{district}
|
|
|
+ and district = #{district}
|
|
|
</if>
|
|
|
<if test="role != null and '' !=role">
|
|
|
- and role_type = #{role}
|
|
|
+ and role_type = #{role}
|
|
|
</if>
|
|
|
<if test="name != null and '' !=name">
|
|
|
- and `name` like concat ('%',#{name},'%')
|
|
|
+ and `name` like concat ('%',#{name},'%')
|
|
|
</if>
|
|
|
<if test="id != null and '' !=id">
|
|
|
- and id = #{id}
|
|
|
+ and id = #{id}
|
|
|
</if>
|
|
|
<if test="phone != null and '' !=phone">
|
|
|
- and auth_phone = #{phone}
|
|
|
+ and auth_phone = #{phone}
|
|
|
</if>
|
|
|
</where>
|
|
|
order by status desc,enter_date desc
|