Compare commits

..

5 Commits

Author SHA1 Message Date
wangwenhua
45007d9b8f 气象资源设定 2025-09-14 15:30:47 +08:00
wangwenhua
31b7510ec7 气象资源表代码 2025-09-14 15:29:48 +08:00
wangwenhua
bfcc7cc3aa Merge branch 'main' of http://git.hivekion.com:3000/liyudong/simulation-backend 2025-09-14 14:55:12 +08:00
wangwenhua
f1d71dd3ab Merge branch 'main' of http://git.hivekion.com:3000/liyudong/simulation-backend 2025-09-14 14:28:44 +08:00
wangwenhua
3c9cd9d7dd 医院,仓库,车辆资源表代码 2025-09-14 14:26:58 +08:00
26 changed files with 804 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import com.hivekion.common.enums.ResultCodeEnum;
import com.hivekion.common.security.SecurityUtils; import com.hivekion.common.security.SecurityUtils;
import com.hivekion.common.uuid.IdUtils; import com.hivekion.common.uuid.IdUtils;
import com.hivekion.icon.service.IconService; import com.hivekion.icon.service.IconService;
import com.hivekion.scenario.service.IResourceService;
import com.hivekion.scenario.service.ScenarioResourceService; import com.hivekion.scenario.service.ScenarioResourceService;
import com.hivekion.team.entity.Teaminfo; import com.hivekion.team.entity.Teaminfo;
import com.hivekion.team.service.ITeaminfoService; import com.hivekion.team.service.ITeaminfoService;
@ -54,6 +55,9 @@ public class ScenarioController extends BaseController {
@Resource @Resource
private ScenarioResourceService scenarioResourceService; private ScenarioResourceService scenarioResourceService;
@Resource
private IResourceService iResourceService;
/** /**
* 查询想定列表 * 查询想定列表
* *
@ -172,8 +176,16 @@ public class ScenarioController extends BaseController {
} }
/** /**
* 获取想定资源 type=1 飞机 对应tbl_entity表中id=1 || type=2 地面兵力于设施 对应tbl_entity 表中id=4 ||type=3 水面舰艇 id=2 * 获取想定资源
* type=4 潜艇 id=3|| type=5 作战部队 对应tbl_teaminfo中 type=0 ||type=6 保障部队 对应tbl_teaminfo type=1 *
* type=1 飞机 对应tbl_entity表中id=1 ||
* type=2 地面兵力于设施 对应tbl_entity 表中id=4 ||
* type=3 水面舰艇 id=2
* type=4 潜艇 id=3||
* type=5 作战部队 对应tbl_teaminfo中 type=0 ||
* type=6 保障部队 对应tbl_teaminfo type=1
* type =7 医院
* tupe=8 仓库
* *
* @param type 类型 * @param type 类型
* @return 资源信息 * @return 资源信息
@ -202,6 +214,12 @@ public class ScenarioController extends BaseController {
case 6: case 6:
return ResponseData.success( return ResponseData.success(
covertTeamInfoToResource(type, iTeaminfoService.queryByType(1), iconMap)); covertTeamInfoToResource(type, iTeaminfoService.queryByType(1), iconMap));
case 7:
return ResponseData.success(
covertBuildInfoToResource(type,iResourceService.listAllBuildResourceByType(7),iconMap));
case 8:
return ResponseData.success(
covertBuildInfoToResource(type,iResourceService.listAllBuildResourceByType(8),iconMap));
default: default:
return ResponseData.error(ResultCodeEnum.PARAMETER_ERROR, null); return ResponseData.error(ResultCodeEnum.PARAMETER_ERROR, null);
@ -236,4 +254,18 @@ public class ScenarioController extends BaseController {
}); });
return resources; return resources;
} }
private List<ScenarioResource> covertBuildInfoToResource(Integer type, List<com.hivekion.scenario.entity.Resource> list,
Map<String, String> iconMap) {
List<ScenarioResource> resources = new ArrayList<>();
list.forEach(e -> {
ScenarioResource resource = new ScenarioResource();
resource.setId(e.getId());
resource.setType(type);
resource.setName(e.getResourceName());
resource.setImgBase64(iconMap.get(e.getIcon()));
resources.add(resource);
});
return resources;
}
} }

View File

@ -0,0 +1,18 @@
package com.hivekion.baseData.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
/**
* <p>
* 气像资源信息 前端控制器
* </p>
*
* @author liDongYu
* @since 2025-09-14
*/
@Controller
@RequestMapping("/baseData/weatherResource")
public class WeatherResourceController {
}

View File

@ -0,0 +1,103 @@
package com.hivekion.baseData.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* <p>
* 气像资源信息
* </p>
*
* @author liDongYu
* @since 2025-09-14
*/
@TableName("TBL_WEATHER_RESOURCE")
@ApiModel(value = "WeatherResource对象", description = "气像资源信息")
public class WeatherResource implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("物理主键")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@ApiModelProperty("想定房间编号")
private String roomId;
@ApiModelProperty("想定场景编号")
private Integer scenarioId;
@ApiModelProperty("天气类型")
private String weatherType;
@ApiModelProperty("持续开始时间")
private LocalDateTime lastBegTime;
@ApiModelProperty("持续结束时间")
private LocalDateTime lastEndTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRoomId() {
return roomId;
}
public void setRoomId(String roomId) {
this.roomId = roomId;
}
public Integer getScenarioId() {
return scenarioId;
}
public void setScenarioId(Integer scenarioId) {
this.scenarioId = scenarioId;
}
public String getWeatherType() {
return weatherType;
}
public void setWeatherType(String weatherType) {
this.weatherType = weatherType;
}
public LocalDateTime getLastBegTime() {
return lastBegTime;
}
public void setLastBegTime(LocalDateTime lastBegTime) {
this.lastBegTime = lastBegTime;
}
public LocalDateTime getLastEndTime() {
return lastEndTime;
}
public void setLastEndTime(LocalDateTime lastEndTime) {
this.lastEndTime = lastEndTime;
}
@Override
public String toString() {
return "WeatherResource{" +
"id = " + id +
", roomId = " + roomId +
", scenarioId = " + scenarioId +
", weatherType = " + weatherType +
", lastBegTime = " + lastBegTime +
", lastEndTime = " + lastEndTime +
"}";
}
}

