highgo database
This commit is contained in:
@@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<select id="selectSubwayLineList" parameterType="SubwayLine" resultMap="SubwayLineResult">
|
||||
<include refid="selectSubwayLineVo"/>
|
||||
<where> del_flag = 0
|
||||
<where> del_flag = '0'
|
||||
<if test="lineName != null and lineName != ''"> and line_name like concat('%', #{lineName}, '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
@@ -41,6 +41,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
select l.line_id, l.line_name,s.station_id, s.station_name, s.line_name,s.latitude, s.longitude,s.station_order
|
||||
from subway_line as l
|
||||
inner join subway_station as s on s.line_id = l.line_id
|
||||
where l.del_flag = 0 and s.del_flag = 0
|
||||
where l.del_flag = '0' and s.del_flag = '0'
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user