顾绍勇 hace 5 años
padre
commit
6235cfda48
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/main/resources/mapper/redpack/TaRedPacketMapper.xml

+ 1
- 1
src/main/resources/mapper/redpack/TaRedPacketMapper.xml Ver fichero

@@ -186,7 +186,7 @@
186 186
         GROUP BY
187 187
         t.person_id,t.share_person_id
188 188
         ORDER BY
189
-        t.visit_time  DESC
189
+        max(t.visit_time) DESC
190 190
     </select>
191 191
 
192 192
 </mapper>