zhizhi wu 4 years ago
parent
commit
ab66d119e4
  1. 3
      wisdomcar/src/main/resources/mapper_dao/PatientWisdomCarDao.xml

3
wisdomcar/src/main/resources/mapper_dao/PatientWisdomCarDao.xml

@ -67,7 +67,6 @@
and
((a.start_time < REPLACE(unix_timestamp(NOW(3)),'.','') and a.end_time > REPLACE(unix_timestamp(NOW(3)),'.','') )
or (a.end_time =0 and a.start_time+7200000 > REPLACE(unix_timestamp(NOW(3)),'.','')))
ORDER BY a.start_time
DESC LIMIT 1
ORDER BY a.start_time DESC LIMIT 1
</select>
</mapper>
Loading…
Cancel
Save