贴地飞线接口
							parent
							
								
									065afe5e36
								
							
						
					
					
						commit
						ca3414e89d
					
				| @ -0,0 +1,9 @@ | ||||
| package com.glxp.api.dao.stat; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| import com.glxp.api.entity.stat.StatAmapFlowEntity; | ||||
| import org.apache.ibatis.annotations.Mapper; | ||||
| 
 | ||||
| @Mapper | ||||
| public interface StatAmapFlowMapper extends BaseMapper<StatAmapFlowEntity> { | ||||
| } | ||||
| @ -0,0 +1,38 @@ | ||||
| package com.glxp.api.entity.stat; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableField; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import java.io.Serializable; | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
| 
 | ||||
| @Data | ||||
| @Builder | ||||
| @AllArgsConstructor | ||||
| @NoArgsConstructor | ||||
| @TableName(value = "stat_amap_flow") | ||||
| public class StatAmapFlowEntity implements Serializable { | ||||
|     @TableId(value = "id", type = IdType.INPUT) | ||||
|     private Integer id; | ||||
| 
 | ||||
|     @TableField(value = "x") | ||||
|     private String x; | ||||
| 
 | ||||
|     @TableField(value = "y") | ||||
|     private String y; | ||||
| 
 | ||||
|     @TableField(value = "x1") | ||||
|     private String x1; | ||||
| 
 | ||||
|     @TableField(value = "y1") | ||||
|     private String y1; | ||||
| 
 | ||||
|     @TableField(value = "`count`") | ||||
|     private String count; | ||||
| 
 | ||||
|     private static final long serialVersionUID = 1L; | ||||
| } | ||||
| @ -0,0 +1,10 @@ | ||||
| package com.glxp.api.service.stat; | ||||
| 
 | ||||
| import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| import com.glxp.api.dao.stat.StatAmapFlowMapper; | ||||
| import com.glxp.api.entity.stat.StatAmapFlowEntity; | ||||
| @Service | ||||
| public class StatAmapFlowService extends ServiceImpl<StatAmapFlowMapper, StatAmapFlowEntity> { | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,18 @@ | ||||
| <?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.glxp.api.dao.stat.StatAmapFlowMapper"> | ||||
|   <resultMap id="BaseResultMap" type="com.glxp.api.entity.stat.StatAmapFlowEntity"> | ||||
|     <!--@mbg.generated--> | ||||
|     <!--@Table stat_amap_flow--> | ||||
|     <id column="id" jdbcType="INTEGER" property="id" /> | ||||
|     <result column="x" jdbcType="VARCHAR" property="x" /> | ||||
|     <result column="y" jdbcType="VARCHAR" property="y" /> | ||||
|     <result column="x1" jdbcType="VARCHAR" property="x1" /> | ||||
|     <result column="y1" jdbcType="VARCHAR" property="y1" /> | ||||
|     <result column="count" jdbcType="INTEGER" property="count" /> | ||||
|   </resultMap> | ||||
|   <sql id="Base_Column_List"> | ||||
|     <!--@mbg.generated--> | ||||
|     id, x, y, x1, y1, `count` | ||||
|   </sql> | ||||
| </mapper> | ||||
					Loading…
					
					
				
		Reference in New Issue