# `viw_mftproductionreportwage`（视图）


- **是否可更新：** YES
- **定义者：** `xlyprint@%`

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | NO |
| 2 | `sBrandsId` | `varchar(100)` | NO |
| 3 | `sSubsidiaryId` | `varchar(100)` | NO |
| 4 | `tCreateDate` | `datetime` | NO |
| 5 | `sMakePerson` | `varchar(255)` | NO |
| 6 | `sFormId` | `varchar(100)` | NO |
| 7 | `iOrder` | `int` | NO |
| 8 | `sBillNo` | `varchar(255)` | NO |
| 9 | `sMemo` | `text` | YES |
| 10 | `bCheck` | `bit(1)` | NO |
| 11 | `tCheckDate` | `datetime` | YES |
| 12 | `sCheckPerson` | `varchar(255)` | YES |
| 13 | `bPrint` | `bit(1)` | NO |
| 14 | `bCopyLimit` | `bit(1)` | NO |
| 15 | `sStatus` | `varchar(255)` | YES |
| 16 | `bInvalid` | `bit(1)` | NO |
| 17 | `sMReserve1` | `varchar(255)` | YES |
| 18 | `sMReserve2` | `varchar(255)` | YES |
| 19 | `sMReserve3` | `varchar(255)` | YES |
| 20 | `sMReserve4` | `varchar(255)` | YES |
| 21 | `sMReserve5` | `varchar(255)` | YES |
| 22 | `sMReserve6` | `varchar(255)` | YES |
| 23 | `dMReserve1` | `decimal(18,6)` | YES |
| 24 | `dMReserve2` | `decimal(18,6)` | YES |
| 25 | `dMReserve3` | `decimal(18,6)` | YES |
| 26 | `iMReserve1` | `int` | YES |
| 27 | `iMReserve2` | `int` | YES |
| 28 | `iMReserve3` | `int` | YES |
| 29 | `tMReserve1` | `datetime` | YES |
| 30 | `tMReserve2` | `datetime` | YES |
| 31 | `sProcessClassifyId` | `varchar(100)` | YES |
| 32 | `sSlaveId` | `varchar(100)` | NO |
| 33 | `iSlaveOrder` | `int` | NO |
| 34 | `sParentId` | `varchar(100)` | NO |
| 35 | `sCustomerId` | `varchar(100)` | NO |
| 36 | `sManualNo` | `varchar(255)` | YES |
| 37 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 38 | `sProductId` | `varchar(100)` | NO |
| 39 | `sProcessId` | `varchar(100)` | NO |
| 40 | `dProductQty` | `decimal(18,6)` | NO |
| 41 | `sSrcControlId` | `varchar(100)` | YES |
| 42 | `sPartsName` | `varchar(255)` | YES |
| 43 | `sMachineId` | `varchar(255)` | YES |
| 44 | `tStartDate` | `datetime` | YES |
| 45 | `tEndDate` | `datetime` | YES |
| 46 | `sMaterialsId` | `varchar(255)` | YES |
| 47 | `sEmployeeId` | `varchar(100)` | NO |
| 48 | `sTeamId` | `varchar(100)` | NO |
| 49 | `dProcessQty` | `decimal(18,6)` | NO |
| 50 | `dConversionQty` | `decimal(18,6)` | NO |
| 51 | `dHour` | `decimal(18,6)` | NO |
| 52 | `sWageId` | `varchar(100)` | NO |
| 53 | `dQualifiedProductionQty` | `decimal(18,6)` | NO |
| 54 | `dNoQualifiedProductQty` | `decimal(18,6)` | NO |
| 55 | `dWasteProductionQty` | `decimal(18,6)` | NO |
| 56 | `dAdjustableQty` | `decimal(18,6)` | NO |
| 57 | `dMakeReadyQty` | `decimal(18,6)` | NO |
| 58 | `dMakeReadyMoney` | `decimal(18,6)` | NO |
| 59 | `dEquivalentQty` | `decimal(18,6)` | NO |
| 60 | `dWageMoney` | `decimal(18,6)` | NO |
| 61 | `dTimeMoney` | `decimal(18,6)` | NO |
| 62 | `dLossMoney` | `decimal(18,6)` | NO |
| 63 | `dOtherMoney` | `decimal(18,6)` | NO |
| 64 | `dAllMoney` | `decimal(18,6)` | NO |
| 65 | `sMaterialsMemo` | `text` | YES |
| 66 | `sProcessMemo` | `text` | YES |
| 67 | `sSrcSlaveId` | `varchar(100)` | NO |
| 68 | `sSrcId` | `varchar(100)` | NO |
| 69 | `sSrcNo` | `varchar(255)` | NO |
| 70 | `dSrcQty` | `decimal(18,6)` | YES |
| 71 | `dProductPQty` | `decimal(18,6)` | YES |
| 72 | `sSlaveMemo` | `text` | YES |
| 73 | `sWebOrderNo` | `varchar(255)` | NO |
| 74 | `sWebOrderId` | `varchar(100)` | NO |
| 75 | `sBarcode` | `varchar(255)` | YES |
| 76 | `sOrderId` | `varchar(100)` | NO |
| 77 | `sOrderSlaveId` | `varchar(100)` | NO |
| 78 | `sOrderNo` | `varchar(255)` | NO |
| 79 | `sWorkOrderId` | `varchar(100)` | NO |
| 80 | `sWorkOrderSlaveId` | `varchar(100)` | NO |
| 81 | `sWorkOrderNo` | `varchar(255)` | NO |
| 82 | `sWorkOrderControlId` | `varchar(100)` | NO |
| 83 | `sWorkOrderProcessTbId` | `varchar(100)` | NO |
| 84 | `sWorkOrderMaterialsTbId` | `varchar(100)` | NO |
| 85 | `sSReserve1` | `varchar(255)` | YES |
| 86 | `sSReserve2` | `varchar(255)` | YES |
| 87 | `sSReserve3` | `varchar(255)` | YES |
| 88 | `sSReserve4` | `varchar(255)` | YES |
| 89 | `sSReserve5` | `varchar(255)` | YES |
| 90 | `sSReserve6` | `varchar(255)` | YES |
| 91 | `dSReserve1` | `decimal(18,6)` | YES |
| 92 | `dSReserve2` | `decimal(18,6)` | YES |
| 93 | `dSReserve3` | `decimal(18,6)` | YES |
| 94 | `iSReserve1` | `int` | YES |
| 95 | `iSReserve2` | `int` | YES |
| 96 | `iSReserve3` | `int` | YES |
| 97 | `tSReserve1` | `datetime` | YES |
| 98 | `tSReserve2` | `datetime` | YES |
| 99 | `sParam1` | `varchar(255)` | YES |
| 100 | `sParam2` | `varchar(255)` | YES |
| 101 | `sParam3` | `varchar(255)` | YES |
| 102 | `sParam4` | `varchar(255)` | YES |
| 103 | `sParam5` | `varchar(255)` | YES |
| 104 | `sParam6` | `varchar(255)` | YES |
| 105 | `sParamValue1` | `varchar(255)` | YES |
| 106 | `sParamValue2` | `varchar(255)` | YES |
| 107 | `sParamValue3` | `varchar(255)` | YES |
| 108 | `sParamValue4` | `varchar(255)` | YES |
| 109 | `sParamValue5` | `varchar(255)` | YES |
| 110 | `sParamValue6` | `varchar(255)` | YES |
| 111 | `sUnTaskFormId` | `varchar(100)` | NO |
| 112 | `tSrcDate` | `datetime` | YES |
| 113 | `sParam7` | `varchar(255)` | NO |
| 114 | `sParam8` | `varchar(255)` | NO |
| 115 | `sParam9` | `varchar(255)` | NO |
| 116 | `sParam10` | `varchar(255)` | NO |
| 117 | `sParamValue7` | `varchar(255)` | NO |
| 118 | `sParamValue8` | `varchar(255)` | NO |
| 119 | `sParamValue9` | `varchar(255)` | NO |
| 120 | `sParamValue10` | `varchar(255)` | NO |
| 121 | `sMachineWorkId` | `varchar(255)` | NO |
| 122 | `dWorkDate` | `datetime` | YES |
| 123 | `sWorkType` | `varchar(255)` | NO |
| 124 | `dCoefficient` | `decimal(18,6)` | NO |
| 125 | `dSumCoefficient` | `decimal(18,6)` | NO |
| 126 | `dTeamEmployeeCount` | `decimal(18,6)` | NO |
| 127 | `dEmployeeCount` | `decimal(18,6)` | NO |
| 128 | `sMakeupWageId` | `varchar(100)` | NO |
| 129 | `sExcessWageId` | `varchar(100)` | NO |
| 130 | `dMakeupWageMoney` | `decimal(18,6)` | NO |
| 131 | `dExcessWageMoney` | `decimal(18,6)` | NO |

