java110 %!s(int64=5) %!d(string=hai) anos
pai
achega
f6cdd55c9a

+ 1 - 1
java110-db/src/main/resources/mapper/common/MachineServiceDaoImplMapper.xml

@@ -254,7 +254,7 @@
         <if test="direction !=null and direction != ''">
         <if test="direction !=null and direction != ''">
             , t.direction = #{direction}
             , t.direction = #{direction}
         </if>
         </if>
-        <if test="heartbeatTime !=null and heartbeatTime != ''">
+        <if test="heartbeatTime !=null ">
             , t.heartbeat_time = #{heartbeatTime}
             , t.heartbeat_time = #{heartbeatTime}
         </if>
         </if>
         where 1=1
         where 1=1