소스 검색

샵링커 상품전송-기술서 수정2

jmh 4 년 전
부모
커밋
5261ae7448
1개의 변경된 파일21개의 추가작업 그리고 18개의 파일을 삭제
  1. 21 18
      src/main/java/com/style24/admin/biz/service/TsaShoplinkerService.java

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

@@ -370,7 +370,9 @@ public class TsaShoplinkerService {
 				htmlDesc += "<div class=\"st_descrp_box\" style=\"max-height:1100px; overflow:hidden; text-align: left; color:#222;\">";
 				if( null != goodsMap.getDetailDescNew20()) {
 					htmlDesc += "<div class=\"st_desc_simple\" style=\"position:relative; margin-top:0px; margin-left:auto; margin-right:auto;\">";
-					htmlDesc += "<span class=\"st_tit_desc\" style=\"display:block; margin-bottom:10px; font-size:18px; font-weight:500; letter-spacing:-0.025em;\">"+goodsMap.getDetailDescNew10()+"</span>";
+					if( null != goodsMap.getDetailDescNew10()) {
+						htmlDesc += "<span class=\"st_tit_desc\" style=\"display:block; margin-bottom:10px; font-size:18px; font-weight:500; letter-spacing:-0.025em;\">"+goodsMap.getDetailDescNew10()+"</span>";
+					}
 					htmlDesc += "<span class=\"st_ptxt01\" style=\"font-size:16px;font-weight:200;line-height:1.5;word-break:keep-all;color:#666666;\">";
 					htmlDesc += goodsMap.getDetailDescNew20();
 					htmlDesc += "</span>";
@@ -554,23 +556,24 @@ public class TsaShoplinkerService {
                 if( null != certInfo) {
                 	if( "G083_1".equals(certInfo.getCertTargetGb())) {	// 인증대상
 
-                		if( "".equals(certInfo.getCertNum())) {
-
-                			htmlDesc += "<div class=\"st_required_box\" style=\"margin-bottom:80px;\">";
-                			htmlDesc += "<div class=\"st_area_kcl\" style=\"color:#222;display:block; position:relative; min-height:160px; margin-top:100px; padding:40px 40px 40px 160px; box-sizing:border-box; background:#f5f5f5;\">";
-                			htmlDesc += "<i class=\"st_ico_kcl\" style=\"position:absolute;left:64px;top:50%;transform:translateY(-50%);z-index:2;background-image: url(/images/pc/ico_kcl.png);width: 32px;height: 50px;display: inline-block;vertical-align: middle;background-repeat: no-repeat;background-size: contain;background-position: 0% 0%;\"></i>";
-                			htmlDesc += "<p class=\"st_tit\" style=\"margin-top:0;color:#222;font-size:16px;font-weight:300;line-height:1;letter-spacing:-0.025em;\">";
-                			htmlDesc += certInfo.getCertTargetNm() +"/"+ certInfo.getCertOrganName();
-                            htmlDesc += "</p>";
-                            htmlDesc += "<p style=\"margin-top:20px; color:#222; font-size:13px; font-weight: 300; line-height:1; letter-spacing:-0.025em;\">";
-                        	htmlDesc += certInfo.getCertDiv();
-                        	htmlDesc += "</p>";
-                            htmlDesc += "<p class=\"st_dot_info\" style=\"color: #888888;position:relative;margin-top:20px;font-size:13px;font-weight:300;line-height:1;letter-spacing:-0.025em;\">";
-                            htmlDesc += "<span style=\"color: #888888 !important;background: #888888 !important;display: inline-block;width: 2px;height: 2px;position: relative;top: -4px;left: 0px;margin-right: 4px;\"></span>";
-                            htmlDesc += "해당 인증정보는 판매자가 등록한 것으로 등록정보에 대한 일체의 책임은 판매자에게 있습니다.";
-                            htmlDesc += "</p>";
-                            htmlDesc += "</div>";
-                            htmlDesc += "</div>";
+                		if( null == certInfo.getCertNum() || "".equals(certInfo.getCertNum())) {
+                			if( null != certInfo.getCertDiv()) {
+	                			htmlDesc += "<div class=\"st_required_box\" style=\"margin-bottom:80px;\">";
+	                			htmlDesc += "<div class=\"st_area_kcl\" style=\"color:#222;display:block; position:relative; min-height:160px; margin-top:100px; padding:40px 40px 40px 160px; box-sizing:border-box; background:#f5f5f5;\">";
+	                			htmlDesc += "<i class=\"st_ico_kcl\" style=\"position:absolute;left:64px;top:50%;transform:translateY(-50%);z-index:2;background-image: url(/images/pc/ico_kcl.png);width: 32px;height: 50px;display: inline-block;vertical-align: middle;background-repeat: no-repeat;background-size: contain;background-position: 0% 0%;\"></i>";
+	                			htmlDesc += "<p class=\"st_tit\" style=\"margin-top:0;color:#222;font-size:16px;font-weight:300;line-height:1;letter-spacing:-0.025em;\">";
+	                			htmlDesc += certInfo.getCertTargetNm() +"/"+ certInfo.getCertOrganName();
+	                            htmlDesc += "</p>";
+	                            htmlDesc += "<p style=\"margin-top:20px; color:#222; font-size:13px; font-weight: 300; line-height:1; letter-spacing:-0.025em;\">";
+	                        	htmlDesc += certInfo.getCertDiv();
+	                        	htmlDesc += "</p>";
+	                            htmlDesc += "<p class=\"st_dot_info\" style=\"color: #888888;position:relative;margin-top:20px;font-size:13px;font-weight:300;line-height:1;letter-spacing:-0.025em;\">";
+	                            htmlDesc += "<span style=\"color: #888888 !important;background: #888888 !important;display: inline-block;width: 2px;height: 2px;position: relative;top: -4px;left: 0px;margin-right: 4px;\"></span>";
+	                            htmlDesc += "해당 인증정보는 판매자가 등록한 것으로 등록정보에 대한 일체의 책임은 판매자에게 있습니다.";
+	                            htmlDesc += "</p>";
+	                            htmlDesc += "</div>";
+	                            htmlDesc += "</div>";
+                			}
                 		}else {
                 			htmlDesc += "<div class=\"st_required_box\" style=\"margin-bottom:80px;\">";
                 			htmlDesc += "<div class=\"st_area_kcl\" style=\"display:block; position:relative; min-height:160px; margin-top:100px; padding:40px 40px 40px 160px; box-sizing:border-box; background:#f5f5f5;\">";