previous2
This commit is contained in:
parent
b684f0d710
commit
d49ef6979b
|
@ -33,7 +33,7 @@ func (s *SalaryCalculator1000) Calculate(salary *model.StaffSalary) map[string]i
|
|||
data["adProfit"] = s.getAdOwnerProfit(salary)
|
||||
|
||||
data["appProfit1024"] = s.getAppProfit(10024, salary.Month)
|
||||
data["appProfit1024Previous "] = s.getAppProfit(10024, monthTime.AddDate(0, -1, 0).Format("2006-01"))
|
||||
data["appProfit1024Previous "] = s.getAppProfit(10024, monthTime.AddDate(0, -1, 0).Format("200601"))
|
||||
return data
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue