| | |
| | | private final LedPlayerEntityService ledPlayerEntityService; |
| | | private VnnoxAPIUtil vnnoxAPIUtil; |
| | | private final LEDProgramService ledProgramService; |
| | | private final ClientService clientService; |
| | | |
| | | public boolean addPlan(PlayPlanParam playPlanParam) { |
| | | |
| | | PlayPlanNv playPlan = new PlayPlanNv(); |
| | | if (AdministratorEnums.CUSTOMER.getCode().equals(SecurityUtils.getAdministratorIdentity())) { |
| | | if (SecurityUtils.getClientId()!=null){ |
| | | playPlan.setUserId(SecurityUtils.getUserId()); |
| | | if(clientService.findClientId()){ |
| | | playPlan.setClientId(clientService.getClientId()); |
| | | } |
| | | } |
| | | playPlan.setName(playPlanParam.getName()); |
| | | playPlan.setLedProgramName(playPlanParam.getLedProgramName()); |