Commit 02187381 by 杨林龙

修改查询试驾车列表的传入参数

1 parent accdb3d4
...@@ -43,7 +43,7 @@ public class TestVehicleVo { ...@@ -43,7 +43,7 @@ public class TestVehicleVo {
private String buyDateEnd; private String buyDateEnd;
/** /**
* 特约店名 * 特约店id
*/ */
private String shopName; private Integer shopId;
} }
...@@ -383,8 +383,8 @@ ...@@ -383,8 +383,8 @@
<if test="buyDateEnd != null and buyDateEnd !=''"> <if test="buyDateEnd != null and buyDateEnd !=''">
and tv.buy_date &lt;= #{buyDateEnd} and tv.buy_date &lt;= #{buyDateEnd}
</if> </if>
<if test="shopName != null and shopName !=''"> <if test="shopId != null ">
and tu.username = #{shopName} and tu.id = #{shopId}
</if> </if>
</select> </select>
</mapper> </mapper>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!