extra sort
This commit is contained in:
parent
26fb5fdb6f
commit
f98b33685c
|
@ -49,6 +49,9 @@ func (s *Staff) CalcSlaveSalary(salary *model.StaffSalary, month string) (*model
|
|||
}
|
||||
salary.BaseSalary = cast.ToFloat64(s.info.BaseSalary)
|
||||
salary.Master = s.info.Master
|
||||
extra := make(map[string]interface{})
|
||||
extra["entryDate"] = s.info.EntryDate //展示排序依赖
|
||||
salary.Extra = goutil.EncodeJSON(extra)
|
||||
|
||||
return salary, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue