|
@@ -139,9 +139,13 @@ public class ThirdPartyServiceImpl implements ThirdPartyService {
|
|
|
if (!DateUtils.isValidDate(canViewReportDate)) {
|
|
|
return CommonResponse.create(ExceptionCodeEnum.PARAM_ERROR, "系统异常");
|
|
|
}
|
|
|
- //llf暂时不返回数据
|
|
|
+ //llf只返回2024-11-30后的数据
|
|
|
if (secretEnum == SecretEnum.SECRET_ENUM_2) {
|
|
|
- return CommonResponse.create(500, "数据不存在");
|
|
|
+ long targetTime = DateUtils.dateStrToTimestamp(date, "yyyy-MM-dd");
|
|
|
+ long limitTime = DateUtils.dateStrToTimestamp("2024-11-30", "yyyy-MM-dd");
|
|
|
+ if (targetTime > limitTime) {
|
|
|
+ return CommonResponse.create(500, "数据不存在");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//10点后可查询前一天数据
|