Commit 02187381 by 杨林龙

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

1 parent accdb3d4
......@@ -43,7 +43,7 @@ public class TestVehicleVo {
private String buyDateEnd;
/**
* 特约店名
* 特约店id
*/
private String shopName;
private Integer shopId;
}
......@@ -383,8 +383,8 @@
<if test="buyDateEnd != null and buyDateEnd !=''">
and tv.buy_date &lt;= #{buyDateEnd}
</if>
<if test="shopName != null and shopName !=''">
and tu.username = #{shopName}
<if test="shopId != null ">
and tu.id = #{shopId}
</if>
</select>
</mapper>
\ 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!