|
|
|
@ -696,7 +696,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
left join base_product bp on bp.product_code = pow.product_code
|
|
|
|
|
where be.del_flag = '0' and be.sap_code is not null and pow.status in ('w2','w3')
|
|
|
|
|
and pow.parent_order = '0' and pow.del_flag='0'
|
|
|
|
|
<if test="sapName != null and sapName != ''">and be.sap_name like concat('%', #{sapName}, '%')</if>
|
|
|
|
|
<if test="sapName != null and sapName != ''">and be.equipment_name like concat('%', #{sapName}, '%')</if>
|
|
|
|
|
<if test="workCenter != null and workCenter != ''">and be.workshop_code = #{workCenter}</if>
|
|
|
|
|
<if test="equipmentTypeCode != null and equipmentTypeCode != ''">and be.equipment_type_code = #{equipmentTypeCode}</if>
|
|
|
|
|
<if test="productDateStart != null and productDateStart != ''">
|
|
|
|
|