修改按名称查询报错的问题
This commit is contained in:
@@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectSubwayLineList" parameterType="SubwayLine" resultMap="SubwayLineResult">
|
||||
<include refid="selectSubwayLineVo"/>
|
||||
<where> del_flag = '0'
|
||||
<if test="lineName != null and lineName != ''"> and line_name like concat('%', #{lineName}, '%')</if>
|
||||
<if test="lineName != null and lineName != ''"> and line_name like concat('%', cast(#{lineName, jdbcType=VARCHAR} as varchar), '%')</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="appSubway" resultMap="SubwayLineStationResult">
|
||||
|
||||
Reference in New Issue
Block a user