Commit 563c3005 by 杨林龙

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

1 parent 3be1cd67
......@@ -27,7 +27,7 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
* @param keyWord
* @return
*/
@DataPerm(showSql = true)
List<TearDownModelExport> searchTearDownAlarmList(@Param("keyWord") String keyWord);
/**
......
......@@ -47,8 +47,8 @@
<result column="area" jdbcType="VARCHAR" property="area"/>
<result column="province" jdbcType="VARCHAR" property="province"/>
<result column="city" jdbcType="VARCHAR" property="city"/>
<result column="shop_name" jdbcType="VARCHAR" property="shopName"/>
<result column="shop_code" jdbcType="VARCHAR" property="shopCode"/>
<result column="username" jdbcType="VARCHAR" property="shopName"/>
<result column="account" jdbcType="VARCHAR" property="shopCode"/>
<result column="shop_level" jdbcType="INTEGER" property="shopLevel"/>
<result column="model_name" jdbcType="VARCHAR" property="modelName"/>
<result column="config_desc" jdbcType="INTEGER" property="configDesc"/>
......@@ -127,8 +127,8 @@
ttds.area,
ttds.province,
ttds.city,
ttds.shop_name,
ttds.shop_code,
tu.username,
tu.account,
ttds.shop_level,
tv.model_name,
tv.config_desc,
......@@ -136,9 +136,9 @@
tvd.sn
FROM t_vehicle tv
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.fence_id = tefs.fence_id
where tv.del_flag = 0 and tvd.bind_status = 1
left join t_trial_drive_shop ttds on ttds.created_by = tvd.created_by
left join t_user tu on tu.id = tv.created_by
where tvd.del_flag = 0 and tvd.bind_status = 1
<if test="keyWord != null and keyWord !=''">
and (
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!