Commit c9db196f by 杨林龙

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

1 parent 539c5784
......@@ -38,6 +38,7 @@ public class TearDownAlarmSevice {
@Autowired
private OrganizaService organizaService;
/**
* 查询拆除报警数据
*
......
......@@ -37,7 +37,7 @@
left join t_user tu on tu.id = tef.created_by
left join t_vehicle tv on tv.vin = tefs.vin
where tefs.fence_id = tef.id
and tef.biz_fence_type = 12
and tef.biz_fence_type = 12 and tu.del_flag = 0
<if test="keywords != null and keywords!='' ">
and (
tu.account like '%${keywords}%'
......
......@@ -140,7 +140,7 @@
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
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
where tvd.del_flag = 0 and tvd.bind_status = 1 and tu.del_flag = 0
<if test="keywords != null and keywords !=''">
and (
tu.username like '%${keywords}%'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!