javaweb-plus/javaweb-cms/src/main/resources/mapper/geo/DeviceMapper.xml
@@ -22,7 +22,7 @@ <select id="selectDeviceList" parameterType="Device" resultMap="DeviceResult"> <include refid="selectDeviceVo"/> <where> <where> <if test="code != null and code != ''"> and code like concat('%', #{code}, '%')</if> <if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if> <if test="type != null and type != ''"> and type like concat('%', #{type}, '%')</if>