| | |
| | | and ip.structure_item_parameter_id = #{itmeId} |
| | | group by io.id) a |
| | | </select> |
| | | <select id="selectOrderInfoById" resultType="com.ruoyi.inspect.vo.IfsOrderVO"> |
| | | select io.*, |
| | | isor.insulation_color, |
| | | isor.outer_color, |
| | | isor.drum_no, |
| | | iiq.is_split_order |
| | | from ins_order io left join ifs_inventory_quantity iiq on io.ifs_inventory_id=iiq.id |
| | | left join ifs_split_order_record isor |
| | | on iiq.order_no=isor.order_no |
| | | and iiq.line_no=isor.line_no |
| | | and iiq.release_no=isor.release_no |
| | | and iiq.receipt_no=isor.receipt_no |
| | | and iiq.part_no=isor.part_no |
| | | AND iiq.update_batch_no = isor.lot_batch_no |
| | | where io.state !=-1 |
| | | AND io.id = #{id} |
| | | LIMIT 1 |
| | | </select> |
| | | </mapper> |