child order

This commit is contained in:
jiangyong27 2025-03-24 19:42:09 +08:00
parent 30d062ebec
commit 259b212030
1 changed files with 1 additions and 0 deletions

View File

@ -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 {