فهرست منبع

상품 no.gif =>no.png

eskim 5 سال پیش
والد
کامیت
8685307a12

+ 4 - 3
src/main/java/com/style24/scm/biz/service/TssGoodsService.java

@@ -166,12 +166,13 @@ public class TssGoodsService {
 				for (GagaMap gagaMap : dataList) {
 					if (!StringUtils.isBlank(gagaMap.get("SYS_IMG_NM").toString())) {
 						gagaMap.set("SYS_IMG_NM", targetPath + '/' + gagaMap.get("SYS_IMG_NM").toString() + "?RS=60");
+					}else {
+						gagaMap.set("SYS_IMG_NM", env.getProperty("domain.uximage") + "/image/no.png");
 					}
-					
 				}
 			}
 
-			//log.info("dataList {}", dataList);
+			log.info("dataList {}", dataList);
 			try {
 				GagaExcelUtil.createExcel(excelFilenameWithPath, dataList, "상품 정보", listTitles, cellNames, cellTypes, TssConstants.EXCEL_FOOTER_TITLE);
 			} catch (Exception e) {
@@ -196,7 +197,7 @@ public class TssGoodsService {
 				GagaExcelConstants.CellType.CHAR_RIGHT.name(), GagaExcelConstants.CellType.CHAR_RIGHT.name(),
 				GagaExcelConstants.CellType.CHAR_CENTER.name(), GagaExcelConstants.CellType.CHAR_CENTER.name(),
 				GagaExcelConstants.CellType.CHAR_CENTER.name(), GagaExcelConstants.CellType.CHAR_CENTER.name(),
-				GagaExcelConstants.CellType.CHAR_CENTER.name(), GagaExcelConstants.CellType.CHAR_CENTER.name()};
+				GagaExcelConstants.CellType.CHAR_CENTER.name()};
 
 			Collection<GagaMap> dataList = goodsDao.getGoodsInfoExcelList(goodsSearch);
 

+ 1 - 1
src/main/webapp/WEB-INF/views/customer/GoodsQnaDetailForm.html

@@ -80,7 +80,7 @@
 							<td colspan="3" th:text="*{relGoodsCd}"></td>
 							<th rowspan="3">상품이미지</th>
 							<td rowspan="3" class="userImg">
-								<img style="height: 100px;" th:src="${@environment.getProperty('upload.goods.view') + '/' + counselInfo.goodsImg}" alt="" onerror='this.src="/image/no.gif"'/>
+								<img style="height: 100px;" th:src="${@environment.getProperty('upload.goods.view') + '/' + counselInfo.goodsImg}" alt="" onerror='this.src="/image/no.png"'/>
 							</td>
 						</tr>
 						<tr>

+ 1 - 1
src/main/webapp/WEB-INF/views/customer/GoodsQnaForm.html

