瀏覽代碼

修改谢工的bug

yuliang 5 年之前
父節點
當前提交
a74eef9bed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      whepi-web/src/main/java/com/bofeng/dao/MsSuspectedMapper.java

+ 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" +
             "from ms_suspected a \n" +
             "INNER JOIN ms_report b on a.report_id=b.report_id \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" +
             "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 ")
             "ORDER by a.time_create ")
     List<MsSuspected> selectNextSuspected(@Param("userCreate") Long userCreate);
     List<MsSuspected> selectNextSuspected(@Param("userCreate") Long userCreate);