po.id, po.production_plan_ids, po.product_model_id, po.nps_no, po.create_time, po.update_time, po.technology_routing_id, po.quantity, po.complete_quantity, po.start_time, po.end_time, po.create_user, po.dept_id, po.plan_complete_time, po.status, p.product_name as productName, pm.model as model, tr.process_route_code as processRouteCode, tb.bom_no as bomNo from production_order po left join product_model pm on po.product_model_id = pm.id left join product p on pm.product_id = p.id left join technology_routing tr on po.technology_routing_id = tr.id left join technology_bom tb on tb.id = tr.bom_id and po.id = #{c.id} and p.product_name like concat('%', #{c.productName}, '%') and pm.model like concat('%', #{c.model}, '%') and po.product_model_id = #{c.productModelId} and po.technology_routing_id = #{c.technologyRoutingId} and po.status = #{c.status} and po.create_user = #{c.createUser} and po.dept_id = #{c.deptId} and po.nps_no like concat('%', #{c.npsNo}, '%') and po.production_plan_ids like concat('%', #{c.productionPlanIds}, '%') and po.plan_complete_time = #{c.planCompleteTime} and po.start_time >= #{c.startTime} and po.end_time <= #{c.endTime}