| | |
| | | //更新设备维修状态 |
| | | eamEquipmentExtendService.updateEquipmentRepairStatus(entity.getEquipmentId(), EquipmentRepairStatus.WAIT_REPAIR.name()); |
| | | //推送企业微信消息 |
| | | try { |
| | | sendQywxTemplateCardMessage(entity); |
| | | } catch (Exception e) { |
| | | log.error("推送企业微信消息失败:" + e.getMessage(), e); |
| | | } |
| | | return entity; |
| | | } |
| | | |
| | |
| | | //更新设备维修状态 |
| | | eamEquipmentExtendService.updateEquipmentRepairStatus(entity.getEquipmentId(), EquipmentRepairStatus.WAIT_REPAIR.name()); |
| | | //推送企业微信消息 |
| | | try { |
| | | sendQywxTemplateCardMessage(entity); |
| | | } catch (Exception e) { |
| | | log.error("推送企业微信消息失败:" + e.getMessage(), e); |
| | | } |
| | | return entity; |
| | | } |
| | | |
| | |
| | | //更新设备维修状态 |
| | | eamEquipmentExtendService.updateEquipmentRepairStatus(eamReportRepair.getEquipmentId(), EquipmentRepairStatus.WAIT_REPAIR.name()); |
| | | //推送企业微信消息 |
| | | try { |
| | | sendQywxTemplateCardMessage(eamReportRepair); |
| | | } catch (Exception e) { |
| | | log.error("推送企业微信消息失败:" + e.getMessage(), e); |
| | | } |
| | | return eamReportRepair; |
| | | } |
| | | |