Entity_ClassDiagram.md 21 KB

我的工单功能实体类图

1. 我创建的工单实体类图

classDiagram
    class OrderScoreInfo {
        + Integer orderType
        + Long id
        + String workOrderProjectNo
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String pcsDeviceName
        + String brand
        + String model
        + Date createTime
        + String createBy
        + Date updateTime
        + String updateBy
    }
    
    class GxtRepairOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + String workOrderStatusName
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String faultCode
        + Date occurTime
        + String misOrderNo
        + String faultDesc
        + String assignUserName
        + Date assignTime
        + Long assignUserId
        + String acceptUserName
        + Date acceptTime
        + Long acceptUserId
        + String teamLeaderName
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String content
        + BigDecimal planHour
        + String priorityType
        + BigDecimal score
        + String reviewContent
        + String maintenanceType
        + String faultBarcode
        + String suspendReason
        + String suspendDescription
        + String suspendExplain
        + String approvalStatus
        + String rejectionReason
        + String finalizationRemark
        + String relatedOrderCode
        + String relatedOrderContent
        + Date restartTime
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + Long orderType
        + String repairMethod
        + String resetMethod
        + String invalidReason
        + String returnType
        + String returnReason
        + List~GxtRepairOrderPerson~ repairOrderPersonList
        + List~GxtRepairOrderFlow~ repairOrderFlowList
        + Long pcsStationPid
        + String attachmentUrls
        + String modifyReason
        + String feedbackReason
        + Integer confirmStatus
        + Integer wwryNum
        + Integer wlryNum
        + String workArea
        + String infoEntry
        + String realFailureReason
        + BigDecimal lostPower
        + String workPermitNum
        + Integer outTimeParam
        + String homePageParam
        + Long appealUserId
        + String appealUserName
        + Date appealTime
        + String appealReason
        + Date createTime
        + String createBy
        + Date updateTime
        + String updateBy
    }
    
    class GxtWorkOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String inspectionType
        + String misNo
        + Date planStartTime
        + Date planEndTime
        + String orderSource
        + Date assignTime
        + Long assignUserId
        + String assignUserName
        + Long acceptUserId
        + String acceptUserName
        + Date acceptTime
        + String teamLeaderName
        + Date realStartTime
        + Date realEndTime
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String suspendReason
        + String suspendExplain
        + Date suspendTime
        + String statusBeforeSuspend
        + String rejectionReason
        + String pauseReason
        + Date pauseTime
        + Date restartTime
        + Date completeTime
        + BigDecimal planHour
        + String content
        + String realContent
        + String faultCode
        + String faultDesc
        + Long orderType
        + Long priorityType
        + BigDecimal score
        + String reviewContent
        + String issuerName
        + String permitterName
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + List~GxtWorkOrderPerson~ workOrderPersonList
        + List~GxtWorkOrderFlow~ workOrderFlowList
        + String attachmentUrls
        + String attachmentFileNames
        + String attachmentOriginalNames
        + BigDecimal itemCompletionFactor
        + BigDecimal itemCompletionFactorSum
        + List~GxtWorkOrderAttachment~ attachments
        + String modifyReason
        + String invalidReason
        + Date createTime
        + String createBy
        + Date updateTime
        + String updateBy
    }
    
    OrderScoreInfo <.. GxtRepairOrder : Converted from
    OrderScoreInfo <.. GxtWorkOrder : Converted from

2. 我处理的工单实体类图

