|
@@ -35,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectPdmVehicleAlarmById" parameterType="Long" resultMap="PdmVehicleAlarmResult">
|
|
|
<include refid="selectPdmVehicleAlarmVo"/>
|
|
|
where id = #{id}
|
|
|
- </select>
|
|
|
+ </select>
|
|
|
|
|
|
<insert id="insertPdmVehicleAlarm" parameterType="PdmVehicleAlarm" useGeneratedKeys="true" keyProperty="id">
|
|
|
insert into pdm_vehicle_alarm
|
|
@@ -119,4 +119,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<delete id="deletePdmVehicleAlarmByVehicleNo" parameterType="String">
|
|
|
delete from pdm_vehicle_alarm where vehicle_no = #{vehicleNo}
|
|
|
</delete>
|
|
|
+ <update id="getVehiclesLastStatus" statementType="CALLABLE">
|
|
|
+ {call getVehiclesLastStatusProc()}
|
|
|
+ </update>
|
|
|
</mapper>
|