| | |
| | | import org.aspectj.lang.annotation.*; |
| | | import org.aspectj.lang.reflect.MethodSignature; |
| | | import org.jeecg.modules.eam.aspect.annotation.EquipmentHistoryLog; |
| | | import org.jeecg.modules.eam.constant.EquipmentOperationTagEnum; |
| | | import org.jeecg.modules.eam.constant.InspectionStatus; |
| | | import org.jeecg.modules.eam.constant.ReportRepairEnum; |
| | | import org.jeecg.modules.eam.constant.WeekMaintenanceStatusEnum; |
| | | import org.jeecg.modules.eam.constant.*; |
| | | import org.jeecg.modules.eam.entity.*; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentHistoryLogService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | case UNSEALED: |
| | | break; |
| | | case TRANSFERRED: |
| | | if (result instanceof EamEquipmentTransfer) { |
| | | EamEquipmentTransfer order = (EamEquipmentTransfer) result; |
| | | if (EquipmentTransferStatusEnum.COMPLETE.name().equals(order.getTransferStatus())) { |
| | | log.setEquipmentId(order.getEquipmentId()); |
| | | log.setBusinessId(order.getId()); |
| | | log.setOperator(order.getReportUser()); |
| | | log.setDescription(order.getTransferReason()); |
| | | log.setCreateTime(order.getTransferTime()); |
| | | } |
| | | } |
| | | break; |
| | | case SCRAPPED: |
| | | break; |