View File

@ -0,0 +1,16 @@
package com.hivekion.baseData.mapper;
import com.hivekion.baseData.entity.WeatherResource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 气像资源信息 Mapper 接口
* </p>
*
* @author liDongYu
* @since 2025-09-14
*/
public interface WeatherResourceMapper extends BaseMapper<WeatherResource> {
}

View File

@ -0,0 +1,16 @@
package com.hivekion.baseData.service;
import com.hivekion.baseData.entity.WeatherResource;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 气像资源信息 服务类
* </p>
*
* @author liDongYu
* @since 2025-09-14
*/
public interface IWeatherResourceService extends IService<WeatherResource> {
}

View File

@ -0,0 +1,20 @@
package com.hivekion.baseData.service.impl;
import com.hivekion.baseData.entity.WeatherResource;
import com.hivekion.baseData.mapper.WeatherResourceMapper;
import com.hivekion.baseData.service.IWeatherResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 气像资源信息 服务实现类
* </p>
*
* @author liDongYu
* @since 2025-09-14
*/
@Service
public class WeatherResourceServiceImpl extends ServiceImpl<WeatherResourceMapper, WeatherResource> implements IWeatherResourceService {
}

View File

@ -0,0 +1,18 @@
package com.hivekion.scenario.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
/**
* <p>
* 建筑资源表 前端控制器
* </p>
*
* @author wangWenHua
* @since 2025-09-14
*/
@Controller
@RequestMapping("/scenario/resource")
public class ResourceController {
}

View File

@ -0,0 +1,18 @@
package com.hivekion.scenario.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
/**
* <p>
* 资源车辆表 前端控制器
* </p>
*
* @author wangWenHua
* @since 2025-09-13
*/
@Controller
@RequestMapping("/scenario/resourceVehicleRela")
public class ResourceVehicleRelaController {
}

View File

@ -0,0 +1,18 @@
package com.hivekion.scenario.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
/**
* <p>
* 车辆信息表 前端控制器
* </p>
*
* @author liDongYu
* @since 2025-09-13
*/
@Controller
@RequestMapping("/scenario/vehicle")
public class VehicleController {
}

View File

