ソースを参照

2023-3-27 修改状态。

chaiyunlong 2 年 前
コミット
0fa4703948
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabControlMapper.xml

+ 1 - 1
zd-modules/zd-modules-laboratory/src/main/resources/mapper/laboratory/LabControlMapper.xml

@@ -266,7 +266,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectLabControlNewMegById"  resultMap="LabControlResult">
         <include refid="selectLabControlVo"/>
-        where id = #{id}
+        where hardware_id = #{id}
         order by create_time desc limit 1
     </select>
 </mapper>