diff --git a/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml b/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml index 4e7ab52f..7fe89b5c 100644 --- a/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml @@ -88,7 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and erp.create_by = #{createBy} and erp.create_time between #{params.beginCreateTime} and #{params.endCreateTime} and erp.material_no like concat('%', #{params.materialNo}, '%') - and erp.material_no = #{materialNo} + and erp.material_no like concat(#{materialNo}, '%') and erp.bomNo = #{bomNo} and erp.material_name like concat('%', #{materialName}, '%') and erp.audit_status = #{auditStatus}