Browse Source

[feat]

工程管理 物料信息
修改根据物料vo对象获取物料列表mapper方法,添加物料名称查询参数,添加排序;
dev
王晓迪 2 months ago
parent
commit
e1c3eb7f3f
  1. 2
      ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml

2
ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml

@ -187,9 +187,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectErpMaterialVo"/>
<where>
<if test="materialNo != null and materialNo != ''"> and material_no like concat(#{materialNo}, '%')</if>
<if test="materialName != null and materialName != ''"> and material_name like concat(#{materialName}, '%')</if>
<if test="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
<if test="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if>
</where>
order by create_time desc
</select>

Loading…
Cancel
Save