# `viw_mftworkorderparam`（视图）


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

## 字段

| # | 名称 | 类型 | 可空 |
|---|---|---|---|
| 1 | `sId` | `varchar(100)` | NO |
| 2 | `bProduction` | `bit(1)` | NO |
| 3 | `sBrandsId` | `varchar(100)` | NO |
| 4 | `sSubsidiaryId` | `varchar(100)` | NO |
| 5 | `tCreateDate` | `datetime` | NO |
| 6 | `sMakePerson` | `varchar(255)` | NO |
| 7 | `sFormId` | `varchar(100)` | NO |
| 8 | `iOrder` | `int` | NO |
| 9 | `sBillNo` | `varchar(255)` | NO |
| 10 | `sMemo` | `text` | YES |
| 11 | `bCheck` | `bit(1)` | NO |
| 12 | `tCheckDate` | `datetime` | YES |
| 13 | `sCheckPerson` | `varchar(255)` | YES |
| 14 | `dAdvanceMoney` | `decimal(18,6)` | NO |
| 15 | `dRealAdvanceMoney` | `decimal(18,6)` | NO |
| 16 | `tAdvanceDate` | `datetime` | YES |
| 17 | `bPrint` | `bit(1)` | NO |
| 18 | `bBillComplete` | `bit(1)` | NO |
| 19 | `bBillOutside` | `bit(1)` | NO |
| 20 | `bCopyLimit` | `bit(1)` | NO |
| 21 | `sStatus` | `varchar(255)` | YES |
| 22 | `bInvalid` | `bit(1)` | NO |
| 23 | `sMReserve1` | `varchar(255)` | YES |
| 24 | `sMReserve2` | `varchar(255)` | YES |
| 25 | `sMReserve3` | `varchar(255)` | YES |
| 26 | `sMReserve4` | `varchar(255)` | YES |
| 27 | `sMReserve5` | `varchar(255)` | YES |
| 28 | `sMReserve6` | `varchar(255)` | YES |
| 29 | `dMReserve1` | `decimal(18,6)` | YES |
| 30 | `dMReserve2` | `decimal(18,6)` | YES |
| 31 | `dMReserve3` | `decimal(18,6)` | YES |
| 32 | `iMReserve1` | `int` | YES |
| 33 | `iMReserve2` | `int` | YES |
| 34 | `iMReserve3` | `int` | YES |
| 35 | `tMReserve1` | `datetime` | YES |
| 36 | `tMReserve2` | `datetime` | YES |
| 37 | `bNotInStorageOverdueComplete` | `bit(1)` | NO |
| 38 | `sType` | `varchar(255)` | NO |
| 39 | `tBillCompleteDate` | `datetime` | YES |
| 40 | `bAdvanceComplete` | `bit(1)` | NO |
| 41 | `sPlateMaking` | `varchar(255)` | NO |
| 42 | `dAllMoney` | `decimal(18,6)` | NO |
| 43 | `dTransportMoney` | `decimal(18,6)` | NO |
| 44 | `dPackMoney` | `decimal(18,6)` | NO |
| 45 | `dAuxiliaryMaterialsMoney` | `decimal(18,6)` | NO |
| 46 | `dMasterMaterialsMoney` | `decimal(18,6)` | NO |
| 47 | `dPrintProductMoney` | `decimal(18,6)` | NO |
| 48 | `dPrintAfterMoney` | `decimal(18,6)` | NO |
| 49 | `dPrintMoney` | `decimal(18,6)` | NO |
| 50 | `dPrintBeforeMoney` | `decimal(18,6) unsigned` | NO |
| 51 | `bCarryOver` | `bit(1)` | NO |
| 52 | `dProductCarryOverQty` | `decimal(18,6)` | NO |
| 53 | `tFactCountCost` | `datetime` | YES |
| 54 | `sSlaveId` | `varchar(100)` | NO |
| 55 | `iSlaveOrder` | `int` | NO |
| 56 | `sCustomerId` | `varchar(100)` | NO |
| 57 | `sContacts` | `varchar(255)` | YES |
| 58 | `sPhone` | `varchar(255)` | YES |
| 59 | `tDeliverDate` | `datetime` | YES |
| 60 | `sSalesManId` | `varchar(255)` | YES |
| 61 | `sProductTechnologyVer` | `varchar(255)` | YES |
| 62 | `sGetPayId` | `varchar(255)` | YES |
| 63 | `tGetPayDate` | `datetime` | YES |
| 64 | `sConsignee` | `varchar(255)` | YES |
| 65 | `sConsigneeMobile` | `varchar(255)` | YES |
| 66 | `sDeliverId` | `varchar(100)` | YES |
| 67 | `sProvince` | `varchar(255)` | YES |
| 68 | `sCity` | `varchar(255)` | YES |
| 69 | `sArea` | `varchar(255)` | YES |
| 70 | `sDeliverTo` | `varchar(255)` | YES |
| 71 | `sManualNo` | `varchar(255)` | YES |
| 72 | `sCustomerOrderNo` | `varchar(255)` | YES |
| 73 | `sCurrency` | `varchar(255)` | YES |
| 74 | `dCurrencyRate` | `decimal(18,6)` | YES |
| 75 | `sProductId` | `varchar(100)` | NO |
| 76 | `dProductQty` | `decimal(18,6)` | NO |
| 77 | `dProductNotStoreQty` | `decimal(19,6)` | NO |
| 78 | `dProductPrice` | `decimal(18,6)` | NO |
| 79 | `dProductMoney` | `decimal(18,6)` | NO |
| 80 | `sProductInfo` | `text` | YES |
| 81 | `sMaterialsMemo` | `text` | YES |
| 82 | `sProcessMemo` | `text` | YES |
| 83 | `sSrcSlaveId` | `varchar(100)` | NO |
| 84 | `sSrcId` | `varchar(100)` | NO |
| 85 | `sSrcNo` | `varchar(255)` | NO |
| 86 | `dSrcQty` | `decimal(18,6)` | YES |
| 87 | `dProductPQty` | `decimal(18,6)` | YES |
| 88 | `bProductInStoreComplete` | `bit(1)` | NO |
| 89 | `bDeliverComplete` | `bit(1)` | NO |
| 90 | `bDeliverNotifyComplete` | `bit(1)` | NO |
| 91 | `bOutsideProcessComplete` | `bit(1)` | NO |
| 92 | `sQualityRequireMemo` | `text` | YES |
| 93 | `sPackRequireMemo` | `text` | YES |
| 94 | `sSlaveMemo` | `text` | YES |
| 95 | `sTaxId` | `varchar(100)` | YES |
| 96 | `dProductNoTaxPrice` | `decimal(18,6)` | YES |
| 97 | `dProductNoTaxMoney` | `decimal(18,6)` | YES |
| 98 | `dProductTaxMoney` | `decimal(18,6)` | YES |
| 99 | `dProductTaxForeignMoney` | `decimal(18,6)` | YES |
| 100 | `dProductForeignMoney` | `decimal(18,6)` | YES |
| 101 | `dProductInStoreQty` | `decimal(18,6)` | NO |
| 102 | `dDeliverNotifyQty` | `decimal(18,6)` | NO |
| 103 | `dDeliverQty` | `decimal(18,6)` | NO |
| 104 | `dCheckingQty` | `decimal(18,6)` | NO |
| 105 | `dReceiptMoney` | `decimal(18,6)` | NO |
| 106 | `dOutsideProcessQty` | `decimal(18,6)` | NO |
| 107 | `sWebOrderNo` | `varchar(255)` | NO |
| 108 | `sWebOrderId` | `varchar(100)` | NO |
| 109 | `sBarcode` | `varchar(255)` | YES |
| 110 | `dGiveQty` | `decimal(18,6)` | NO |
| 111 | `sProductTechnologyId` | `varchar(100)` | YES |
| 112 | `sOrderId` | `varchar(100)` | NO |
| 113 | `sOrderNo` | `varchar(255)` | NO |
| 114 | `sSReserve1` | `varchar(255)` | YES |
| 115 | `sSReserve2` | `varchar(255)` | YES |
| 116 | `sSReserve3` | `varchar(255)` | YES |
| 117 | `sSReserve4` | `varchar(255)` | YES |
| 118 | `sSReserve5` | `varchar(255)` | YES |
| 119 | `sSReserve6` | `varchar(255)` | YES |
| 120 | `dSReserve1` | `decimal(18,6)` | YES |
| 121 | `dSReserve2` | `decimal(18,6)` | YES |
| 122 | `dSReserve3` | `decimal(18,6)` | YES |
| 123 | `iSReserve1` | `int` | YES |
| 124 | `iSReserve2` | `int` | YES |
| 125 | `iSReserve3` | `int` | YES |
| 126 | `tSReserve1` | `datetime` | YES |
| 127 | `tSReserve2` | `datetime` | YES |
| 128 | `dPresentQty` | `decimal(18,6)` | NO |
| 129 | `sOrderSlaveId` | `varchar(100)` | NO |
| 130 | `iProductStick` | `int` | YES |
| 131 | `bCheckingComplete` | `bit(1)` | NO |
| 132 | `bSlaveAdvanceComplete` | `bit(1)` | NO |
| 133 | `iIncrement` | `int` | NO |
| 134 | `bQlyComplete` | `bit(1)` | NO |
| 135 | `dQlyQty` | `decimal(18,6)` | NO |
| 136 | `bReceiptComplete` | `bit(1)` | NO |
| 137 | `dSampleQty` | `decimal(18,6)` | NO |
| 138 | `dCombineQty` | `decimal(18,6)` | NO |
| 139 | `dDiameter` | `decimal(18,6)` | YES |
| 140 | `dOutSideDiameter` | `decimal(18,6)` | YES |
| 141 | `bCutting` | `bit(1)` | NO |
| 142 | `dMeters` | `decimal(18,6)` | YES |
| 143 | `dPaper` | `decimal(18,6)` | YES |
| 144 | `sPaperDirection` | `varchar(100)` | YES |
| 145 | `dSkip` | `decimal(18,6)` | YES |
| 146 | `dLeftSide` | `decimal(18,6)` | YES |
| 147 | `sPartsStyle` | `varchar(255)` | NO |
| 148 | `sParam5` | `varchar(255)` | NO |
| 149 | `sParam4` | `varchar(255)` | NO |
| 150 | `sParam3` | `varchar(255)` | NO |
| 151 | `sParam2` | `varchar(255)` | NO |
| 152 | `sParam1` | `varchar(255)` | NO |
| 153 | `sColorMemo` | `text` | YES |
| 154 | `bCustomerStatus` | `bit(1)` | NO |
| 155 | `bCustomerStatusEnd` | `bit(1)` | NO |
| 156 | `sNoFormat` | `varchar(255)` | NO |
| 157 | `bCustomerSureComplete` | `bit(1)` | NO |
| 158 | `dDiffDate` | `int` | YES |
| 159 | `sParamId` | `varchar(100)` | NO |
| 160 | `iParamOrder` | `int` | NO |
| 161 | `sParamParam1` | `varchar(255)` | YES |
| 162 | `sParamParam2` | `varchar(255)` | YES |
| 163 | `sParamParam3` | `varchar(255)` | YES |
| 164 | `sParamParam4` | `varchar(255)` | YES |
| 165 | `sParamParam5` | `varchar(255)` | YES |
| 166 | `sParamParam6` | `varchar(255)` | YES |
| 167 | `sParamParam7` | `varchar(255)` | YES |
| 168 | `sParamParam8` | `varchar(255)` | YES |
| 169 | `sParamParam9` | `varchar(255)` | YES |
| 170 | `sParamParam10` | `varchar(255)` | YES |
| 171 | `sParamParam11` | `varchar(255)` | YES |
| 172 | `sParamParam12` | `varchar(255)` | YES |
| 173 | `sParamParam13` | `varchar(255)` | YES |
| 174 | `sParamParam14` | `varchar(255)` | YES |
| 175 | `sParamParam15` | `varchar(255)` | YES |
| 176 | `dParamParam1` | `decimal(18,6)` | YES |
| 177 | `dParamParam2` | `decimal(18,6)` | YES |
| 178 | `dParamParam3` | `decimal(18,6)` | YES |
| 179 | `dParamParam4` | `decimal(18,6)` | YES |
| 180 | `dParamParam5` | `decimal(18,6)` | YES |
| 181 | `dParamParam6` | `decimal(18,6)` | YES |
| 182 | `bNotColor` | `bit(1)` | NO |
| 183 | `tParamDate` | `datetime` | YES |
| 184 | `sKnifeMouldId` | `varchar(100)` | NO |
| 185 | `sSgdsemigoodsmatchbillId` | `varchar(100)` | NO |
| 186 | `bSgdsemigoodsmatchbillComplete` | `bit(1)` | NO |
| 187 | `sMaterialsId` | `varchar(100)` | NO |

