This commit is contained in:
jiangyong27 2023-08-11 09:58:09 +08:00
parent a3236808fa
commit 169de45846
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ func autoPayMoney(checkin *model.Checkin, checkinType string, payMoney int64) er
message := make([]string, 0) message := make([]string, 0)
duration := checkin.EndTime - checkin.StartTime duration := checkin.EndTime - checkin.StartTime
message = append(message, fmt.Sprintf("【红包发放】[%s]", checkinType)) message = append(message, fmt.Sprintf("【红包发放】[%s]", checkinType))
message = append(message, fmt.Sprintf("发放金额:%s", fmt.Sprintf("%.2f", payMoney))) message = append(message, fmt.Sprintf("发放金额:%s", fmt.Sprintf("%.2f", float64(payMoney)/100.00)))
message = append(message, fmt.Sprintf("员工名称:%s", checkin.Username)) message = append(message, fmt.Sprintf("员工名称:%s", checkin.Username))
message = append(message, fmt.Sprintf("考勤日期:%s", checkin.Day)) message = append(message, fmt.Sprintf("考勤日期:%s", checkin.Day))
message = append(message, fmt.Sprintf("开始时间:%s", goutil.TimeToDateTime(checkin.StartTime))) message = append(message, fmt.Sprintf("开始时间:%s", goutil.TimeToDateTime(checkin.StartTime)))