Преглед на файлове

Merge remote-tracking branch 'origin/developerC' into developerC

zhengjinyi преди 3 години
родител
ревизия
0eeb685713
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mapper/ProductMapper.xml

+ 1 - 1
src/main/resources/mapper/ProductMapper.xml

@@ -39,7 +39,7 @@
 			b.name as bigTypeText,
 
 			p.shopID as shopId,
-			sh.name as shopTitle,
+			if(p.realShopName is null or p.realShopName = '',sh.name,p.realShopName) as shopTitle,
 			sh.businessScope as businessScope,
 			sh.authorizationCertificateImage as license,
 			CONCAT(pr.name, ci.name) as shopAddress