Browse Source

샵링커 상품기술서 수정

jmh 4 years ago
parent
commit
a706adf155

+ 2 - 2
src/main/java/com/style24/admin/biz/service/TsaShoplinkerService.java

@@ -322,10 +322,10 @@ public class TsaShoplinkerService {
 			// 이미지 정보
 			for(ShoplinkerGoods map : imgList) {
 
-				if( -1 < map.getSysImgNm().indexOf("_"+map.getColorCd()+"_01.jpg")) { //대표상품 앞판컷
+				if( -1 < map.getSysImgNm().indexOf("_"+map.getColorCd()+"_01")) { //대표상품 앞판컷
 					dImgFront = imgPath +"/"+ map.getSysImgNm();
 		        }
-				if( -1 < map.getSysImgNm().indexOf("_"+map.getColorCd()+"_02.jpg")) { //대표상품 뒷판컷
+				if( -1 < map.getSysImgNm().indexOf("_"+map.getColorCd()+"_02")) { //대표상품 뒷판컷
 					dImgBack = imgPath +"/"+ map.getSysImgNm();
 		        }
 				if( -1 < map.getSysImgNm().indexOf("_"+map.getColorCd()+"_C")) { //대표상품 모델컷