线上所有马甲包模板,与《猎豆》同UI。域名zhuadd

HSQAccountInfoModel.m 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //
  2. // HSQAccountInfoModel.m
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/8/7.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import "HSQAccountInfoModel.h"
  9. @implementation HSQAccountInfoModel
  10. - (NSArray *)getTodayInfoArr {
  11. NSString *this_day_order_count = self.this_day_order_count==nil?@"":self.this_day_order_count;
  12. NSString *this_day_forecast_income = self.this_day_forecast_income==nil?@"":self.this_day_forecast_income;
  13. NSString *last_day_order_count = self.last_day_order_count==nil?@"":self.last_day_order_count;
  14. NSString *last_day_forecast_income = self.last_day_forecast_income==nil?@"":self.last_day_forecast_income;
  15. NSArray *dayInfoArr = @[@[this_day_order_count,
  16. this_day_forecast_income],
  17. @[last_day_order_count,
  18. last_day_forecast_income]];
  19. return dayInfoArr;
  20. }
  21. - (NSArray *)getMonthEstimateInfoArr {
  22. NSString *this_month_order_count = self.this_month_order_count==nil?@"":self.this_month_order_count;
  23. NSString *this_month_forecast_income = self.this_month_forecast_income==nil?@"":self.this_month_forecast_income;
  24. NSString *last_month_order_count = self.last_month_order_count==nil?@"":self.last_month_order_count;
  25. NSString *last_month_forecast_income = self.last_month_forecast_income==nil?@"":self.last_month_forecast_income;
  26. NSArray *monthEstimateArr = @[@[this_month_order_count,
  27. this_month_forecast_income],
  28. @[last_month_order_count,
  29. last_month_forecast_income]];
  30. return monthEstimateArr;
  31. }
  32. - (NSArray *)getMonthFinalInfoArr {
  33. NSString *this_month_settlement_order_count = self.this_month_settlement_order_count==nil?@"":self.this_month_settlement_order_count;
  34. NSString *this_month_settlement_income = self.this_month_settlement_income==nil?@"":self.this_month_settlement_income;
  35. NSString *last_month_settlement_order_count = self.last_month_settlement_order_count==nil?@"":self.last_month_settlement_order_count;
  36. NSString *last_month_settlement_income = self.last_month_settlement_income==nil?@"":self.last_month_settlement_income;
  37. NSArray *monthFinalArr = @[@[this_month_settlement_order_count,
  38. this_month_settlement_income],
  39. @[last_month_settlement_order_count,
  40. last_month_settlement_income]];
  41. return monthFinalArr;
  42. }
  43. @end