| | |
| | | import cn.hutool.core.date.DateUtil; |
| | | import cn.hutool.core.util.ObjectUtil; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import cn.hutool.json.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | |
| | | entity.setSizeId(dto.getSizeId()); |
| | | entity.setPatternId(dto.getPatternId()); |
| | | entity.setArtId(dto.getArtId()); |
| | | |
| | | JSONObject jsonObject = new JSONObject(); |
| | | jsonObject.putByPath("text", dto.getPatternText()); |
| | | jsonObject.putByPath("file", dto.getPatternImage()); |
| | | entity.setPatternRemark(jsonObject.toString()); |
| | | |
| | | clothesSocialMuseMapper.updateById(entity); |
| | | } |
| | | |