浏览代码

修改 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