Explorar o código

修改 mapper 字段错误

crazycat %!s(int64=2) %!d(string=hai) anos
pai
achega
42a8f9bcd2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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