|
|
@ -76,7 +76,7 @@ public class AdminService { |
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
try { |
|
|
|
Date begin = format.parse(param.createdAt.get(0)), end = format.parse(param.createdAt.get(1)); |
|
|
|
wrapper.between(MatrixAdvRecord::getCreatedAt, new Timestamp(begin.getTime()), new Timestamp(end.getTime())); |
|
|
|
wrapper.between(MatrixAdvRecord::getCreatedAt, new Timestamp(begin.getTime()), new Timestamp(end.getTime() + 86400_000 - 1000)); |
|
|
|
} catch (ParseException e) { |
|
|
|
throw new PaganiException(PaganiExceptionCode.ILLEGAL_REQUEST, "时间范围有误"); |
|
|
|
} |
|
|
|