|
|
|
@ -205,8 +205,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="applyBy != null and applyBy != ''"> and wri.apply_by like concat('%', #{applyBy}, '%')</if>
|
|
|
|
|
<if test="materialCode != null and materialCode != ''"> and mbmi.material_code like concat('%', #{materialCode}, '%')</if>
|
|
|
|
|
<if test="materialName != null and materialName != ''"> and mbmi.material_name like concat('%', #{materialName}, '%')</if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test="erpStatus != null and erpStatus != ''"> and wri.erp_status = #{erpStatus}</if>
|
|
|
|
|
</where>
|
|
|
|
|
order by wri.apply_date desc
|
|
|
|
|
</select>
|
|
|
|
|