# `mftmachinework`

> OEE机台开工表


- **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 | UNI |  |  | 唯一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 | `sCustomerId` | `varchar(100)` | NO |  |  |  | 客户Id |
| 9 | `sManualNo` | `varchar(255)` | YES |  |  |  | 手工单号 |
| 10 | `sCustomerOrderNo` | `varchar(255)` | YES |  |  |  | 客户订单号 |
| 11 | `sProductId` | `varchar(100)` | NO |  |  |  | 印件Id |
| 12 | `sProcessId` | `varchar(100)` | NO |  |  |  | 工序Id |
| 13 | `dProductQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 产品数量 |
| 14 | `sSrcControlId` | `varchar(100)` | YES |  |  |  | 源单控制表Id |
| 15 | `sPartsName` | `varchar(255)` | YES |  |  |  | 部件名称 |
| 16 | `sMachineId` | `varchar(255)` | YES |  |  |  | 机台Id |
| 17 | `tStartDate` | `datetime` | YES |  |  |  | 开始日期 |
| 18 | `tEndDate` | `datetime` | YES |  |  |  | 结束日期 |
| 19 | `sMaterialsId` | `varchar(255)` | YES |  |  |  | 材料Id |
| 20 | `sEmployeeId` | `varchar(100)` | NO |  |  |  | 员工Id |
| 21 | `sTeamId` | `varchar(100)` | NO |  |  |  | 班组Id |
| 22 | `dProcessQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 上报数量 |
| 23 | `dConversionQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 换算数量 |
| 24 | `dHour` | `decimal(18,6)` | NO |  | 0.000000 |  | 工时 |
| 25 | `sWageId` | `varchar(100)` | NO |  |  |  | 计件工资Id |
| 26 | `dQualifiedProductionQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 合格数 |
| 27 | `dNoQualifiedProductQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 不合格数 |
| 28 | `dWasteProductionQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 作废数量 |
| 29 | `dAdjustableQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 调机次数 |
| 30 | `dMakeReadyQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 调机数量 |
| 31 | `dMakeReadyMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 调机费用 |
| 32 | `dEquivalentQty` | `decimal(18,6)` | NO |  | 0.000000 |  | 折合产量 |
| 33 | `dWageMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 计件工资 |
| 34 | `dTimeMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 工时工资 |
| 35 | `dLossMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 损失金额 |
| 36 | `dOtherMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 其他金额 |
| 37 | `dAllMoney` | `decimal(18,6)` | NO |  | 0.000000 |  | 总金额 |
| 38 | `sMaterialsMemo` | `text` | YES |  |  |  | 材料备注 |
| 39 | `sProcessMemo` | `text` | YES |  |  |  | 工序备注 |
| 40 | `sSrcSlaveId` | `varchar(100)` | NO |  |  |  | 源单从表Id |
| 41 | `sSrcId` | `varchar(100)` | NO |  |  |  | 源单ID |
| 42 | `sSrcNo` | `varchar(255)` | NO |  |  |  | 源单号 |
| 43 | `dSrcQty` | `decimal(18,6)` | YES |  |  |  | 源单数量 |
| 44 | `dProductPQty` | `decimal(18,6)` | YES |  |  |  | 产品总P数 |
| 45 | `sSlaveMemo` | `text` | YES |  |  |  | 从表备注 |
| 46 | `sWebOrderNo` | `varchar(255)` | NO |  |  |  | 网上订单号 |
| 47 | `sWebOrderId` | `varchar(100)` | NO |  |  |  | 网上订单Id |
| 48 | `sBarcode` | `varchar(255)` | YES |  |  |  | 条形码 |
| 49 | `sOrderId` | `varchar(100)` | NO |  |  |  | 订单ID |
| 50 | `sOrderSlaveId` | `varchar(100)` | NO |  |  |  | 订单从表Id |
| 51 | `sOrderNo` | `varchar(255)` | NO |  |  |  | 订单号 |
| 52 | `sWorkOrderId` | `varchar(100)` | NO |  |  |  | 工单ID |
| 53 | `sWorkOrderSlaveId` | `varchar(100)` | NO |  |  |  | 工单从表Id |
| 54 | `sWorkOrderNo` | `varchar(255)` | NO |  |  |  | 工单ID |
| 55 | `sWorkOrderControlId` | `varchar(100)` | NO |  |  |  | 工单控制表ID |
| 56 | `sWorkOrderProcessTbId` | `varchar(100)` | NO |  |  |  | 工单工序表Id |
| 57 | `sWorkOrderMaterialsTbId` | `varchar(100)` | NO |  |  |  | 工单材料表id |
| 58 | `sSReserve1` | `varchar(255)` | YES |  |  |  | 预留字符1 |
| 59 | `sSReserve2` | `varchar(255)` | YES |  |  |  | 预留字符2 |
| 60 | `sSReserve3` | `varchar(255)` | YES |  |  |  | 预留字符3 |
| 61 | `sSReserve4` | `varchar(255)` | YES |  |  |  | 预留字符4 |
| 62 | `sSReserve5` | `varchar(255)` | YES |  |  |  | 预留字符5 |
| 63 | `sSReserve6` | `varchar(255)` | YES |  |  |  | 预留字符6 |
| 64 | `dSReserve1` | `decimal(18,6)` | YES |  |  |  | 预留数字1 |
| 65 | `dSReserve2` | `decimal(18,6)` | YES |  |  |  | 预留数字2 |
| 66 | `dSReserve3` | `decimal(18,6)` | YES |  |  |  | 预留数字3 |
| 67 | `iSReserve1` | `int` | YES |  |  |  | 预留整型1 |
| 68 | `iSReserve2` | `int` | YES |  |  |  | 预留整型2 |
| 69 | `iSReserve3` | `int` | YES |  |  |  | 预留整型3 |
| 70 | `tSReserve1` | `datetime` | YES |  |  |  | 预留日期1 |
| 71 | `tSReserve2` | `datetime` | YES |  |  |  | 预留日期2 |
| 72 | `sParam1` | `varchar(255)` | YES |  |  |  | 参数1 |
| 73 | `sParam2` | `varchar(255)` | YES |  |  |  | 参数2 |
| 74 | `sParam3` | `varchar(255)` | YES |  |  |  | 参数3 |
| 75 | `sParam4` | `varchar(255)` | YES |  |  |  | 参数4 |
| 76 | `sParam5` | `varchar(255)` | YES |  |  |  | 参数5 |
| 77 | `sParam6` | `varchar(255)` | YES |  |  |  | 参数6 |
| 78 | `sParamValue1` | `varchar(255)` | YES |  |  |  | 参数值1 |
| 79 | `sParamValue2` | `varchar(255)` | YES |  |  |  | 参数值2 |
| 80 | `sParamValue3` | `varchar(255)` | YES |  |  |  | 参数值3 |
| 81 | `sParamValue4` | `varchar(255)` | YES |  |  |  | 参数值4 |
| 82 | `sParamValue5` | `varchar(255)` | YES |  |  |  | 参数值5 |
| 83 | `sParamValue6` | `varchar(255)` | YES |  |  |  | 参数值6 |
| 84 | `sUnTaskFormId` | `varchar(100)` | NO |  |  |  | 未清任务formId |
| 85 | `sStatus` | `varchar(255)` | NO |  |  |  |  机台状态 |

## Indexes

| Name | Unique | Type | Columns |
|---|---|---|---|
| `IndexU_mftmachinework` | ✓ | BTREE | `sId` |
| `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._
