src/main/java/org/springblade/modules/device/mapper/DeviceMapper.xml
@@ -21,7 +21,11 @@ <select id="selectDevicePage" resultMap="deviceResultMap"> select * from sys_device where is_deleted = 0 select * from sys_device where is_deleted = 0 <if test="device.name !=null and device.name !=''"> AND name LIKE CONCAT('%',#{device.name},'%') </if> </select>