| | |
| | | package com.sandu.ximon.admin.service; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.sandu.common.execption.BusinessException; |
| | |
| | | } |
| | | led.setName(receiveParam.getName()); |
| | | led.setPreview(receiveParam.getPreviewUrl()); |
| | | led.setPages(receiveParam.getPages()); |
| | | led.setPages(JSON.toJSONString(receiveParam.getPages())); |
| | | // led.setPages(JSONArray.fromObject(receiveParam.getPages()).toString()); |
| | | return save(led); |
| | | } |
| | | |
| | |
| | | //led.setUserId(SecurityUtils.getClientId()); |
| | | led.setName(receiveParam.getName()); |
| | | led.setPreview(receiveParam.getPreviewUrl()); |
| | | led.setPages(receiveParam.getPages()); |
| | | led.setPages(receiveParam.getPages().toString()); |
| | | return updateById(led); |
| | | } |
| | | |