cuilei
20 小时以前 699295ce3e0e1116d1fc20f0fae89b66613bbacf
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/service/impl/EamInspectionOrderServiceImpl.java
@@ -235,7 +235,11 @@
            //更新设备保养状态
            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;
@@ -432,7 +436,11 @@
            //更新设备保养状态
            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;
        }
    }
@@ -513,7 +521,11 @@
            //微信消息推送(工单完成不推送)
            if (!InspectionStatus.COMPLETE.name().equals(eamInspectionOrder.getInspectionStatus())) {
                sendQywxTemplateCardMessage(eamInspectionOrder, eamInspectionOrderRequest);
                try {
                    sendQywxTemplateCardMessage(eamInspectionOrder, eamInspectionOrderRequest);
                } catch (Exception e) {
                    log.error("推送企业微信消息失败:" + e.getMessage(), e);
                }
            }
            //查询数据,进行设备维修处理