12 changed files with 360 additions and 0 deletions
@ -0,0 +1,46 @@ |
|||
package com.kms.yg.znjg.domain; |
|||
|
|||
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 java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* |
|||
* @TableName sy_scene |
|||
*/ |
|||
@TableName(value ="sy_scene") |
|||
@Data |
|||
public class SyScene implements Serializable { |
|||
/** |
|||
* 主键 |
|||
*/ |
|||
@TableId |
|||
private String id; |
|||
|
|||
/** |
|||
* 目录名称 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 发布时间 |
|||
*/ |
|||
private Date pubDate; |
|||
|
|||
/** |
|||
* 创建人 |
|||
*/ |
|||
private String createUser; |
|||
|
|||
/** |
|||
* 接口地址 |
|||
*/ |
|||
private String interfaceAddress; |
|||
|
|||
@TableField(exist = false) |
|||
private static final long serialVersionUID = 1L; |
|||
} |
@ -0,0 +1,82 @@ |
|||
package com.kms.yg.znjg.domain; |
|||
|
|||
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 java.util.Date; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* |
|||
* @TableName sy_scene_config_relation |
|||
*/ |
|||
@TableName(value ="sy_scene_config_relation") |
|||
@Data |
|||
public class SySceneConfigRelation implements Serializable { |
|||
/** |
|||
* 主键 |
|||
*/ |
|||
@TableId |
|||
private String id; |
|||
|
|||
/** |
|||
* 场景id |
|||
*/ |
|||
private String sceneId; |
|||
|
|||
/** |
|||
* 初始时间 |
|||
*/ |
|||
private Date initTime; |
|||
|
|||
/** |
|||
* 初始天气 |
|||
*/ |
|||
private String initWeather; |
|||
|
|||
/** |
|||
* 天气强度 |
|||
*/ |
|||
private Integer weatherIntensity; |
|||
|
|||
/** |
|||
* 环境光强度 |
|||
*/ |
|||
private Integer ambientLightIntensity; |
|||
|
|||
/** |
|||
* 移动灵敏度 |
|||
*/ |
|||
private Integer movementSensitivity; |
|||
|
|||
/** |
|||
* 旋转灵敏度 |
|||
*/ |
|||
private Integer rotationSensitivity; |
|||
|
|||
/** |
|||
* 缩放灵敏度 |
|||
|
|||
*/ |
|||
private Integer zoomSensitivity; |
|||
|
|||
/** |
|||
* 视点预览图 |
|||
*/ |
|||
private String viewImg; |
|||
|
|||
/** |
|||
* 关联图层id |
|||
*/ |
|||
private String layerId; |
|||
|
|||
/** |
|||
* 相机姿态信息 |
|||
*/ |
|||
private Object cameraPosture; |
|||
|
|||
@TableField(exist = false) |
|||
private static final long serialVersionUID = 1L; |
|||
} |
@ -0,0 +1,50 @@ |
|||
package com.kms.yg.znjg.domain; |
|||
|
|||
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.Data; |
|||
|
|||
/** |
|||
* |
|||
* @TableName sy_scene_layer_relation |
|||
*/ |
|||
@TableName(value ="sy_scene_layer_relation") |
|||
@Data |
|||
public class SySceneLayerRelation implements Serializable { |
|||
/** |
|||
* 主键 |
|||
*/ |
|||
@TableId |
|||
private String id; |
|||
|
|||
/** |
|||
* 场景id |
|||
*/ |
|||
private String sceneId; |
|||
|
|||
/** |
|||
* 目录id,和sy_dir的主键进行关联 |
|||
*/ |
|||
private String dirId; |
|||
|
|||
/** |
|||
* 图层id,和sy_layer的主键进行关联 |
|||
*/ |
|||
private String layerId; |
|||
|
|||
/** |
|||
* 排序序号值 |
|||
*/ |
|||
private Integer orderNm; |
|||
|
|||
/** |
|||
* 数据是否有效,用来标识逻辑删除,1:可用,0:已被逻辑删除 |
|||
*/ |
|||
private Integer isValid; |
|||
|
|||
@TableField(exist = false) |
|||
private static final long serialVersionUID = 1L; |
|||
} |
@ -0,0 +1,22 @@ |
|||
package com.kms.yg.znjg.mapper; |
|||
|
|||
import com.kms.yg.znjg.domain.SySceneConfigRelation; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.springframework.stereotype.Repository; |
|||
|
|||
/** |
|||
* @author lenovo |
|||
* @description 针对表【sy_scene_config_relation】的数据库操作Mapper |
|||
* @createDate 2024-03-08 15:17:57 |
|||
* @Entity com.kms.yg.znjg.domain.SySceneConfigRelation |
|||
*/ |
|||
@Repository |
|||
@Mapper |
|||
public interface SySceneConfigRelationMapper extends BaseMapper<SySceneConfigRelation> { |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,22 @@ |
|||
package com.kms.yg.znjg.mapper; |
|||
|
|||
import com.kms.yg.znjg.domain.SySceneLayerRelation; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.springframework.stereotype.Repository; |
|||
|
|||
/** |
|||
* @author lenovo |
|||
* @description 针对表【sy_scene_layer_relation】的数据库操作Mapper |
|||
* @createDate 2024-03-08 15:21:13 |
|||
* @Entity com.kms.yg.znjg.domain.SySceneLayerRelation |
|||
*/ |
|||
@Repository |
|||
@Mapper |
|||
public interface SySceneLayerRelationMapper extends BaseMapper<SySceneLayerRelation> { |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,22 @@ |
|||
package com.kms.yg.znjg.mapper; |
|||
|
|||
import com.kms.yg.znjg.domain.SyScene; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.springframework.stereotype.Repository; |
|||
|
|||
/** |
|||
* @author lenovo |
|||
* @description 针对表【sy_scene】的数据库操作Mapper |
|||
* @createDate 2024-03-08 15:14:11 |
|||
* @Entity com.kms.yg.znjg.domain.SyScene |
|||
*/ |
|||
@Repository |
|||
@Mapper |
|||
public interface SySceneMapper extends BaseMapper<SyScene> { |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,11 @@ |
|||
package com.kms.yg.znjg.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import com.kms.yg.znjg.domain.SySceneConfigRelation; |
|||
import com.kms.yg.znjg.mapper.SySceneConfigRelationMapper; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
public class SySceneConfigRelationService extends ServiceImpl<SySceneConfigRelationMapper, SySceneConfigRelation> { |
|||
|
|||
} |
@ -0,0 +1,17 @@ |
|||
package com.kms.yg.znjg.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import com.kms.yg.znjg.domain.SySceneLayerRelation; |
|||
import com.kms.yg.znjg.mapper.SySceneLayerRelationMapper; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* @author lenovo |
|||
* @description 针对表【sy_scene_layer_relation】的数据库操作Service实现 |
|||
* @createDate 2024-03-08 15:21:13 |
|||
*/ |
|||
@Service |
|||
public class SySceneLayerRelationService extends ServiceImpl<SySceneLayerRelationMapper, SySceneLayerRelation> { |
|||
|
|||
} |
@ -0,0 +1,21 @@ |
|||
package com.kms.yg.znjg.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import com.kms.yg.znjg.domain.SyScene; |
|||
import com.kms.yg.znjg.mapper.SySceneMapper; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* @author lenovo |
|||
* @description 针对表【sy_scene】的数据库操作Service实现 |
|||
* @createDate 2024-03-08 15:14:11 |
|||
*/ |
|||
@Service |
|||
public class SySceneService extends ServiceImpl<SySceneMapper, SyScene> { |
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,28 @@ |
|||
<?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.kms.yg.znjg.mapper.SySceneConfigRelationMapper"> |
|||
|
|||
<resultMap id="BaseResultMap" type="com.kms.yg.znjg.domain.SySceneConfigRelation"> |
|||
<id property="id" column="id" jdbcType="VARCHAR"/> |
|||
<result property="sceneId" column="scene_id" jdbcType="VARCHAR"/> |
|||
<result property="initTime" column="init_time" jdbcType="TIMESTAMP"/> |
|||
<result property="initWeather" column="init_weather" jdbcType="VARCHAR"/> |
|||
<result property="weatherIntensity" column="weather_intensity" jdbcType="INTEGER"/> |
|||
<result property="ambientLightIntensity" column="ambient_light_intensity" jdbcType="INTEGER"/> |
|||
<result property="movementSensitivity" column="movement_sensitivity" jdbcType="INTEGER"/> |
|||
<result property="rotationSensitivity" column="rotation_sensitivity" jdbcType="INTEGER"/> |
|||
<result property="zoomSensitivity" column="zoom_sensitivity" jdbcType="INTEGER"/> |
|||
<result property="viewImg" column="view_img" jdbcType="VARCHAR"/> |
|||
<result property="layerId" column="layer_id" jdbcType="VARCHAR"/> |
|||
<result property="cameraPosture" column="camera_posture" jdbcType="OTHER"/> |
|||
</resultMap> |
|||
|
|||
<sql id="Base_Column_List"> |
|||
id,scene_id,init_time, |
|||
init_weather,weather_intensity,ambient_light_intensity, |
|||
movement_sensitivity,rotation_sensitivity,zoom_sensitivity, |
|||
view_img,layer_id,camera_posture |
|||
</sql> |
|||
</mapper> |
@ -0,0 +1,20 @@ |
|||
<?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.kms.yg.znjg.mapper.SySceneLayerRelationMapper"> |
|||
|
|||
<resultMap id="BaseResultMap" type="com.kms.yg.znjg.domain.SySceneLayerRelation"> |
|||
<id property="id" column="id" jdbcType="VARCHAR"/> |
|||
<result property="sceneId" column="scene_id" jdbcType="VARCHAR"/> |
|||
<result property="dirId" column="dir_id" jdbcType="VARCHAR"/> |
|||
<result property="layerId" column="layer_id" jdbcType="VARCHAR"/> |
|||
<result property="orderNm" column="order_nm" jdbcType="DECIMAL"/> |
|||
<result property="isValid" column="is_valid" jdbcType="INTEGER"/> |
|||
</resultMap> |
|||
|
|||
<sql id="Base_Column_List"> |
|||
id,scene_id,dir_id, |
|||
layer_id,order_nm,is_valid |
|||
</sql> |
|||
</mapper> |
@ -0,0 +1,19 @@ |
|||
<?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.kms.yg.znjg.mapper.SySceneMapper"> |
|||
|
|||
<resultMap id="BaseResultMap" type="com.kms.yg.znjg.domain.SyScene"> |
|||
<id property="id" column="id" jdbcType="VARCHAR"/> |
|||
<result property="name" column="name" jdbcType="VARCHAR"/> |
|||
<result property="pubDate" column="pub_date" jdbcType="TIMESTAMP"/> |
|||
<result property="createUser" column="create_user" jdbcType="VARCHAR"/> |
|||
<result property="interfaceAddress" column="interface_address" jdbcType="VARCHAR"/> |
|||
</resultMap> |
|||
|
|||
<sql id="Base_Column_List"> |
|||
id,name,pub_date, |
|||
create_user,interface_address |
|||
</sql> |
|||
</mapper> |
Loading…
Reference in new issue