Commit aac17b1e authored by duanruiming's avatar duanruiming

[update] 添加查询sql

parent a38fb65a
...@@ -22,4 +22,6 @@ public interface CrossSchemeMapper { ...@@ -22,4 +22,6 @@ public interface CrossSchemeMapper {
List<CrossSchemePO> selectByCrossId(@Param("crossId") String crossId); List<CrossSchemePO> selectByCrossId(@Param("crossId") String crossId);
void deleteByCrossId(String crossId); void deleteByCrossId(String crossId);
CrossSchemePO selectSchemePOById(@Param("id") Integer id);
} }
...@@ -53,4 +53,11 @@ ...@@ -53,4 +53,11 @@
where cross_id = #{crossId} where cross_id = #{crossId}
</select> </select>
<select id="selectSchemePOById" resultMap="BaseResultMap">
select
id,scheme_no,name,cross_id,cycle,coord_phase,offset,source,is_deleted,gmt_create,gmt_modified
from t_cross_scheme
where id = #{id}
</select>
</mapper> </mapper>
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