Explorar el Código

销售机会数量不对处理

WH01243 hace 1 año
padre
commit
80f53e7161
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/internal/service/employService.go

+ 1 - 1
api/internal/service/employService.go

@@ -610,7 +610,7 @@ func employInfoPerson(v, table, id, employKey, findKey string, source int64, in
 			valueMap["clueCount"] = clueCount
 			//销售机会数量
 			chanceCount := MC.CrmMysql.Count(entity.SALE_CHANCE, map[string]interface{}{
-				"employ_info_id": id,
+				"employ_info_id": employId,
 				"position_id":    in.PositionId,
 			})
 			valueMap["chanceCount"] = chanceCount