From 259b2120304f81ac153acef18c6e92401dd27d71 Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Mon, 24 Mar 2025 19:42:09 +0800 Subject: [PATCH] child order --- service/salary_calculator/salary_calculator_1002.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/salary_calculator/salary_calculator_1002.go b/service/salary_calculator/salary_calculator_1002.go index 981b05b..00e47f4 100644 --- a/service/salary_calculator/salary_calculator_1002.go +++ b/service/salary_calculator/salary_calculator_1002.go @@ -47,6 +47,7 @@ func (s *SalaryCalculator1002) Calculate(salary *model.StaffSalary) map[string]i log.Errorf("db error:%s", err.Error()) } + data["childOrderNum"] = 0 if corpUser != nil { childOrders, err := dao.NewExternalCorpOrder().QueryChildOrder(corpUser.Id, startTime, endTime) if err != nil {