|
|
@ -162,5 +162,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<select id="selectStationIdByCode" resultType="java.lang.Long" parameterType="java.lang.String">
|
|
|
|
<select id="selectStationIdByCode" resultType="java.lang.Long" parameterType="java.lang.String">
|
|
|
|
SELECT x.maint_station_id FROM `hwjy-cloud`.dms_base_maint_station x where x.maint_station_code = #{maintStationCode}
|
|
|
|
SELECT x.maint_station_id FROM `hwjy-cloud`.dms_base_maint_station x where x.maint_station_code = #{maintStationCode}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectStandardId" resultType="java.lang.Long" parameterType="java.lang.Long">
|
|
|
|
|
|
|
|
select
|
|
|
|
|
|
|
|
dbms.maint_standard_id
|
|
|
|
|
|
|
|
from
|
|
|
|
|
|
|
|
`hwjy-cloud`.dms_base_maint_station x left join dms_base_maint_standard dbms on x.protocol_code = dbms.maint_standard_code
|
|
|
|
|
|
|
|
where
|
|
|
|
|
|
|
|
x.maint_station_id = #{stationId}
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|