# `viw_eptmachinemaintainplan`（视图）


- **是否可更新：** 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 | `sManualNo` | `varchar(255)` | NO |
| 10 | `sType` | `varchar(255)` | NO |
| 11 | `sMemo` | `text` | YES |
| 12 | `bCheck` | `bit(1)` | NO |
| 13 | `tCheckDate` | `datetime` | YES |
| 14 | `sCheckPerson` | `varchar(255)` | YES |
| 15 | `bPrint` | `bit(1)` | NO |
| 16 | `bCopyLimit` | `bit(1)` | NO |
| 17 | `sStatus` | `varchar(255)` | YES |
| 18 | `bInvalid` | `bit(1)` | NO |
| 19 | `sMReserve1` | `varchar(255)` | YES |
| 20 | `sMReserve2` | `varchar(255)` | YES |
| 21 | `sMReserve3` | `varchar(255)` | YES |
| 22 | `sMReserve4` | `varchar(255)` | YES |
| 23 | `sMReserve5` | `varchar(255)` | YES |
| 24 | `sMReserve6` | `varchar(255)` | YES |
| 25 | `dMReserve1` | `decimal(18,6)` | YES |
| 26 | `dMReserve2` | `decimal(18,6)` | YES |
| 27 | `dMReserve3` | `decimal(18,6)` | YES |
| 28 | `iMReserve1` | `int` | YES |
| 29 | `iMReserve2` | `int` | YES |
| 30 | `iMReserve3` | `int` | YES |
| 31 | `tMReserve1` | `datetime` | YES |
| 32 | `tMReserve2` | `datetime` | YES |
| 33 | `tStartDate` | `datetime` | YES |
| 34 | `tEndDate` | `datetime` | YES |
| 35 | `sMachineId` | `varchar(100)` | NO |
| 36 | `sMaintainClassifyId` | `varchar(100)` | NO |
| 37 | `tNotifyDate` | `datetime` | YES |
| 38 | `sWorkCenterId` | `varchar(100)` | NO |
| 39 | `sSlaveId` | `varchar(100)` | NO |
| 40 | `iSlaveOrder` | `int` | NO |
| 41 | `sParentId` | `varchar(100)` | NO |
| 42 | `sMaintainContent` | `varchar(255)` | NO |
| 43 | `sMaintainResult` | `varchar(255)` | NO |
| 44 | `sMaintainEmployeeId` | `varchar(100)` | NO |
| 45 | `tPriorDate` | `datetime` | YES |
| 46 | `tNextStartDate` | `datetime` | YES |
| 47 | `tNextEndDate` | `datetime` | YES |
| 48 | `sIntervaltype` | `varchar(255)` | NO |
| 49 | `iInterval` | `int` | NO |
| 50 | `sSReserve1` | `varchar(255)` | NO |
| 51 | `sSReserve2` | `varchar(255)` | NO |
| 52 | `sSReserve3` | `varchar(255)` | NO |
| 53 | `sSReserve4` | `varchar(255)` | NO |
| 54 | `sSReserve5` | `varchar(255)` | NO |
| 55 | `sSReserve6` | `varchar(255)` | NO |
| 56 | `tSReserve1` | `datetime` | YES |
| 57 | `tSReserve2` | `datetime` | YES |
| 58 | `tSReserve3` | `datetime` | YES |
| 59 | `dSReserve1` | `decimal(18,6)` | YES |
| 60 | `dSReserve2` | `decimal(18,6)` | YES |
| 61 | `dSReserve3` | `decimal(18,6)` | YES |
| 62 | `sSlaveMemo` | `text` | YES |
| 63 | `sMaintainNo` | `varchar(255)` | YES |
| 64 | `tSReserve4` | `datetime` | YES |

## 定义

```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`.`sManualNo` AS `sManualNo`,`m`.`sType` AS `sType`,`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`.`tStartDate` AS `tStartDate`,`m`.`tEndDate` AS `tEndDate`,`m`.`sMachineId` AS `sMachineId`,`m`.`sMaintainClassifyId` AS `sMaintainClassifyId`,`m`.`tNotifyDate` AS `tNotifyDate`,`m`.`sWorkCenterId` AS `sWorkCenterId`,`s`.`sId` AS `sSlaveId`,`s`.`iOrder` AS `iSlaveOrder`,`s`.`sParentId` AS `sParentId`,`s`.`sMaintainContent` AS `sMaintainContent`,`s`.`sMaintainResult` AS `sMaintainResult`,`s`.`sMaintainEmployeeId` AS `sMaintainEmployeeId`,`s`.`tPriorDate` AS `tPriorDate`,`s`.`tNextStartDate` AS `tNextStartDate`,`s`.`tNextEndDate` AS `tNextEndDate`,`s`.`sIntervaltype` AS `sIntervaltype`,`s`.`iInterval` AS `iInterval`,`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`.`tSReserve1` AS `tSReserve1`,`s`.`tSReserve2` AS `tSReserve2`,`s`.`tSReserve3` AS `tSReserve3`,`s`.`dSReserve1` AS `dSReserve1`,`s`.`dSReserve2` AS `dSReserve2`,`s`.`dSReserve3` AS `dSReserve3`,`s`.`sSlaveMemo` AS `sSlaveMemo`,`s`.`sMaintainNo` AS `sMaintainNo`,`s`.`tSReserve4` AS `tSReserve4` from (`xlyweberp_saas_ai`.`eptmachinemaintainplanmaster` `m` join `xlyweberp_saas_ai`.`eptmachinemaintainplanslave` `s` on((`m`.`sId` = `s`.`sParentId`)))
```

## 说明

_暂无人工说明。_
