| | |
| | | //更新设备保养状态 |
| | | eamEquipmentExtendService.updateEquipmentInspectionStatus(eamInspectionOrder.getEquipmentId(), EquipmentMaintenanceStatus.UNDER_INSPECTION.name()); |
| | | //推送企业微信消息 |
| | | sendQywxTemplateCardMessage(eamInspectionOrder, null); |
| | | try { |
| | | sendQywxTemplateCardMessage(eamInspectionOrder, null); |
| | | } catch (Exception e) { |
| | | log.error("推送企业微信消息失败:" + e.getMessage(), e); |
| | | } |
| | | } |
| | | |
| | | return true; |
| | |
| | | //更新设备保养状态 |
| | | eamEquipmentExtendService.updateEquipmentInspectionStatus(eamInspectionOrder.getEquipmentId(), EquipmentMaintenanceStatus.UNDER_INSPECTION.name()); |
| | | //推送企业微信消息 |
| | | sendQywxTemplateCardMessage(eamInspectionOrder, null); |
| | | try { |
| | | sendQywxTemplateCardMessage(eamInspectionOrder, null); |
| | | } catch (Exception e) { |
| | | log.error("推送企业微信消息失败:" + e.getMessage(), e); |
| | | } |
| | | return true; |
| | | } |
| | | } |
| | |
| | | |
| | | //微信消息推送(工单完成不推送) |
| | | if (!InspectionStatus.COMPLETE.name().equals(eamInspectionOrder.getInspectionStatus())) { |
| | | sendQywxTemplateCardMessage(eamInspectionOrder, eamInspectionOrderRequest); |
| | | try { |
| | | sendQywxTemplateCardMessage(eamInspectionOrder, eamInspectionOrderRequest); |
| | | } catch (Exception e) { |
| | | log.error("推送企业微信消息失败:" + e.getMessage(), e); |
| | | } |
| | | } |
| | | |
| | | //查询数据,进行设备维修处理 |