| | |
| | | ifs.id inventoryQuantityId, |
| | | ifs.buy_unit_meas buyUnitMeas, |
| | | io.test_quantity testQuantity, |
| | | ifs.buy_unit_meas buyUnitMeas |
| | | ifs.buy_unit_meas buyUnitMeas, |
| | | ifs.declare_date declareDate |
| | | FROM |
| | | ifs_inventory_quantity ifs |
| | | LEFT JOIN ins_order io ON ifs.id = io.ifs_inventory_id |
| | |
| | | order by ip.sort asc |
| | | </select> |
| | | |
| | | <!-- 根据订单id查询样品 --> |
| | | <select id="getSampleByOrderId" resultType="com.ruoyi.inspect.pojo.InsSample"> |
| | | select is2.*, |
| | | sml.name standard_method_name |
| | | from ins_sample is2 |
| | | left join standard_method sml on sml.id = is2.standard_method_list_id |
| | | where is2.ins_order_id = #{insOrderId} |
| | | </select> |
| | | |
| | | </mapper> |