Commit 7cce213a authored by zhouleilei's avatar zhouleilei

优化 方案配置列表 接口

parent 067de959
...@@ -30,6 +30,8 @@ public interface BaseCrossLaneLightsMapper { ...@@ -30,6 +30,8 @@ public interface BaseCrossLaneLightsMapper {
Integer selectLightsIdByLaneId(@Param("crossId") String crossId, @Param("laneId") String laneId); Integer selectLightsIdByLaneId(@Param("crossId") String crossId, @Param("laneId") String laneId);
List<CrossLaneLightsPO> selectByCrossId(@Param("crossId") String crossId);
List<CrossLaneLightsPO> selectLanesByLightId(@Param("crossId") String crossId, List<CrossLaneLightsPO> selectLanesByLightId(@Param("crossId") String crossId,
@Param("lightId") Integer lightId); @Param("lightId") Integer lightId);
......
...@@ -21,6 +21,8 @@ public interface LaneInfoMapper { ...@@ -21,6 +21,8 @@ public interface LaneInfoMapper {
List<LaneInfoPO> selectBycrossId(@Param("crossId") String crossId); List<LaneInfoPO> selectBycrossId(@Param("crossId") String crossId);
List<LaneInfoPO> selectBycrossIdAll(@Param("crossId") String crossId);
LaneInfoPO selectByCrossIdDirCode(@Param("crossId") String crossId, LaneInfoPO selectByCrossIdDirCode(@Param("crossId") String crossId,
@Param("dir") Integer dir, @Param("dir") Integer dir,
@Param("code") String code); @Param("code") String code);
......
...@@ -74,6 +74,13 @@ ...@@ -74,6 +74,13 @@
where cross_id = #{crossId} and lights_id = #{lightId} where cross_id = #{crossId} and lights_id = #{lightId}
</select> </select>
<select id="selectByCrossId" resultMap="BaseResultMap">
select
id,lights_id,lane_id,cross_id,gmt_create,gmt_modified
from t_base_cross_lane_lights
where cross_id = #{crossId}
</select>
<select id="selectByLightsId" resultMap="BaseResultMap"> <select id="selectByLightsId" resultMap="BaseResultMap">
select select
id,lights_id,lane_id,cross_id,gmt_create,gmt_modified id,lights_id,lane_id,cross_id,gmt_create,gmt_modified
......
...@@ -51,6 +51,13 @@ ...@@ -51,6 +51,13 @@
where cross_id = #{crossId} and type = 2 where cross_id = #{crossId} and type = 2
</select> </select>
<select id="selectBycrossIdAll" resultMap="BaseResultMap">
select
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,wkt,gmt_create,gmt_modified
from t_base_lane_info
where cross_id = #{crossId}
</select>
<select id="selectByCrossIdDirCode" resultMap="BaseResultMap"> <select id="selectByCrossIdDirCode" resultMap="BaseResultMap">
select select
id,code,sort,type,dir,turn,category,cross_id,rid,length,width,wkt,gmt_create,gmt_modified id,code,sort,type,dir,turn,category,cross_id,rid,length,width,wkt,gmt_create,gmt_modified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment