Commit de95783e by 刘宇峰

特约店、围栏关联车辆设备优化查询

1 parent 617fd811
...@@ -6,6 +6,7 @@ import lombok.Data; ...@@ -6,6 +6,7 @@ import lombok.Data;
@Data @Data
public class VehicleSearch extends Page { public class VehicleSearch extends Page {
private Long shopId;
private Integer termType; private Integer termType;
private String term; private String term;
......
...@@ -98,6 +98,9 @@ ...@@ -98,6 +98,9 @@
and 1=0 and 1=0
</otherwise> </otherwise>
</choose> </choose>
<if test="shopId != null">
and tv.created_by = #{shopId}
</if>
<if test="deviceSource != null"> <if test="deviceSource != null">
and td.source = #{deviceSource} and td.source = #{deviceSource}
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!