classDiagram
    class OrderScoreInfo {
        + Integer orderType
        + Long id
        + String workOrderProjectNo
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String pcsDeviceName
        + String brand
        + String model
        + Date acceptTime
        + String acceptUserName
        + Date realStartTime
        + Date realEndTime
        + String teamLeaderName
        + Date createTime
        + Date updateTime
    }
    
    class GxtRepairOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + String workOrderStatusName
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String faultCode
        + Date occurTime
        + String misOrderNo
        + String faultDesc
        + String assignUserName
        + Date assignTime
        + Long assignUserId
        + String acceptUserName
        + Date acceptTime
        + Long acceptUserId
        + String teamLeaderName
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String content
        + BigDecimal planHour
        + String priorityType
        + BigDecimal score
        + String reviewContent
        + String maintenanceType
        + String faultBarcode
        + String suspendReason
        + String suspendDescription
        + String suspendExplain
        + String approvalStatus
        + String rejectionReason
        + String finalizationRemark
        + String relatedOrderCode
        + String relatedOrderContent
        + Date restartTime
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + Long orderType
        + String repairMethod
        + String resetMethod
        + String invalidReason
        + String returnType
        + String returnReason
        + List~GxtRepairOrderPerson~ repairOrderPersonList
        + List~GxtRepairOrderFlow~ repairOrderFlowList
        + Long pcsStationPid
        + String attachmentUrls
        + String modifyReason
        + String feedbackReason
        + Integer confirmStatus
        + Integer wwryNum
        + Integer wlryNum
        + String workArea
        + String infoEntry
        + String realFailureReason
        + BigDecimal lostPower
        + String workPermitNum
        + Integer outTimeParam
        + String homePageParam
        + Long appealUserId
        + String appealUserName
        + Date appealTime
        + String appealReason
    }
    
    class GxtWorkOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String inspectionType
        + String misNo
        + Date planStartTime
        + Date planEndTime
        + String orderSource
        + Date assignTime
        + Long assignUserId
        + String assignUserName
        + Long acceptUserId
        + String acceptUserName
        + Date acceptTime
        + String teamLeaderName
        + Date realStartTime
        + Date realEndTime
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String suspendReason
        + String suspendExplain
        + Date suspendTime
        + String statusBeforeSuspend
        + String rejectionReason
        + String pauseReason
        + Date pauseTime
        + Date restartTime
        + Date completeTime
        + BigDecimal planHour
        + String content
        + String realContent
        + String faultCode
        + String faultDesc
        + Long orderType
        + Long priorityType
        + BigDecimal score
        + String reviewContent
        + String issuerName
        + String permitterName
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + List~GxtWorkOrderPerson~ workOrderPersonList
        + List~GxtWorkOrderFlow~ workOrderFlowList
        + String attachmentUrls
        + String attachmentFileNames
        + String attachmentOriginalNames
        + BigDecimal itemCompletionFactor
        + BigDecimal itemCompletionFactorSum
        + List~GxtWorkOrderAttachment~ attachments
        + String modifyReason
        + String invalidReason
    }
    
    class GxtRepairOrderFlow {
        + Long id
        + Long orderId
        + String actionType
        + String actionDesc
        + Long operatorId
        + String operatorName
        + String operatorDept
        + String remark
        + Date createTime
        + Date updateTime
    }
    
    class GxtWorkOrderFlow {
        + Long id
        + Long orderId
        + String actionType
        + String actionDesc
        + Long operatorId
        + String operatorName
        + String operatorDept
        + String remark
        + Date createTime
        + Date updateTime
    }
    
    OrderScoreInfo <.. GxtRepairOrder : Converted from
    OrderScoreInfo <.. GxtWorkOrder : Converted from
    OrderScoreInfo --> GxtRepairOrderFlow : Associated (Processing Records)
    OrderScoreInfo --> GxtWorkOrderFlow : Associated (Processing Records)

3. 我相关的工单实体类图

classDiagram
    class OrderScoreInfo {
        + Integer orderType
        + Long id
        + String workOrderProjectNo
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String pcsDeviceName
        + String brand
        + String model
        + String teamLeaderName
        + String workGroupMemberName
        + Date createTime
        + Date updateTime
    }
    
    class GxtRepairOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + String workOrderStatusName
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String faultCode
        + Date occurTime
        + String misOrderNo
        + String faultDesc
        + String assignUserName
        + Date assignTime
        + Long assignUserId
        + String acceptUserName
        + Date acceptTime
        + Long acceptUserId
        + String teamLeaderName
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String content
        + BigDecimal planHour
        + String priorityType
        + BigDecimal score
        + String reviewContent
        + String maintenanceType
        + String faultBarcode
        + String suspendReason
        + String suspendDescription
        + String suspendExplain
        + String approvalStatus
        + String rejectionReason
        + String finalizationRemark
        + String relatedOrderCode
        + String relatedOrderContent
        + Date restartTime
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + Long orderType
        + String repairMethod
        + String resetMethod
        + String invalidReason
        + String returnType
        + String returnReason
        + List~GxtRepairOrderPerson~ repairOrderPersonList
        + List~GxtRepairOrderFlow~ repairOrderFlowList
        + Long pcsStationPid
        + String attachmentUrls
        + String modifyReason
        + String feedbackReason
        + Integer confirmStatus
        + Integer wwryNum
        + Integer wlryNum
        + String workArea
        + String infoEntry
        + String realFailureReason
        + BigDecimal lostPower
        + String workPermitNum
        + Integer outTimeParam
        + String homePageParam
        + Long appealUserId
        + String appealUserName
        + Date appealTime
        + String appealReason
    }
    
    class GxtWorkOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String inspectionType
        + String misNo
        + Date planStartTime
        + Date planEndTime
        + String orderSource
        + Date assignTime
        + Long assignUserId
        + String assignUserName
        + Long acceptUserId
        + String acceptUserName
        + Date acceptTime
        + String teamLeaderName
        + Date realStartTime
        + Date realEndTime
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String suspendReason
        + String suspendExplain
        + Date suspendTime
        + String statusBeforeSuspend
        + String rejectionReason
        + String pauseReason
        + Date pauseTime
        + Date restartTime
        + Date completeTime
        + BigDecimal planHour
        + String content
        + String realContent
        + String faultCode
        + String faultDesc
        + Long orderType
        + Long priorityType
        + BigDecimal score
        + String reviewContent
        + String issuerName
        + String permitterName
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + List~GxtWorkOrderPerson~ workOrderPersonList
        + List~GxtWorkOrderFlow~ workOrderFlowList
        + String attachmentUrls
        + String attachmentFileNames
        + String attachmentOriginalNames
        + BigDecimal itemCompletionFactor
        + BigDecimal itemCompletionFactorSum
        + List~GxtWorkOrderAttachment~ attachments
        + String modifyReason
        + String invalidReason
    }
    
    class GxtRepairOrderPerson {
        + Long id
        + Long orderId
        + Long userId
        + String userName
        + String userPhone
        + String userEmail
        + String userDept
        + String userPosition
        + Date createTime
        + Date updateTime
    }
    
    class GxtWorkOrderPerson {
        + Long id
        + Long orderId
        + Long userId
        + String userName
        + String userPhone
        + String userEmail
        + String userDept
        + String userPosition
        + Date createTime
        + Date updateTime
    }
    
    OrderScoreInfo <.. GxtRepairOrder : Converted from
    OrderScoreInfo <.. GxtWorkOrder : Converted from
    OrderScoreInfo --> GxtRepairOrderPerson : Associated (Related Personnel)
    OrderScoreInfo --> GxtWorkOrderPerson : Associated (Related Personnel)

