日志计划42天请求方式(P258行)
/*
//42天请求方式
self.yearsNum = [dateArr[0] integerValue];
self.monthsNum = [dateArr[1] integerValue];
WeakSelf(weakSelf);
[self.CalendarView setStartorEndDateBlock:^(NSString *startDate,NSString *endDate){
weakSelf.startDate = startDate;
weakSelf.endDate = endDate;
if ([startDate isEqualToString:@"0"]) {
_ParamStartDate = [NSString stringWithFormat:@"%ld-%ld-%d",weakSelf.yearsNum,weakSelf.monthsNum,01];
_ParamEndDate = [NSString stringWithFormat:@"%ld-%ld-%@",weakSelf.yearsNum,weakSelf.monthsNum+1,endDate];
}else{
_ParamStartDate = [NSString stringWithFormat:@"%ld-%ld-%@",weakSelf.yearsNum,weakSelf.monthsNum-1,startDate];
_ParamEndDate = [NSString stringWithFormat:@"%ld-%ld-%@",weakSelf.yearsNum,weakSelf.monthsNum+1,endDate];
}
[weakSelf requestDailyRecord];
}];
*/