|
@@ -30,7 +30,7 @@
|
|
<select id="getLidarInfo" parameterType="api.common.pojo.param.model.LidarParam" resultMap="LidarVOMap">
|
|
<select id="getLidarInfo" parameterType="api.common.pojo.param.model.LidarParam" resultMap="LidarVOMap">
|
|
select
|
|
select
|
|
id,
|
|
id,
|
|
- sensor_id,
|
|
|
|
|
|
+ sensor_code,
|
|
sensor_name,
|
|
sensor_name,
|
|
description,
|
|
description,
|
|
near_distance,
|
|
near_distance,
|
|
@@ -59,7 +59,7 @@
|
|
<insert id="insert" parameterType="api.common.pojo.po.model.LidarPO">
|
|
<insert id="insert" parameterType="api.common.pojo.po.model.LidarPO">
|
|
insert into model_sensor_lidar(
|
|
insert into model_sensor_lidar(
|
|
id,
|
|
id,
|
|
- sensor_id,
|
|
|
|
|
|
+ sensor_code,
|
|
sensor_name,
|
|
sensor_name,
|
|
description,
|
|
description,
|
|
near_distance,
|
|
near_distance,
|
|
@@ -79,7 +79,7 @@
|
|
)
|
|
)
|
|
values(
|
|
values(
|
|
#{id,jdbcType=VARCHAR},
|
|
#{id,jdbcType=VARCHAR},
|
|
- #{sensorId,jdbcType=VARCHAR},
|
|
|
|
|
|
+ #{sensorCode,jdbcType=VARCHAR},
|
|
#{sensorName,jdbcType=VARCHAR},
|
|
#{sensorName,jdbcType=VARCHAR},
|
|
#{description,jdbcType=VARCHAR},
|
|
#{description,jdbcType=VARCHAR},
|
|
#{nearDistance,jdbcType=DECIMAL},
|
|
#{nearDistance,jdbcType=DECIMAL},
|
|
@@ -101,7 +101,7 @@
|
|
|
|
|
|
<update id="update" parameterType="api.common.pojo.po.model.LidarPO">
|
|
<update id="update" parameterType="api.common.pojo.po.model.LidarPO">
|
|
update model_sensor_lidar set
|
|
update model_sensor_lidar set
|
|
- sensor_id = #{sensorId,jdbcType=VARCHAR},
|
|
|
|
|
|
+ sensor_code = #{sensorCode,jdbcType=VARCHAR},
|
|
sensor_name = #{sensorName,jdbcType=VARCHAR},
|
|
sensor_name = #{sensorName,jdbcType=VARCHAR},
|
|
description = #{description,jdbcType=VARCHAR},
|
|
description = #{description,jdbcType=VARCHAR},
|
|
near_distance = #{nearDistance,jdbcType=DECIMAL},
|
|
near_distance = #{nearDistance,jdbcType=DECIMAL},
|