소스 검색

修改 mapper 字段错误

crazycat 2 년 전
부모
커밋
42a8f9bcd2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/LampMapper.xml

+ 1 - 1
src/main/resources/mapper/LampMapper.xml

@@ -172,7 +172,7 @@
         </if>
 
         <if test="alarmType != null">
-            AND AI.faultstatus = #{alarmType}
+            AND L.faultstatus = #{alarmType}
         </if>
 
         order by L.number asc,L.mode asc,L.createtime desc,L.id desc