ThirdMapper.xml
448 字节
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.jkdata.mapper.ThirdMapper">
<insert id="addDataToDataBase">
${sql}
</insert>
<select id="getRealTimeLocation" resultType="com.jkdata.entity.ThirdPosition">
select * from sys_cmcc_position where node_id = #{deviceId} order by create_time limit 1
</select>
</mapper>