diff --git a/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml b/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml index 8014b52..9526825 100644 --- a/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/ehs/EhsMaterialMapper.xml @@ -76,7 +76,8 @@ FROM and material_type = #{materialType} and class_first = #{classFirst} and class_second = #{classSecond} - and material_name like concat('%', #{materialName}, '%') + + and material_name = #{materialName} and material_specs = #{materialSpecs} and material_quantity = #{materialQuantity} and reserve_location like concat('%', #{reserveLocation}, '%')