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