소스 검색

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>