From 13be3b8bd13cfa77fa6552e9731949df5e657108 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 03 四月 2025 09:14:59 +0800 Subject: [PATCH] 调整配置文件, 修改绑定查询 --- inspect-server/src/main/resources/mapper/InsSampleMapper.xml | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml index 84af8bb..57aaac4 100644 --- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml @@ -463,7 +463,8 @@ 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 @@ -697,4 +698,13 @@ 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> -- Gitblit v1.9.3