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