@ -0,0 +1,139 @@
package com.hivekion.scenario.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* <p>
* 建筑资源表
* </p>
*
* @author wangWenHua
* @since 2025-09-14
*/
@TableName("TBL_RESOURCE")
@ApiModel(value = "Resource对象", description = "建筑资源表")
public class Resource implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("物理主键id")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@ApiModelProperty("设施名称")
private String resourceName;
@ApiModelProperty("设施图标")
private String icon;
@ApiModelProperty("纬度")
private BigDecimal lat;
@ApiModelProperty("经度")
private BigDecimal lng;
@ApiModelProperty("设施属性")
private byte[] resourceAttribut;
@ApiModelProperty("创建人")
private String createOper;
@ApiModelProperty("更新人")
private String updOper;
@ApiModelProperty("保障建筑资源类型")
private Integer resourceType;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getResourceName() {
return resourceName;
}
public void setResourceName(String resourceName) {
this.resourceName = resourceName;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public BigDecimal getLat() {
return lat;
}
public void setLat(BigDecimal lat) {
this.lat = lat;
}
public BigDecimal getLng() {
return lng;
}
public void setLng(BigDecimal lng) {
this.lng = lng;
}
public byte[] getResourceAttribut() {
return resourceAttribut;
}
public void setResourceAttribut(byte[] resourceAttribut) {
this.resourceAttribut = resourceAttribut;
}
public String getCreateOper() {
return createOper;
}
public void setCreateOper(String createOper) {
this.createOper = createOper;
}
public String getUpdOper() {
return updOper;
}
public void setUpdOper(String updOper) {
this.updOper = updOper;
}
public Integer getResourceType() {
return resourceType;
}
public void setResourceType(Integer resourceType) {
this.resourceType = resourceType;
}
@Override
public String toString() {
return "Resource{" +
"id = " + id +
", resourceName = " + resourceName +
", icon = " + icon +
", lat = " + lat +
", lng = " + lng +
", resourceAttribut = " + resourceAttribut +
", createOper = " + createOper +
", updOper = " + updOper +
", resourceType = " + resourceType +
"}";
}
}

View File

@ -0,0 +1,51 @@
package com.hivekion.scenario.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* <p>
* 资源车辆表
* </p>
*
* @author wangWenHua
* @since 2025-09-13
*/
@TableName("TBL_RESOURCE_VEHICLE_RELA")
@ApiModel(value = "ResourceVehicleRela对象", description = "资源车辆表")
public class ResourceVehicleRela implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("资源id")
private Integer resourceId;
@ApiModelProperty("车辆id")
private Integer vehicleId;
public Integer getResourceId() {
return resourceId;
}
public void setResourceId(Integer resourceId) {
this.resourceId = resourceId;
}
public Integer getVehicleId() {
return vehicleId;
}
public void setVehicleId(Integer vehicleId) {
this.vehicleId = vehicleId;
}
@Override
public String toString() {
return "ResourceVehicleRela{" +
"resourceId = " + resourceId +
", vehicleId = " + vehicleId +
"}";
}
}

View File

@ -0,0 +1,135 @@
package com.hivekion.scenario.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* <p>
* 车辆信息表
* </p>
*
* @author liDongYu
* @since 2025-09-13
*/
@TableName("TBL_VEHICLE")
@ApiModel(value = "Vehicle对象", description = "车辆信息表")
public class Vehicle implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("物理主键id")
private Integer id;
@ApiModelProperty("名称")
private String vehicleName;
@ApiModelProperty("速度")
private String vehicleSpreed;
@ApiModelProperty("类型")
private String vehicleType;
@ApiModelProperty("运油能力")
private Integer fuelAbility;
@ApiModelProperty("运药能力")
private Integer medicalAbility;
@ApiModelProperty("运弹药能力")
private Integer ammunitionAbility;
@ApiModelProperty("创建人")
private String createOper;
@ApiModelProperty("更新人")
private String updOper;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getVehicleName() {
return vehicleName;
}
public void setVehicleName(String vehicleName) {
this.vehicleName = vehicleName;
}
public String getVehicleSpreed() {
return vehicleSpreed;
}
public void setVehicleSpreed(String vehicleSpreed) {
this.vehicleSpreed = vehicleSpreed;
}
public String getVehicleType() {
return vehicleType;
}
public void setVehicleType(String vehicleType) {
this.vehicleType = vehicleType;
}
public Integer getFuelAbility() {
return fuelAbility;
}
public void setFuelAbility(Integer fuelAbility) {
this.fuelAbility = fuelAbility;
}
public Integer getMedicalAbility() {
return medicalAbility;
}
public void setMedicalAbility(Integer medicalAbility) {
this.medicalAbility = medicalAbility;
}
public Integer getAmmunitionAbility() {
return ammunitionAbility;
}
public void setAmmunitionAbility(Integer ammunitionAbility) {
this.ammunitionAbility = ammunitionAbility;
}
public String getCreateOper() {
return createOper;
}
public void setCreateOper(String createOper) {
this.createOper = createOper;
}
public String getUpdOper() {
return updOper;
}
public void setUpdOper(String updOper) {
this.updOper = updOper;
}
@Override
public String toString() {
return "Vehicle{" +
"id = " + id +
", vehicleName = " + vehicleName +
", vehicleSpreed = " + vehicleSpreed +
", vehicleType = " + vehicleType +
", fuelAbility = " + fuelAbility +
", medicalAbility = " + medicalAbility +
", ammunitionAbility = " + ammunitionAbility +
", createOper = " + createOper +
", updOper = " + updOper +
"}";
}
}