4. 我的待办工单实体类图

classDiagram
    class OrderScoreInfo {
        + Integer orderType
        + Long id
        + String workOrderProjectNo
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String pcsDeviceName
        + String brand
        + String model
        + Date assignTime
        + String assignUserName
        + Date acceptTime
        + String acceptUserName
        + String teamLeaderName
        + Date createTime
        + Date updateTime
    }
    
    class GxtRepairOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + String workOrderStatusName
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String faultCode
        + Date occurTime
        + String misOrderNo
        + String faultDesc
        + String assignUserName
        + Date assignTime
        + Long assignUserId
        + String acceptUserName
        + Date acceptTime
        + Long acceptUserId
        + String teamLeaderName
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String content
        + BigDecimal planHour
        + String priorityType
        + BigDecimal score
        + String reviewContent
        + String maintenanceType
        + String faultBarcode
        + String suspendReason
        + String suspendDescription
        + String suspendExplain
        + String approvalStatus
        + String rejectionReason
        + String finalizationRemark
        + String relatedOrderCode
        + String relatedOrderContent
        + Date restartTime
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + Long orderType
        + String repairMethod
        + String resetMethod
        + String invalidReason
        + String returnType
        + String returnReason
        + List~GxtRepairOrderPerson~ repairOrderPersonList
        + List~GxtRepairOrderFlow~ repairOrderFlowList
        + Long pcsStationPid
        + String attachmentUrls
        + String modifyReason
        + String feedbackReason
        + Integer confirmStatus
        + Integer wwryNum
        + Integer wlryNum
        + String workArea
        + String infoEntry
        + String realFailureReason
        + BigDecimal lostPower
        + String workPermitNum
        + Integer outTimeParam
        + String homePageParam
        + Long appealUserId
        + String appealUserName
        + Date appealTime
        + String appealReason
    }
    
    class GxtWorkOrder {
        + Long id
        + String workOrderProjectNo
        + String pcsDeviceName
        + String workOrderStatus
        + Long gxtCenterId
        + String gxtCenter
        + Long pcsStationId
        + Long pcsStationPid
        + String pcsStationName
        + Long pcsDeviceId
        + String brand
        + String model
        + String inspectionType
        + String misNo
        + Date planStartTime
        + Date planEndTime
        + String orderSource
        + Date assignTime
        + Long assignUserId
        + String assignUserName
        + Long acceptUserId
        + String acceptUserName
        + Date acceptTime
        + String teamLeaderName
        + Date realStartTime
        + Date realEndTime
        + Long teamLeaderId
        + Long workGroupMemberId
        + String workGroupMemberName
        + String suspendReason
        + String suspendExplain
        + Date suspendTime
        + String statusBeforeSuspend
        + String rejectionReason
        + String pauseReason
        + Date pauseTime
        + Date restartTime
        + Date completeTime
        + BigDecimal planHour
        + String content
        + String realContent
        + String faultCode
        + String faultDesc
        + Long orderType
        + Long priorityType
        + BigDecimal score
        + String reviewContent
        + String issuerName
        + String permitterName
        + String scoringStatus
        + Integer reviewScoreNum
        + BigDecimal finalCoefficient
        + List~GxtWorkOrderPerson~ workOrderPersonList
        + List~GxtWorkOrderFlow~ workOrderFlowList
        + String attachmentUrls
        + String attachmentFileNames
        + String attachmentOriginalNames
        + BigDecimal itemCompletionFactor
        + BigDecimal itemCompletionFactorSum
        + List~GxtWorkOrderAttachment~ attachments
        + String modifyReason
        + String invalidReason
    }
    
    OrderScoreInfo <.. GxtRepairOrder : Converted from
    OrderScoreInfo <.. GxtWorkOrder : Converted from