fix:商检报告的“签发”“方法”要按样品类型显示

This commit is contained in:
FCL
2026-03-10 17:50:31 +08:00
parent 1565a8e16a
commit 5adc5525e9
3 changed files with 101 additions and 44 deletions

View File

@@ -9,4 +9,13 @@
文档可见https://www.iocoder.cn/MyBatis/x-plugins/
-->
<select id="queryBaseSampleBySourceId" resultType="map">
SELECT bs.*
FROM T_BSE_SMP bs
inner join T_CFG_BSE_SMP cbs on cbs.BSE_SMP_ID = bs.ID
INNER JOIN T_BSN_BSE_SMP bbs on bbs.CFG_BSE_SMP_ID = cbs.ID
INNER JOIN T_BSN_ASY_RPT_DAT d on d.BSN_BSE_SMP_ID = bbs.ID
where d.id = #{sourceId}
</select>
</mapper>