# `mftworkordercalc_tmp` > 工单材料表 - **Rows (estimated):** 2 - **Data size:** 16.0 KB - **Engine:** InnoDB - **Collation:** utf8mb3_general_ci - **Created:** 2026-04-27 18:54:35 - **Updated:** 2026-04-27 18:54:35 ## Columns | # | Name | Type | Null | Key | Default | Extra | Comment | |---|---|---|---|---|---|---|---| | 1 | `iIncrement` | `int` | NO | PRI | | auto_increment | 自增列 | | 2 | `sId` | `varchar(50)` | NO | MUL | | | 唯一ID | | 3 | `sBrandsId` | `varchar(50)` | NO | MUL | | | 加工商ID | | 4 | `sSubsidiaryId` | `varchar(50)` | NO | | | | 子公司ID | | 5 | `sParentId` | `varchar(50)` | NO | | | | 父级ID | | 6 | `sMakePerson` | `varchar(50)` | NO | | | | 计算人 | | 7 | `sSlaveId` | `varchar(100)` | NO | | | | 产品Id | | 8 | `dProductQty` | `decimal(18,6)` | NO | | | | 产品数量 | | 9 | `dCalcQty` | `decimal(18,6)` | NO | | | | 计算数量 | | 10 | `tCreateTmpDate` | `datetime` | NO | | CURRENT_TIMESTAMP | DEFAULT_GENERATED | 临时表创建时间 | | 11 | `sProductId` | `varchar(255)` | NO | | | | 产品Id | | 12 | `iOrder` | `int` | NO | | 0 | | 排序 | ## Indexes | Name | Unique | Type | Columns | |---|---|---|---| | `IndexN_1` | | BTREE | `sId`, `sBrandsId`, `sSubsidiaryId`, `sParentId`, `sMakePerson` | | `IndexN_2` | | BTREE | `sBrandsId`, `sSubsidiaryId`, `sParentId`, `sMakePerson`, `sSlaveId` | | `IndexU_1` | ✓ | BTREE | `sId`, `sBrandsId`, `sSubsidiaryId`, `sParentId`, `sMakePerson` | | `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._