| | |
| | | private MaintainOverdueBusinessSend maintainOverdueBusinessSend; |
| | | @Autowired |
| | | private RepairApplySend repairApplySend; |
| | | @Autowired |
| | | private AndonTakeOverSend andonTakeOverSend; |
| | | //@Autowired |
| | | //private AndonTakeOverSend andonTakeOverSend; |
| | | |
| | | public BusinessSend getBusinessSend(String businessKey) { |
| | | if (Func.equals(businessKey, NotifyConstant.MAINTENANCE)) { |
| | |
| | | if (Func.equals(businessKey, NotifyConstant.MAINTENANCE_APPLY)) { |
| | | return this.repairApplySend; |
| | | } |
| | | /* |
| | | if (Func.equals(businessKey, NotifyConstant.ANDON_TAKE_OVER)) { |
| | | return this.andonTakeOverSend; |
| | | } |
| | | }*/ |
| | | throw new ServiceException("业务通知,该业务不存在"); |
| | | } |
| | | } |