Commit 563c3005 by 杨林龙

修改获取特约店名称和特约店代码的获取方式

1 parent 3be1cd67
...@@ -27,7 +27,7 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> { ...@@ -27,7 +27,7 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
* @param keyWord * @param keyWord
* @return * @return
*/ */
@DataPerm(showSql = true)
List<TearDownModelExport> searchTearDownAlarmList(@Param("keyWord") String keyWord); List<TearDownModelExport> searchTearDownAlarmList(@Param("keyWord") String keyWord);
/** /**
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
<result column="area" jdbcType="VARCHAR" property="area"/> <result column="area" jdbcType="VARCHAR" property="area"/>
<result column="province" jdbcType="VARCHAR" property="province"/> <result column="province" jdbcType="VARCHAR" property="province"/>
<result column="city" jdbcType="VARCHAR" property="city"/> <result column="city" jdbcType="VARCHAR" property="city"/>
<result column="shop_name" jdbcType="VARCHAR" property="shopName"/> <result column="username" jdbcType="VARCHAR" property="shopName"/>
<result column="shop_code" jdbcType="VARCHAR" property="shopCode"/> <result column="account" jdbcType="VARCHAR" property="shopCode"/>
<result column="shop_level" jdbcType="INTEGER" property="shopLevel"/> <result column="shop_level" jdbcType="INTEGER" property="shopLevel"/>
<result column="model_name" jdbcType="VARCHAR" property="modelName"/> <result column="model_name" jdbcType="VARCHAR" property="modelName"/>
<result column="config_desc" jdbcType="INTEGER" property="configDesc"/> <result column="config_desc" jdbcType="INTEGER" property="configDesc"/>
...@@ -127,8 +127,8 @@ ...@@ -127,8 +127,8 @@
ttds.area, ttds.area,
ttds.province, ttds.province,
ttds.city, ttds.city,
ttds.shop_name, tu.username,
ttds.shop_code, tu.account,
ttds.shop_level, ttds.shop_level,
tv.model_name, tv.model_name,
tv.config_desc, tv.config_desc,
...@@ -136,9 +136,9 @@ ...@@ -136,9 +136,9 @@
tvd.sn tvd.sn
FROM t_vehicle tv FROM t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
left join t_electric_fence_sns tefs on tefs.sn = tvd.sn left join t_trial_drive_shop ttds on ttds.created_by = tvd.created_by
left join t_trial_drive_shop ttds on ttds.fence_id = tefs.fence_id left join t_user tu on tu.id = tv.created_by
where tv.del_flag = 0 and tvd.bind_status = 1 where tvd.del_flag = 0 and tvd.bind_status = 1
<if test="keyWord != null and keyWord !=''"> <if test="keyWord != null and keyWord !=''">
and ( and (
ttds.shop_code like '%${keyWord}%' ttds.shop_code like '%${keyWord}%'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!