Commit 16ee86e0 authored by hanfeng's avatar hanfeng

修改车型列表

parent c43fa74d
...@@ -34,4 +34,7 @@ public class VehicleModelQueryCondition { ...@@ -34,4 +34,7 @@ public class VehicleModelQueryCondition {
String notInIds; String notInIds;
@ApiModelProperty(value = "分类列表", hidden = true) @ApiModelProperty(value = "分类列表", hidden = true)
Map<Integer, List<VehiclePlatCata>> catas; Map<Integer, List<VehiclePlatCata>> catas;
@ApiModelProperty(value = "分类列表(1-后台,2-app和小程序)", hidden = true)
private Integer pathType=2;
} }
...@@ -17,9 +17,15 @@ ...@@ -17,9 +17,15 @@
<if test="isDel !=null "> <if test="isDel !=null ">
and isdel=#{isDel} and isdel=#{isDel}
</if> </if>
<if test="status != null"> <if test="pathType ==2">
and status = #{status} and status = 1
</if> </if>
<if test="pathType!=2">
<if test="status != null">
and status = #{status}
</if>
</if>
<if test="vehicleName !=null and vehicleName !=''"> <if test="vehicleName !=null and vehicleName !=''">
AND vmqc.name LIKE CONCAT('%',#{vehicleName},'%') AND vmqc.name LIKE CONCAT('%',#{vehicleName},'%')
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment