Merge pull request 'feat: 根据租户获取景区二维码内容' (#34) from feature_dzc into test

Reviewed-on: http://220.205.16.27:18081/goflytec/GoFly-platform-services/pulls/34
This commit is contained in:
2026-01-15 08:17:03 +00:00
@@ -345,7 +345,7 @@ public class TourismServiceImpl extends SuperServiceImpl<TourismMapper, Tourism>
if (qrCodes == null || qrCodes.isEmpty()) {
continue;
}
String imageUrl=null;
for (QrCode qrCode : qrCodes) {
if (qrCode == null || qrCode.getCodeId() == null || qrCode.getCodeId().trim().isEmpty()) {
continue;
@@ -359,9 +359,10 @@ public class TourismServiceImpl extends SuperServiceImpl<TourismMapper, Tourism>
vo.setQrCodeName(qrName);
vo.setQrCode(qrCode.getCodeId());
vo.setPrice(qrCode.getPrice());
String imageUrl = resolveQrCodeImageUrl(qrCode.getCodeId());
vo.setQrCodeImage(imageUrl);
if(imageUrl==null){
imageUrl = resolveQrCodeImageUrl(qrCode.getCodeId());
vo.setQrCodeImage(imageUrl);
}
BigDecimal[] lngLat = resolveDeviceLngLat(qrCode.getDeviceSn(), deviceSnToLngLat);
if (lngLat != null && lngLat.length == 2) {