| | |
| | | pm.unit as unit |
| | | from production_order_pick_record popr |
| | | left join production_operation_task pot on popr.production_operation_task_id = pot.id |
| | | left join production_order_routing_operation poro on pot.technology_routing_operation_id = poro.id |
| | | left join production_order_routing_operation poro on pot.production_order_routing_operation_id = poro.id |
| | | left join product_model pm on popr.product_model_id = pm.id |
| | | left join product p on pm.product_id = p.id |
| | | where popr.production_order_id = #{productionOrderId} |
| | |
| | | popr.create_time as supplementTime |
| | | from production_order_pick_record popr |
| | | left join production_operation_task pot on popr.production_operation_task_id = pot.id |
| | | left join production_order_routing_operation poro on pot.technology_routing_operation_id = poro.id |
| | | left join production_order_routing_operation poro on pot.production_order_routing_operation_id = poro.id |
| | | left join product_model pm on popr.product_model_id = pm.id |
| | | left join product p on pm.product_id = p.id |
| | | left join sys_user su on popr.create_user = su.user_id |