|
@@ -124,11 +124,9 @@ public class GardenServiceImpl extends ServiceImpl<IGardenMapper, Garden> implem
|
|
|
}
|
|
|
// 生成二维码
|
|
|
String qrCode = this.generateQRCode(garden.getId(), updateDTO.getAppid());
|
|
|
- System.out.println("------------qrCode-------------");
|
|
|
- System.out.println(qrCode);
|
|
|
- System.out.println("------------qrCode-------------");
|
|
|
return this.lambdaUpdate()
|
|
|
.set(StrUtil.isNotBlank(updateDTO.getName()), Garden::getName, updateDTO.getName())
|
|
|
+ .set(Garden::getQrCode, qrCode)
|
|
|
.set(updateDTO.getWorldMapId() != null, Garden::getWorldMapId, updateDTO.getWorldMapId())
|
|
|
.set(StrUtil.isNotBlank(updateDTO.getWkt()), Garden::getWkt, updateDTO.getWkt())
|
|
|
.set(StrUtil.isNotBlank(updateDTO.getIcon()), Garden::getIcon, updateDTO.getIcon())
|