Browse Source

工程管理:物料信息查询条件语句,料号查询条件改为查询物料料号前几位。

dev
zhangsiqi 6 months ago
parent
commit
7b48a8dc97
  1. 2
      ruoyi-admin/src/main/resources/mapper/erp/ErpMaterialMapper.xml

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

@ -88,7 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createBy != null and createBy != ''"> and erp.create_by = #{createBy}</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and erp.create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<if test="params.materialNo != null and params.materialNo != ''"> and erp.material_no like concat('%', #{params.materialNo}, '%')</if>
<if test="materialNo != null and materialNo != ''"> and erp.material_no = #{materialNo}</if>
<if test="materialNo != null and materialNo != ''"> and erp.material_no like concat(#{materialNo}, '%')</if>
<if test="bomNo != null and bomNo != ''"> and erp.bomNo = #{bomNo}</if>
<if test="materialName != null and materialName != ''"> and erp.material_name like concat('%', #{materialName}, '%')</if>
<if test="auditStatus != null and auditStatus != ''"> and erp.audit_status = #{auditStatus}</if>

Loading…
Cancel
Save