# `pitcheckprofitloss`

> 过滤条件表


- **Engine:** InnoDB
- **Collation:** utf8mb3_general_ci

## Columns

| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | `iIncrement` | `int` | NO | PRI |  | auto_increment | 自增列 |
| 2 | `sId` | `varchar(100)` | NO | MUL |  |  | 唯一ID |
| 3 | `sBrandsId` | `varchar(100)` | NO |  |  |  | 加工商ID |
| 4 | `sSubsidiaryId` | `varchar(100)` | NO |  |  |  | 子公司ID |
| 5 | `tCreateDate` | `datetime` | NO |  | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 创建时间 |
| 6 | `sMakePerson` | `varchar(100)` | NO |  |  |  | 制单人 |
| 7 | `iOrder` | `int` | NO |  | 0 |  | 排序 |
| 8 | `sProductId` | `varchar(100)` | NO |  |  |  | 产品ID |
| 9 | `dProductQty` | `decimal(18,6)` | NO |  |  |  | 盘点数量 |
| 10 | `dProductPrice` | `decimal(18,6)` | NO |  | 0.000000 |  | 盘点价格 |
| 11 | `dProductMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 盘点金额 |
| 12 | `sMemo` | `text` | YES |  |  |  | 备注 |
| 13 | `sDefineNo` | `varchar(100)` | NO |  |  |  | 自定义项 |
| 14 | `sDefineNo2` | `varchar(100)` | NO |  |  |  | 自定义项2 |
| 15 | `dOriginalQty` | `decimal(18,6)` | NO |  |  |  | 盘点前数量 |
| 16 | `dOriginalMoney` | `decimal(18,6)` | NO |  |  |  | 盘点前金额 |
| 17 | `dProfitLossQty` | `decimal(18,6)` | NO |  |  |  | 盈亏数量 |
| 18 | `dProfitLossPrice` | `decimal(18,6)` | NO |  |  |  | 盈亏价格 |
| 19 | `dProfitLossMoney` | `decimal(18,6)` | NO |  |  |  | 盈亏金额 |
| 20 | `sWareHouseId` | `varchar(100)` | NO |  |  |  | 仓库Id |
| 21 | `sSrcSlaveId` | `varchar(100)` | NO |  |  |  | 源单从表Id |
| 22 | `sSrcId` | `varchar(100)` | NO |  |  |  | 源单ID |
| 23 | `sSrcNo` | `varchar(255)` | NO |  |  |  | 源单号 |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `IndexU_gdslogininfo` | ✓ | BTREE | `sId`, `sBrandsId`, `sSubsidiaryId` |
| `PRIMARY` | ✓ | BTREE | `iIncrement` |

## Narrative

_No human-written narrative yet — when this table is exercised by a [vertical slice](../../slices/index.md), link from there back to this page._