## 定义

```sql
select `m`.`sId` AS `sId`,`m`.`bProduction` AS `bProduction`,`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`.`dAdvanceMoney` AS `dAdvanceMoney`,`m`.`dRealAdvanceMoney` AS `dRealAdvanceMoney`,`m`.`tAdvanceDate` AS `tAdvanceDate`,`m`.`bPrint` AS `bPrint`,`m`.`bBillComplete` AS `bBillComplete`,`m`.`bBillOutside` AS `bBillOutside`,`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`.`bNotInStorageOverdueComplete` AS `bNotInStorageOverdueComplete`,`m`.`sType` AS `sType`,`m`.`tBillCompleteDate` AS `tBillCompleteDate`,`m`.`bAdvanceComplete` AS `bAdvanceComplete`,`m`.`sPlateMaking` AS `sPlateMaking`,`m`.`dAllMoney` AS `dAllMoney`,`m`.`dTransportMoney` AS `dTransportMoney`,`m`.`dPackMoney` AS `dPackMoney`,`m`.`dAuxiliaryMaterialsMoney` AS `dAuxiliaryMaterialsMoney`,`m`.`dMasterMaterialsMoney` AS `dMasterMaterialsMoney`,`m`.`dPrintProductMoney` AS `dPrintProductMoney`,`m`.`dPrintAfterMoney` AS `dPrintAfterMoney`,`m`.`dPrintMoney` AS `dPrintMoney`,`m`.`dPrintBeforeMoney` AS `dPrintBeforeMoney`,`m`.`bCarryOver` AS `bCarryOver`,`m`.`dProductCarryOverQty` AS `dProductCarryOverQty`,`m`.`tFactCountCost` AS `tFactCountCost`,`s`.`sId` AS `sSlaveId`,`s`.`iOrder` AS `iSlaveOrder`,`s`.`sCustomerId` AS `sCustomerId`,`s`.`sContacts` AS `sContacts`,`s`.`sPhone` AS `sPhone`,`s`.`tDeliverDate` AS `tDeliverDate`,`s`.`sSalesManId` AS `sSalesManId`,`s`.`sProductTechnologyVer` AS `sProductTechnologyVer`,`s`.`sGetPayId` AS `sGetPayId`,`s`.`tGetPayDate` AS `tGetPayDate`,`s`.`sConsignee` AS `sConsignee`,`s`.`sConsigneeMobile` AS `sConsigneeMobile`,`s`.`sDeliverId` AS `sDeliverId`,`s`.`sProvince` AS `sProvince`,`s`.`sCity` AS `sCity`,`s`.`sArea` AS `sArea`,`s`.`sDeliverTo` AS `sDeliverTo`,`s`.`sManualNo` AS `sManualNo`,`s`.`sCustomerOrderNo` AS `sCustomerOrderNo`,`s`.`sCurrency` AS `sCurrency`,`s`.`dCurrencyRate` AS `dCurrencyRate`,`s`.`sProductId` AS `sProductId`,`s`.`dProductQty` AS `dProductQty`,(ifnull(`s`.`dProductQty`,0) - ifnull(`s`.`dProductInStoreQty`,0)) AS `dProductNotStoreQty`,`s`.`dProductPrice` AS `dProductPrice`,`s`.`dProductMoney` AS `dProductMoney`,`s`.`sProductInfo` AS `sProductInfo`,`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`.`bProductInStoreComplete` AS `bProductInStoreComplete`,`s`.`bDeliverComplete` AS `bDeliverComplete`,`s`.`bDeliverNotifyComplete` AS `bDeliverNotifyComplete`,`s`.`bOutsideProcessComplete` AS `bOutsideProcessComplete`,`s`.`sQualityRequireMemo` AS `sQualityRequireMemo`,`s`.`sPackRequireMemo` AS `sPackRequireMemo`,`s`.`sSlaveMemo` AS `sSlaveMemo`,`s`.`sTaxId` AS `sTaxId`,`s`.`dProductNoTaxPrice` AS `dProductNoTaxPrice`,`s`.`dProductNoTaxMoney` AS `dProductNoTaxMoney`,`s`.`dProductTaxMoney` AS `dProductTaxMoney`,`s`.`dProductTaxForeignMoney` AS `dProductTaxForeignMoney`,`s`.`dProductForeignMoney` AS `dProductForeignMoney`,`s`.`dProductInStoreQty` AS `dProductInStoreQty`,`s`.`dDeliverNotifyQty` AS `dDeliverNotifyQty`,`s`.`dDeliverQty` AS `dDeliverQty`,`s`.`dCheckingQty` AS `dCheckingQty`,`s`.`dReceiptMoney` AS `dReceiptMoney`,`s`.`dOutsideProcessQty` AS `dOutsideProcessQty`,`s`.`sWebOrderNo` AS `sWebOrderNo`,`s`.`sWebOrderId` AS `sWebOrderId`,`s`.`sBarcode` AS `sBarcode`,`s`.`dGiveQty` AS `dGiveQty`,`s`.`sProductTechnologyId` AS `sProductTechnologyId`,`s`.`sOrderId` AS `sOrderId`,`s`.`sOrderNo` AS `sOrderNo`,`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`.`dPresentQty` AS `dPresentQty`,`s`.`sOrderSlaveId` AS `sOrderSlaveId`,`s`.`iProductStick` AS `iProductStick`,`s`.`bCheckingComplete` AS `bCheckingComplete`,`s`.`bAdvanceComplete` AS `bSlaveAdvanceComplete`,`s`.`iIncrement` AS `iIncrement`,`s`.`bQlyComplete` AS `bQlyComplete`,`s`.`dQlyQty` AS `dQlyQty`,`s`.`bReceiptComplete` AS `bReceiptComplete`,`s`.`dSampleQty` AS `dSampleQty`,`s`.`dCombineQty` AS `dCombineQty`,`s`.`dDiameter` AS `dDiameter`,`s`.`dOutSideDiameter` AS `dOutSideDiameter`,`s`.`bCutting` AS `bCutting`,`s`.`dMeters` AS `dMeters`,`s`.`dPaper` AS `dPaper`,`s`.`sPaperDirection` AS `sPaperDirection`,`s`.`dSkip` AS `dSkip`,`s`.`dLeftSide` AS `dLeftSide`,`s`.`sPartsStyle` AS `sPartsStyle`,`s`.`sParam5` AS `sParam5`,`s`.`sParam4` AS `sParam4`,`s`.`sParam3` AS `sParam3`,`s`.`sParam2` AS `sParam2`,`s`.`sParam1` AS `sParam1`,`s`.`sColorMemo` AS `sColorMemo`,`s`.`bCustomerStatus` AS `bCustomerStatus`,`s`.`bCustomerStatusEnd` AS `bCustomerStatusEnd`,`m`.`sNoFormat` AS `sNoFormat`,`m`.`bCustomerSureComplete` AS `bCustomerSureComplete`,(to_days(now()) - to_days(`s`.`tDeliverDate`)) AS `dDiffDate`,`p`.`sId` AS `sParamId`,`p`.`iOrder` AS `iParamOrder`,`p`.`sParam1` AS `sParamParam1`,`p`.`sParam2` AS `sParamParam2`,`p`.`sParam3` AS `sParamParam3`,`p`.`sParam4` AS `sParamParam4`,`p`.`sParam5` AS `sParamParam5`,`p`.`sParam6` AS `sParamParam6`,`p`.`sParam7` AS `sParamParam7`,`p`.`sParam8` AS `sParamParam8`,`p`.`sParam9` AS `sParamParam9`,`p`.`sParam10` AS `sParamParam10`,`p`.`sParam11` AS `sParamParam11`,`p`.`sParam12` AS `sParamParam12`,`p`.`sParam13` AS `sParamParam13`,`p`.`sParam14` AS `sParamParam14`,`p`.`sParam15` AS `sParamParam15`,`p`.`dParam1` AS `dParamParam1`,`p`.`dParam2` AS `dParamParam2`,`p`.`dParam3` AS `dParamParam3`,`p`.`dParam4` AS `dParamParam4`,`p`.`dParam5` AS `dParamParam5`,`p`.`dParam6` AS `dParamParam6`,`p`.`bNotColor` AS `bNotColor`,`p`.`tParamDate` AS `tParamDate`,`p`.`sKnifeMouldId` AS `sKnifeMouldId`,`p`.`sSgdsemigoodsmatchbillId` AS `sSgdsemigoodsmatchbillId`,`p`.`bSgdsemigoodsmatchbillComplete` AS `bSgdsemigoodsmatchbillComplete`,`p`.`sMaterialsId` AS `sMaterialsId` from ((`xlyweberp_saas_ai`.`mftworkordermaster` `m` join `xlyweberp_saas_ai`.`mftworkorderslave` `s` on((`m`.`sId` = `s`.`sParentId`))) join `xlyweberp_saas_ai`.`mftworkorderparam` `p` on((`m`.`sId` = `p`.`sParentId`)))
```

## 说明

_暂无人工说明。_
