Jelajahi Sumber

修改谢工的bug

yuliang 5 tahun lalu
induk
melakukan
a74eef9bed

+ 1 - 1
whepi-web/src/main/java/com/bofeng/dao/MsSuspectedMapper.java

@@ -45,7 +45,7 @@ public interface MsSuspectedMapper extends BaseMapper<MsSuspected> {
             "from ms_suspected a \n" +
             "INNER JOIN ms_report b on a.report_id=b.report_id \n" +
             "left JOIN ms_trip c on a.suspected_id=c.trip_id \n" +
-            "where b.user_create=#{userCreate} and b.report_status=1 and b.report_date=(select report_date from ms_report where user_create=#{userCreate} and b.report_status=1 and report_date<curdate() ORDER BY report_date desc LIMIT 1)\n" +
+            "where b.user_create=#{userCreate} and b.report_status=1 and b.report_date=(select report_date from ms_report where user_create=#{userCreate} and report_status=1 and report_date<curdate() ORDER BY report_date desc LIMIT 1)\n" +
             "ORDER by a.time_create ")
     List<MsSuspected> selectNextSuspected(@Param("userCreate") Long userCreate);