healchow commented on code in PR #8397:
URL: https://github.com/apache/inlong/pull/8397#discussion_r1250551701
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/core/impl/AuditServiceImpl.java:
##########
@@ -205,20 +205,21 @@ public List<AuditVO> listByCondition(AuditRequest
request) throws Exception {
String format = "%Y-%m-%d %H:%i:00";
// Support min agg at now
DateTimeFormatter forPattern =
DateTimeFormat.forPattern("yyyy-MM-dd");
- DateTime dtDate = forPattern.parseDateTime(request.getDt());
- String eDate = dtDate.plusDays(1).toString(forPattern);
+ DateTime edtDate =
forPattern.parseDateTime(request.getEndDate());
+ String endDate = edtDate.plusDays(1).toString(forPattern);
Review Comment:
May change to `DateTime endDate` and `String endDateStr` is better.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]