| | |
| | | String json = JSON.toJSONString(taskSchedules, SerializerFeature.WriteMapNullValue); |
| | | // String json = new Gson().toJson(taskSchedules); |
| | | ledScheduleEntity.setSchedule(json); |
| | | if (SecurityUtils.getClientId() != null) { |
| | | ledScheduleEntity.setUserId(SecurityUtils.getUserId()); |
| | | if (clientService.findClientId()) { |
| | | ledScheduleEntity.setClientId(clientService.getClientId()); |
| | | } |
| | | } |
| | | return this.save(ledScheduleEntity); |
| | | } |
| | | |
| | |
| | | }); |
| | | } |
| | | //模糊查询关键字判断 |
| | | if (!keyword.isEmpty()) { |
| | | if (keyword != null && !keyword.isEmpty()) { |
| | | eq = eq.like(LedScheduleEntity::getName, keyword); |
| | | } |
| | | |