zhijiezhao 3 年之前
父節點
當前提交
958b92446b
共有 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