作者 庄敏学

成本结构化人员处理

@@ -331,6 +331,8 @@ func (srv ExcelDataService) ImportCost(importDataCommand *command.ImportDataComm @@ -331,6 +331,8 @@ func (srv ExcelDataService) ImportCost(importDataCommand *command.ImportDataComm
331 } 331 }
332 if user, ok := userMap[userName]; ok { 332 if user, ok := userMap[userName]; ok {
333 chargePersons = append(chargePersons, fmt.Sprintf("%v", user.UserId)) 333 chargePersons = append(chargePersons, fmt.Sprintf("%v", user.UserId))
  334 + } else {
  335 + chargePersons = append(chargePersons, "0")
334 } 336 }
335 } 337 }
336 //目标值期限 338 //目标值期限