diff --git a/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml b/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml index a09a0257..186656dd 100644 --- a/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml @@ -187,9 +187,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and material_no like concat(#{materialNo}, '%') + and material_name like concat(#{materialName}, '%') and audit_status = #{auditStatus} and use_status = #{useStatus} + order by create_time desc