View File

@ -0,0 +1,16 @@
package com.hivekion.scenario.mapper;
import com.hivekion.scenario.entity.Resource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 建筑资源表 Mapper 接口
* </p>
*
* @author wangWenHua
* @since 2025-09-14
*/
public interface ResourceMapper extends BaseMapper<Resource> {
}

View File

@ -0,0 +1,16 @@
package com.hivekion.scenario.mapper;
import com.hivekion.scenario.entity.ResourceVehicleRela;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 资源车辆表 Mapper 接口
* </p>
*
* @author wangWenHua
* @since 2025-09-13
*/
public interface ResourceVehicleRelaMapper extends BaseMapper<ResourceVehicleRela> {
}

View File

@ -0,0 +1,16 @@
package com.hivekion.scenario.mapper;
import com.hivekion.scenario.entity.Vehicle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 车辆信息表 Mapper 接口
* </p>
*
* @author liDongYu
* @since 2025-09-13
*/
public interface VehicleMapper extends BaseMapper<Vehicle> {
}

View File

@ -0,0 +1,20 @@
package com.hivekion.scenario.service;
import com.hivekion.scenario.entity.Resource;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
* <p>
* 建筑资源表 服务类
* </p>
*
* @author wangWenHua
* @since 2025-09-14
*/
public interface IResourceService extends IService<Resource> {
public List<Resource> listAllBuildResourceByType(Integer type);
}

View File

@ -0,0 +1,16 @@
package com.hivekion.scenario.service;
import com.hivekion.scenario.entity.ResourceVehicleRela;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 资源车辆表 服务类
* </p>
*
* @author wangWenHua
* @since 2025-09-13
*/
public interface IResourceVehicleRelaService extends IService<ResourceVehicleRela> {
}

View File

@ -0,0 +1,16 @@
package com.hivekion.scenario.service;
import com.hivekion.scenario.entity.Vehicle;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 车辆信息表 服务类
* </p>
*
* @author liDongYu
* @since 2025-09-13
*/
public interface IVehicleService extends IService<Vehicle> {
}

View File

@ -0,0 +1,29 @@
package com.hivekion.scenario.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hivekion.scenario.entity.Resource;
import com.hivekion.scenario.mapper.ResourceMapper;
import com.hivekion.scenario.service.IResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* <p>
* 建筑资源表 服务实现类
* </p>
*
* @author wangWenHua
* @since 2025-09-14
*/
@Service
public class ResourceServiceImpl extends ServiceImpl<ResourceMapper, Resource> implements IResourceService {
@Override
public List<Resource> listAllBuildResourceByType(Integer type) {
QueryWrapper<Resource> queryWrapper = new QueryWrapper<>();
queryWrapper.eq(type != null,"resource_type",type);
return this.list(queryWrapper);
}
}

View File

@ -0,0 +1,20 @@
package com.hivekion.scenario.service.impl;
import com.hivekion.scenario.entity.ResourceVehicleRela;
import com.hivekion.scenario.mapper.ResourceVehicleRelaMapper;
import com.hivekion.scenario.service.IResourceVehicleRelaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 资源车辆表 服务实现类
* </p>
*
* @author wangWenHua
* @since 2025-09-13
*/
@Service
public class ResourceVehicleRelaServiceImpl extends ServiceImpl<ResourceVehicleRelaMapper, ResourceVehicleRela> implements IResourceVehicleRelaService {
}

View File

