paychannel

This commit is contained in:
jiangyong27 2025-04-08 17:26:04 +08:00
parent 3a8a7b94df
commit fe59c45ad4
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ type Salary struct {
HouseDeduct string `json:"house_deduct"`
PersonalDeduct string `json:"personal_deduct"`
OtherDeduct string `json:"other_deduct"`
PayChannel string `json:"pay_channel"`
CreateTime string `json:"create_time"`
UpdateTime string `json:"update_time"`
Extra string `json:"extra"`

View File

@ -82,6 +82,7 @@ func (s *StaffSalary) List(sess *session.AdminSession, req *api.ListSalaryReq) (
staffSalary.Realname = staffUser.Realname
staffSalary.TargetSalary = userSalary.Target
staffSalary.BaseSalary = userSalary.Base
staffSalary.PayChannel = staffUser.GetConfig().PayChannel
}
summary.Add(staffSalary)