Commit 1c5e3f0d authored by unset's avatar unset

添加车辆上牌日期字段

parent 647f46f7
......@@ -20,4 +20,6 @@ public class VehicleCommonPriceVo extends VehicleCommonPriceInfo {
private String modelName;
private Integer vehicleBodyStatus;
private String vehicleId;
}
......@@ -6,6 +6,7 @@
<select id="selectList" resultType="com.xxfc.platform.vehicle.pojo.vo.VehicleCommonPriceVo">
SELECT
vci.*, v.`code`,
v.id as vehicleId,
v.number_plate,
FLOOR(
YEAR (NOW()) - YEAR (v.vehicle_register_date)
......
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