|
@@ -147,7 +147,7 @@ public interface MsReportMapper extends BaseMapper<MsReport> {
|
|
|
|
|
|
@Select("select * from (select * from ms_report where report_status=1 and report_date=date_sub(curdate(),interval 1 day) and user_create=#{userId}\n" +
|
|
|
"union select * from ms_report where report_status=1 and report_date=date_sub(curdate(),interval 2 day) and user_create=#{userId}\n" +
|
|
|
- "union select * from ms_report where report_status=1 and date_sub(curdate(),interval 3 day) and user_create=#{userId}) aa where aa.ms_status = 2")
|
|
|
+ "union select * from ms_report where report_status=1 and report_date=date_sub(curdate(),interval 3 day) and user_create=#{userId}) aa where aa.ms_status = 2")
|
|
|
List<MsReport> selectMsReportThereError(@Param("userId") Long userId);
|
|
|
|
|
|
/**
|