|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
<resultMap id="VehicleVOMap" type="api.common.pojo.vo.model.VehicleVO">
|
|
<resultMap id="VehicleVOMap" type="api.common.pojo.vo.model.VehicleVO">
|
|
<id column="ID" property="id" jdbcType="VARCHAR" />
|
|
<id column="ID" property="id" jdbcType="VARCHAR" />
|
|
- <result column="vehicle_id" property="vehicleId" jdbcType="VARCHAR" />
|
|
|
|
|
|
+ <result column="vehicle_code" property="vehicleCode" jdbcType="VARCHAR" />
|
|
<result column="vehicle_name" property="vehicleName" jdbcType="VARCHAR" />
|
|
<result column="vehicle_name" property="vehicleName" jdbcType="VARCHAR" />
|
|
<result column="description" property="description" jdbcType="VARCHAR" />
|
|
<result column="description" property="description" jdbcType="VARCHAR" />
|
|
<result column="vehicle_type" property="vehicleType" jdbcType="VARCHAR" />
|
|
<result column="vehicle_type" property="vehicleType" jdbcType="VARCHAR" />
|
|
@@ -53,7 +53,7 @@
|
|
<select id="getVehicleInfo" parameterType="api.common.pojo.param.model.VehicleParam" resultMap="VehicleVOMap">
|
|
<select id="getVehicleInfo" parameterType="api.common.pojo.param.model.VehicleParam" resultMap="VehicleVOMap">
|
|
select
|
|
select
|
|
id,
|
|
id,
|
|
- vehicle_id,
|
|
|
|
|
|
+ vehicle_code,
|
|
vehicle_name,
|
|
vehicle_name,
|
|
description,
|
|
description,
|
|
vehicle_type,
|
|
vehicle_type,
|
|
@@ -94,7 +94,7 @@
|
|
<insert id="insert" parameterType="api.common.pojo.po.model.VehiclePO">
|
|
<insert id="insert" parameterType="api.common.pojo.po.model.VehiclePO">
|
|
insert into model_vehicle(
|
|
insert into model_vehicle(
|
|
id,
|
|
id,
|
|
- vehicle_id,
|
|
|
|
|
|
+ vehicle_code,
|
|
vehicle_name,
|
|
vehicle_name,
|
|
description,
|
|
description,
|
|
vehicle_type,
|
|
vehicle_type,
|
|
@@ -126,7 +126,7 @@
|
|
)
|
|
)
|
|
values(
|
|
values(
|
|
#{id,jdbcType=VARCHAR},
|
|
#{id,jdbcType=VARCHAR},
|
|
- #{vehicleId,jdbcType=VARCHAR},
|
|
|
|
|
|
+ #{vehicleCode,jdbcType=VARCHAR},
|
|
#{vehicleName,jdbcType=VARCHAR},
|
|
#{vehicleName,jdbcType=VARCHAR},
|
|
#{description,jdbcType=VARCHAR},
|
|
#{description,jdbcType=VARCHAR},
|
|
#{vehicleType,jdbcType=VARCHAR},
|
|
#{vehicleType,jdbcType=VARCHAR},
|
|
@@ -160,7 +160,7 @@
|
|
|
|
|
|
<update id="update" parameterType="api.common.pojo.po.model.VehiclePO">
|
|
<update id="update" parameterType="api.common.pojo.po.model.VehiclePO">
|
|
update model_vehicle set
|
|
update model_vehicle set
|
|
- vehicle_id = #{vehicleId,jdbcType=VARCHAR},
|
|
|
|
|
|
+ vehicle_code = #{vehicleCode,jdbcType=VARCHAR},
|
|
vehicle_name = #{vehicleName,jdbcType=VARCHAR},
|
|
vehicle_name = #{vehicleName,jdbcType=VARCHAR},
|
|
description = #{description,jdbcType=VARCHAR},
|
|
description = #{description,jdbcType=VARCHAR},
|
|
vehicle_type = #{vehicleType,jdbcType=VARCHAR},
|
|
vehicle_type = #{vehicleType,jdbcType=VARCHAR},
|