shuhao 4 tháng trước cách đây
mục cha
commit
f0278f557d

+ 1 - 3
admin/src/main/java/com/flyer/foster/service/impl/GardenServiceImpl.java

@@ -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())