yuanxuehua
This commit is contained in:
parent
5e9ac840b4
commit
8c5dac38b4
|
@ -23,6 +23,11 @@ func NewSalaryCalculator1002(corp *model.Corp, user *model.StaffUser) registry.S
|
||||||
func (s *SalaryCalculator1002) Calculate(salary *model.StaffSalary) map[string]interface{} {
|
func (s *SalaryCalculator1002) Calculate(salary *model.StaffSalary) map[string]interface{} {
|
||||||
data := make(map[string]interface{})
|
data := make(map[string]interface{})
|
||||||
|
|
||||||
|
//离职人员考勤异常
|
||||||
|
if salary.Username == "yuanxuehua" && salary.Month == "202503" {
|
||||||
|
salary.AttendSalary = 12
|
||||||
|
}
|
||||||
|
|
||||||
// 1.订单
|
// 1.订单
|
||||||
monthTime, _ := time.ParseInLocation("200601", salary.Month, time.Local)
|
monthTime, _ := time.ParseInLocation("200601", salary.Month, time.Local)
|
||||||
startTime := monthTime.Unix()
|
startTime := monthTime.Unix()
|
||||||
|
|
Loading…
Reference in New Issue