diff --git a/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderWorkorderMapper.xml b/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderWorkorderMapper.xml index 79a1df96..f49debde 100644 --- a/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderWorkorderMapper.xml +++ b/op-modules/op-plan/src/main/resources/mapper/plan/ProOrderWorkorderMapper.xml @@ -68,8 +68,8 @@ and pow.workorder_name like concat('%', #{workorderName}, '%') and pow.order_id = #{orderId} and pow.order_code like concat('%', #{orderCode}, '%') - and pow.product_code like concat('%', #{productCode}, '%') - and pow.product_name like concat('%', #{productName}, '%') + and ppow.product_code like concat('%', #{productCode}, '%') + and ppow.product_name like concat('%', #{productName}, '%') and pow.product_date = #{productDate} and pow.shift_id = #{shiftId} and pow.parent_order = #{parentOrder}