@ -1,10 +1,14 @@
package com.hivekion.scenario.service.impl; package com.hivekion.scenario.service.impl;
import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hivekion.Global; import com.hivekion.Global;
import com.hivekion.baseData.entity.Scenario; import com.hivekion.baseData.entity.Scenario;
import com.hivekion.baseData.entity.WeatherResource;
import com.hivekion.baseData.service.IWeatherResourceService;
import com.hivekion.baseData.service.ScenarioService; import com.hivekion.baseData.service.ScenarioService;
import com.hivekion.common.entity.ResponseCmdInfo;
import com.hivekion.common.redis.RedisUtil; import com.hivekion.common.redis.RedisUtil;
import com.hivekion.environment.entity.SimtoolWeather; import com.hivekion.environment.entity.SimtoolWeather;
import com.hivekion.environment.service.SimtoolWeatherService; import com.hivekion.environment.service.SimtoolWeatherService;
@ -12,6 +16,9 @@ import com.hivekion.scenario.entity.ScenarioTask;
import com.hivekion.scenario.mapper.ScenarioTaskMapper; import com.hivekion.scenario.mapper.ScenarioTaskMapper;
import com.hivekion.scenario.service.ScenarioTaskService; import com.hivekion.scenario.service.ScenarioTaskService;
import com.hivekion.thread.SpringGlobalTaskManager; import com.hivekion.thread.SpringGlobalTaskManager;
import java.text.SimpleDateFormat;
import java.time.format.DateTimeFormatter;
import java.util.List; import java.util.List;
import javax.annotation.Resource; import javax.annotation.Resource;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
@ -39,6 +46,9 @@ public class ScenarioTaskServiceImpl extends
@Resource @Resource
private ScenarioService scenarioService; private ScenarioService scenarioService;
@Resource
private IWeatherResourceService weatherResourceService;
@Override @Override
public void start(Integer id, String roomId) { public void start(Integer id, String roomId) {
//想定当前持续时间 //想定当前持续时间
@ -109,6 +119,25 @@ public class ScenarioTaskServiceImpl extends
* @param roomId 房间ID * @param roomId 房间ID
*/ */
private void weatherTrigger(Scenario currentScenario, String roomId) { private void weatherTrigger(Scenario currentScenario, String roomId) {
try {
QueryWrapper<WeatherResource> weatherResourceQueryWrapper = new QueryWrapper<>();
weatherResourceQueryWrapper.eq("scenario_id", currentScenario.getId()).eq("room_id", roomId);
WeatherResource weatherResource = this.weatherResourceService.getOne(weatherResourceQueryWrapper);
ResponseCmdInfo<JSONObject> responseCmdInfo = new ResponseCmdInfo();
responseCmdInfo.setScenarioId(currentScenario.getId());
responseCmdInfo.setRoom(roomId);
JSONObject weatherMsg = new JSONObject();
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
weatherMsg.putOnce("begTime", dtf.format(weatherResource.getLastBegTime()));
weatherMsg.putOnce("endTime", dtf.format(weatherResource.getLastEndTime()));
responseCmdInfo.setCmdType("66-" + weatherResource.getWeatherType());
responseCmdInfo.setData(weatherMsg);
Global.sendCmdInfoQueue.add(responseCmdInfo);
}catch (Exception ex){
ex.printStackTrace();
log.error(ex.getMessage());
}
} }

View File

@ -0,0 +1,20 @@
package com.hivekion.scenario.service.impl;
import com.hivekion.scenario.entity.Vehicle;
import com.hivekion.scenario.mapper.VehicleMapper;
import com.hivekion.scenario.service.IVehicleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 车辆信息表 服务实现类
* </p>
*
* @author liDongYu
* @since 2025-09-13
*/
@Service
public class VehicleServiceImpl extends ServiceImpl<VehicleMapper, Vehicle> implements IVehicleService {
}

View File

@ -0,0 +1,5 @@
<?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.hivekion.scenario.mapper.ResourceMapper">
</mapper>

View File

@ -0,0 +1,5 @@
<?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.hivekion.scenario.mapper.ResourceVehicleRelaMapper">
</mapper>

View File

@ -0,0 +1,5 @@
<?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.hivekion.scenario.mapper.VehicleMapper">
</mapper>

View File

@ -0,0 +1,5 @@
<?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.hivekion.baseData.mapper.WeatherResourceMapper">
</mapper>