|
@@ -1,45 +0,0 @@
|
|
|
-package com.css.simulation.resource.scheduler.mapper;
|
|
|
-
|
|
|
-import com.css.simulation.resource.scheduler.pojo.po.TaskPO;
|
|
|
-import org.apache.ibatis.annotations.*;
|
|
|
-import org.apache.ibatis.type.JdbcType;
|
|
|
-
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-@Mapper
|
|
|
-public interface TaskMapper {
|
|
|
-
|
|
|
- @Results(id = "task", value = {
|
|
|
- @Result(column = "id", property = "id", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "scene_type", property = "sceneType", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "sn_scenario_osc", property = "snScenarioOsc", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "sn_scenario_odr", property = "snScenarioOdr", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "sn_scenario_osgb", property = "snScenarioOsgb", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "scr_scenario_osc", property = "scrScenarioOsc", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "scr_scenario_odr", property = "scrScenarioOdr", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "scr_scenario_osgb", property = "scrScenarioOsgb", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "sa_scenario_osc", property = "saScenarioOsc", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "sa_scenario_odr", property = "saScenarioOdr", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "sa_scenario_osgb", property = "saScenarioOsgb", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "vehicle_id", property = "vehicleId", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "max_speed", property = "maxSpeed", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "engine_power", property = "enginePower", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "max_deceleration", property = "maxDeceleration", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "max_steering_angle", property = "maxSteeringAngle", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "mass", property = "mass", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "front_surface_effective", property = "frontSurfaceEffective", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "air_drag_coefficient", property = "airDragCoefficient", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "rolling_resistance_coefficient", property = "rollingResistanceCoefficient", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "wheel_diameter", property = "wheelDiameter", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "wheel_drive", property = "wheelDrive", jdbcType = JdbcType.VARCHAR),
|
|
|
- @Result(column = "overall_efficiency", property = "overallEfficiency", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "front_distance", property = "frontDistance", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "rear_distance", property = "rearDistance", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "left_distance", property = "leftDistance", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "right_distance", property = "rightDistance", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "height_distance", property = "heightDistance", jdbcType = JdbcType.DECIMAL),
|
|
|
- @Result(column = "wheelbase", property = "wheelbase", jdbcType = JdbcType.DECIMAL),
|
|
|
- })
|
|
|
- @Select("")
|
|
|
- List<TaskPO> selectNaturalByProjectId(@Param("projectId") String projectId);
|
|
|
-}
|