大数据全系列 教程
1869个小节阅读:467.2k
目录
408考研
JAVA全系列 教程
面向对象的程序设计语言
Python全系列 教程
Python3.x版本,未来主流的版本
人工智能 教程
顺势而为,AI创新未来
大厂算法 教程
算法,程序员自我提升必经之路
C++ 教程
一门通用计算机编程语言
微服务 教程
目前业界流行的框架组合
web前端全系列 教程
通向WEB技术世界的钥匙
大数据全系列 教程
站在云端操控万千数据
AIGC全能工具班
A A
White Night
xxxxxxxxxx
create table "VIRTUAL_STATIONS" (
"ROW" varchar primary key,
"f1"."ORDER_ID" varchar ,
"f1"."CITY_ID" varchar ,
"f1"."STARTING_LNG" varchar ,
"f1"."STARTING_LAT" varchar
)column_encoded_bytes=0;
xxxxxxxxxx
package com.itbaizhan.pojo;
import lombok.Data;
/**
* 虚拟车站
*/
@Data
public class VirtualStations {
private String ROW;
// 订单id
private String ORDER_ID;
// 城市id
private String CITY_ID;
// 经度
private String STARTING_LNG;
// 纬度
private String STARTING_LAT;
}
xxxxxxxxxx
package com.itbaizhan.dao;
import com.itbaizhan.pojo.VirtualStations;
import java.util.List;
public interface VirtualStationsDao {
/**
* 查询虚拟车站信息
* @return
*/
List<VirtualStations> findByAll();
}
xxxxxxxxxx
<?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.itbaizhan.dao.VirtualStationsDao">
<select id="findByAll" resultType="com.itbaizhan.pojo.VirtualStations">
select * from "VIRTUAL_STATIONS"
</select>
</mapper>