@@ -119,7 +119,7 @@
 		{
 			headerName: "이미지", field: "goodsImg", width: 100, cellClass: 'text-center',
 			cellRenderer: function(params) {
-				return '<img width="60" src="' + _goodsUrl +  "/" + params.value + '" alt="" onerror="this.src=\'/image/no.gif\';"/>';
+				return '<img width="60" src="' + _goodsUrl +  "/" + params.value + '" alt="" onerror="this.src=\'/image/no.png\';"/>';
 			}
 		},
 		{

+ 1 - 1
src/main/webapp/WEB-INF/views/goods/GoodsDetailForm.html

@@ -2124,7 +2124,7 @@
 	}
 		
 	$("img").on("error", function () {
-		$(this).attr("src",  _uximgUrl+"/image/no.gif");
+		$(this).attr("src",  _uximgUrl+"/image/no.png");
 	});
 	
 	$(document).ready(function() {

+ 1 - 1
src/main/webapp/WEB-INF/views/goods/GoodsDetailSizeStockForm.html

@@ -37,7 +37,7 @@
 			<td class="aC" th:text="${sizeStatus.count}">1</td>
 			<td class="aC"><label class="rdoBtn"><input type="radio" name="basicColor" th:value="${goodsColor.optCd1}"  th:checked="${goodsColor.mainColorYn =='Y'}" /></label></td>
 			<td class="aC">
-				<img width="60" th:src="${uploadGoodsUrl+'/'+goodsColor.sysImgNm}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/image/no.gif'}+'\';'" alt="">
+				<img width="60" th:src="${uploadGoodsUrl+'/'+goodsColor.sysImgNm}" th:onerror="'this.src=\''+@{${uxImgUrl}+ '/image/no.png'}+'\';'" alt="">
 				<input type="hidden" name="sysImgNmOrg" id="sysImgNmOrg" th:value="${goodsColor.sysImgNm}"/>
 			</td>	
 			<td class="aC" ><th:block th:text="${goodsColor.optCd1}">BK</th:block> 

+ 1 - 1
src/main/webapp/WEB-INF/views/goods/GoodsFreeGoodsForm.html

@@ -154,7 +154,7 @@
 		{headerName: 'No', width: 60, cellClass: 'text-center', valueGetter: function(params) { return params.node.rowIndex + 1 }},
 		{headerName: "이미지", field: "sysImgNm", width: 100, height: 60, cellClass: 'text-center'
 			,cellRenderer: function(params) {
-				return '<img width="60" src="'+ _imgUrl+ "/display/freegoods/" + params.value + '" alt="" onerror="this.src=\'/image/no.gif\';"/>';
+				return '<img width="60" src="'+ _imgUrl+ "/display/freegoods/" + params.value + '" alt="" onerror="this.src=\'/image/no.png\';"/>';
 			}
 		},
 		{headerName: "브랜드", field: "brandEnm", width: 130, cellClass: 'text-center'},

+ 1 - 1
src/main/webapp/WEB-INF/views/goods/GoodsListForm.html

@@ -405,7 +405,7 @@
 		},
 		{headerName: "이미지", field: "sysImgNm", width: 100, height: 60, cellClass: 'text-center'
 			,cellRenderer: function(params) {
-				return '<img width="60" src="'+ _goodsUrl+ "/" + params.value + '" alt="" onclick="cfnOpenImagePreViewPopup(\'goodsImgView\', \''+ _goodsUrl+ "/" + params.value +'\')" onerror="this.src=\'/image/no.gif\';"/>';
+				return '<img width="60" src="'+ _goodsUrl+ "/" + params.value + '" alt="" onclick="cfnOpenImagePreViewPopup(\'goodsImgView\', \''+ _goodsUrl+ "/" + params.value +'\')" onerror="this.src=\'/image/no.png\';"/>';
 			}
 		},
 		{headerName: "브랜드", field: "brandCd", width: 80, cellClass: 'text-center'},

+ 1 - 1
src/main/webapp/WEB-INF/views/goods/GoodsPopupListForm.html

@@ -246,7 +246,7 @@
 		},
 		{headerName: "이미지", field: "sysImgNm", width: 100, height: 60, cellClass: 'text-center'
 			,cellRenderer: function(params) {
-				return '<img width="60" src="'+ _goodsUrl+ "/" + params.value + '" alt="" onerror="this.src=\'/image/no.gif\';"/>';
+				return '<img width="60" src="'+ _goodsUrl+ "/" + params.value + '" alt="" onerror="this.src=\'/image/no.png\';"/>';
 			}
 		},
 		{headerName: "브랜드", field: "brandCd", width: 100, cellClass: 'text-center'},

+ 1 - 1
src/main/webapp/WEB-INF/views/marketing/PlanCornerListForm.html

@@ -367,7 +367,7 @@
 				}else{
 					imgPath = imgPath + params.data.imgPath1;
 				}
-				return '<img width="60" src="'+imgPath.replace('1000', '100')+'" onerror="this.src=\''+_uximgUrl+'/image/no.gif\';">';
+				return '<img width="60" src="'+imgPath.replace('1000', '100')+'" onerror="this.src=\''+_uximgUrl+'/image/no.png\';">';
 			}
 		},
 		/* {headerName: "전시순서"	, field:'dispOrd'		, width:80 , cellClass: 'text-center'

BIN
src/main/webapp/image/no.png


+ 1 - 1
src/main/webapp/ux/js/admin.popup.js

@@ -150,7 +150,7 @@ var cfnOpenImagePreViewPopup = function(id,imgUrl) {
 
 	var str = '<div class="videoPopup" data-width="700" data-height="350" id="'+id+'" style="z-index:30">';
 	str = str + '<button type="button" class="close" onclick="uifnPopupClose(\''+id+'\')"><i class="fa fa-times"></i></button>';
-	str = str + '<img id="imagePreView" src="/image/no.gif"/>';
+	str = str + '<img id="imagePreView" src="/image/no.png" onerror="this.src=\'/image/no.png\';" />';
 	str = str + '</div>';
 
 	if ($('#'+ id).length == 0) {