123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- //
- // HSQAccountInfoModel.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/8/7.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "HSQAccountInfoModel.h"
- @implementation HSQAccountInfoModel
- - (NSArray *)getTodayInfoArr {
-
- NSString *this_day_order_count = self.this_day_order_count==nil?@"":self.this_day_order_count;
- NSString *this_day_forecast_income = self.this_day_forecast_income==nil?@"":self.this_day_forecast_income;
- NSString *last_day_order_count = self.last_day_order_count==nil?@"":self.last_day_order_count;
- NSString *last_day_forecast_income = self.last_day_forecast_income==nil?@"":self.last_day_forecast_income;
-
- NSArray *dayInfoArr = @[@[this_day_order_count,
- this_day_forecast_income],
- @[last_day_order_count,
- last_day_forecast_income]];
- return dayInfoArr;
- }
- - (NSArray *)getMonthEstimateInfoArr {
-
- NSString *this_month_order_count = self.this_month_order_count==nil?@"":self.this_month_order_count;
- NSString *this_month_forecast_income = self.this_month_forecast_income==nil?@"":self.this_month_forecast_income;
- NSString *last_month_order_count = self.last_month_order_count==nil?@"":self.last_month_order_count;
- NSString *last_month_forecast_income = self.last_month_forecast_income==nil?@"":self.last_month_forecast_income;
-
- NSArray *monthEstimateArr = @[@[this_month_order_count,
- this_month_forecast_income],
- @[last_month_order_count,
- last_month_forecast_income]];
- return monthEstimateArr;
- }
- - (NSArray *)getMonthFinalInfoArr {
-
- NSString *this_month_settlement_order_count = self.this_month_settlement_order_count==nil?@"":self.this_month_settlement_order_count;
- NSString *this_month_settlement_income = self.this_month_settlement_income==nil?@"":self.this_month_settlement_income;
- NSString *last_month_settlement_order_count = self.last_month_settlement_order_count==nil?@"":self.last_month_settlement_order_count;
- NSString *last_month_settlement_income = self.last_month_settlement_income==nil?@"":self.last_month_settlement_income;
-
- NSArray *monthFinalArr = @[@[this_month_settlement_order_count,
- this_month_settlement_income],
- @[last_month_settlement_order_count,
- last_month_settlement_income]];
- return monthFinalArr;
- }
- @end
|