# `Sp_Sales_SalesAnalysiseOfCustomer_copy1` (procedure)

> 客户销售分析表


- **Type:** PROCEDURE
- **Deterministic:** NO
- **SQL data access:** CONTAINS SQL

## Parameters

| # | Mode | Name | Type |
|---|---|---|---|
| 1 | IN | `tStartDate` | `datetime` |
| 2 | IN | `tEndDate` | `datetime` |
| 3 | IN | `sBrId` | `varchar(100)` |
| 4 | IN | `sSuId` | `varchar(100)` |
| 5 | IN | `sLoginId` | `varchar(100)` |
| 6 | IN | `bFilter` | `varchar(5000)` |
| 7 | IN | `pageNum` | `int` |
| 8 | IN | `pageSize` | `int` |
| 9 | OUT | `totalCount` | `int` |
| 10 | IN | `countCloumn` | `varchar(5000)` |
| 11 | OUT | `countMapJson` | `longtext` |
| 12 | IN | `sFilterOrderBy` | `varchar(5000)` |
| 13 | IN | `sGroupby_select_sql` | `varchar(5000)` |
| 14 | IN | `sGroupby_group_sql` | `varchar(5000)` |

## Body

_Body is not pre-cached. To inspect: `mysql --defaults-file=~/.my.cnf -e 'SHOW CREATE PROCEDURE `Sp_Sales_SalesAnalysiseOfCustomer_copy1`'`._

## Narrative

**Business context:** Backup / snapshot variant of `Sp_Sales_SalesAnalysiseOfCustomer` (`_copy1` suffix). Per wiki convention, backup objects are not narrated (see [the index](../../index.md#whats-out-of-scope)).

**What it does:** Same as `Sp_Sales_SalesAnalysiseOfCustomer` at the time of copy.

**Invocation:** Not expected to be called from production code; verify before relying on it.