## 定义

```sql
select `m`.`sId` AS `sId`,`m`.`sBrandsId` AS `sBrandsId`,`m`.`sSubsidiaryId` AS `sSubsidiaryId`,`m`.`tCreateDate` AS `tCreateDate`,`m`.`sMakePerson` AS `sMakePerson`,`m`.`sFormId` AS `sFormId`,`m`.`iOrder` AS `iOrder`,`m`.`sBillNo` AS `sBillNo`,`m`.`sMemo` AS `sMemo`,`m`.`bCheck` AS `bCheck`,`m`.`tCheckDate` AS `tCheckDate`,`m`.`sCheckPerson` AS `sCheckPerson`,`m`.`bPrint` AS `bPrint`,`m`.`bCopyLimit` AS `bCopyLimit`,`m`.`sStatus` AS `sStatus`,`m`.`bInvalid` AS `bInvalid`,`m`.`sMReserve1` AS `sMReserve1`,`m`.`sMReserve2` AS `sMReserve2`,`m`.`sMReserve3` AS `sMReserve3`,`m`.`sMReserve4` AS `sMReserve4`,`m`.`sMReserve5` AS `sMReserve5`,`m`.`sMReserve6` AS `sMReserve6`,`m`.`dMReserve1` AS `dMReserve1`,`m`.`dMReserve2` AS `dMReserve2`,`m`.`dMReserve3` AS `dMReserve3`,`m`.`iMReserve1` AS `iMReserve1`,`m`.`iMReserve2` AS `iMReserve2`,`m`.`iMReserve3` AS `iMReserve3`,`m`.`tMReserve1` AS `tMReserve1`,`m`.`tMReserve2` AS `tMReserve2`,`m`.`sProcessClassifyId` AS `sProcessClassifyId`,`s`.`sId` AS `sSlaveId`,`s`.`iOrder` AS `iSlaveOrder`,`s`.`sParentId` AS `sParentId`,`s`.`sCustomerId` AS `sCustomerId`,`s`.`sManualNo` AS `sManualNo`,`s`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`s`.`sProductId` AS `sProductId`,`s`.`sProcessId` AS `sProcessId`,`s`.`dProductQty` AS `dProductQty`,`s`.`sSrcControlId` AS `sSrcControlId`,`s`.`sPartsName` AS `sPartsName`,`s`.`sMachineId` AS `sMachineId`,`s`.`tStartDate` AS `tStartDate`,`s`.`tEndDate` AS `tEndDate`,`s`.`sMaterialsId` AS `sMaterialsId`,`s`.`sEmployeeId` AS `sEmployeeId`,`s`.`sTeamId` AS `sTeamId`,`s`.`dProcessQty` AS `dProcessQty`,`s`.`dConversionQty` AS `dConversionQty`,`s`.`dHour` AS `dHour`,`s`.`sWageId` AS `sWageId`,`s`.`dQualifiedProductionQty` AS `dQualifiedProductionQty`,`s`.`dNoQualifiedProductQty` AS `dNoQualifiedProductQty`,`s`.`dWasteProductionQty` AS `dWasteProductionQty`,`s`.`dAdjustableQty` AS `dAdjustableQty`,`s`.`dMakeReadyQty` AS `dMakeReadyQty`,`s`.`dMakeReadyMoney` AS `dMakeReadyMoney`,`s`.`dEquivalentQty` AS `dEquivalentQty`,`s`.`dWageMoney` AS `dWageMoney`,`s`.`dTimeMoney` AS `dTimeMoney`,`s`.`dLossMoney` AS `dLossMoney`,`s`.`dOtherMoney` AS `dOtherMoney`,`s`.`dAllMoney` AS `dAllMoney`,`s`.`sMaterialsMemo` AS `sMaterialsMemo`,`s`.`sProcessMemo` AS `sProcessMemo`,`s`.`sSrcSlaveId` AS `sSrcSlaveId`,`s`.`sSrcId` AS `sSrcId`,`s`.`sSrcNo` AS `sSrcNo`,`s`.`dSrcQty` AS `dSrcQty`,`s`.`dProductPQty` AS `dProductPQty`,`s`.`sSlaveMemo` AS `sSlaveMemo`,`s`.`sWebOrderNo` AS `sWebOrderNo`,`s`.`sWebOrderId` AS `sWebOrderId`,`s`.`sBarcode` AS `sBarcode`,`s`.`sOrderId` AS `sOrderId`,`s`.`sOrderSlaveId` AS `sOrderSlaveId`,`s`.`sOrderNo` AS `sOrderNo`,`s`.`sWorkOrderId` AS `sWorkOrderId`,`s`.`sWorkOrderSlaveId` AS `sWorkOrderSlaveId`,`s`.`sWorkOrderNo` AS `sWorkOrderNo`,`s`.`sWorkOrderControlId` AS `sWorkOrderControlId`,`s`.`sWorkOrderProcessTbId` AS `sWorkOrderProcessTbId`,`s`.`sWorkOrderMaterialsTbId` AS `sWorkOrderMaterialsTbId`,`s`.`sSReserve1` AS `sSReserve1`,`s`.`sSReserve2` AS `sSReserve2`,`s`.`sSReserve3` AS `sSReserve3`,`s`.`sSReserve4` AS `sSReserve4`,`s`.`sSReserve5` AS `sSReserve5`,`s`.`sSReserve6` AS `sSReserve6`,`s`.`dSReserve1` AS `dSReserve1`,`s`.`dSReserve2` AS `dSReserve2`,`s`.`dSReserve3` AS `dSReserve3`,`s`.`iSReserve1` AS `iSReserve1`,`s`.`iSReserve2` AS `iSReserve2`,`s`.`iSReserve3` AS `iSReserve3`,`s`.`tSReserve1` AS `tSReserve1`,`s`.`tSReserve2` AS `tSReserve2`,`s`.`sParam1` AS `sParam1`,`s`.`sParam2` AS `sParam2`,`s`.`sParam3` AS `sParam3`,`s`.`sParam4` AS `sParam4`,`s`.`sParam5` AS `sParam5`,`s`.`sParam6` AS `sParam6`,`s`.`sParamValue1` AS `sParamValue1`,`s`.`sParamValue2` AS `sParamValue2`,`s`.`sParamValue3` AS `sParamValue3`,`s`.`sParamValue4` AS `sParamValue4`,`s`.`sParamValue5` AS `sParamValue5`,`s`.`sParamValue6` AS `sParamValue6`,`s`.`sUnTaskFormId` AS `sUnTaskFormId`,`s`.`tSrcDate` AS `tSrcDate`,`s`.`sParam7` AS `sParam7`,`s`.`sParam8` AS `sParam8`,`s`.`sParam9` AS `sParam9`,`s`.`sParam10` AS `sParam10`,`s`.`sParamValue7` AS `sParamValue7`,`s`.`sParamValue8` AS `sParamValue8`,`s`.`sParamValue9` AS `sParamValue9`,`s`.`sParamValue10` AS `sParamValue10`,`s`.`sMachineWorkId` AS `sMachineWorkId`,`s`.`dWorkDate` AS `dWorkDate`,`s`.`sWorkType` AS `sWorkType`,`s`.`dCoefficient` AS `dCoefficient`,`s`.`dSumCoefficient` AS `dSumCoefficient`,`s`.`dTeamEmployeeCount` AS `dTeamEmployeeCount`,`s`.`dEmployeeCount` AS `dEmployeeCount`,`s`.`sMakeupWageId` AS `sMakeupWageId`,`s`.`sExcessWageId` AS `sExcessWageId`,`s`.`dMakeupWageMoney` AS `dMakeupWageMoney`,`s`.`dExcessWageMoney` AS `dExcessWageMoney` from (`xlyweberp_saas_ai`.`mftproductionreportwagemaster` `m` join `xlyweberp_saas_ai`.`mftproductionreportwageslave` `s` on((`m`.`sId` = `s`.`sParentId`)))
```

## 说明

_暂无人工说明。_
