<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
 | 
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> 
 | 
<mapper namespace="com.ruoyi.procurementrecord.mapper.InboundManagementMapper"> 
 | 
  
 | 
    <select id="listPage" resultType="com.ruoyi.procurementrecord.pojo.InboundManagement"> 
 | 
        select * from inbound_management 
 | 
        <where> 
 | 
            <if test="req.orderNo != null and req.orderNo != ''"> 
 | 
                and order_no like concat('%',#{req.orderNo},'%') 
 | 
            </if> 
 | 
            <if test="req.supplierName != null and req.supplierName != ''"> 
 | 
                and supplier_name like concat('%',#{req.supplierName},'%') 
 | 
            </if> 
 | 
        </where> 
 | 
    </select> 
 | 
</mapper> 
 |