게시판 > 게시판 관리 > 게시글 등록/수정 - 상품 정보(추천 상품) 문구
This commit is contained in:
@@ -75,6 +75,8 @@ public class BOGnrlbbscttVO extends AbstractVO {
|
||||
@Length(max = 16777215, message = "내용")
|
||||
/** 내용 */
|
||||
private String cn;
|
||||
/** 내용 */
|
||||
private String relateGoodsWords;
|
||||
/** 조회건수 */
|
||||
private Integer inqireCnt;
|
||||
/** 댓글건수 */
|
||||
|
||||
@@ -1767,6 +1767,7 @@
|
||||
,CAST(AES_DECRYPT(UNHEX(FB.ANSW_MBTLNB) , #{secretKey}) AS CHAR(50)) AS ANSW_MBTLNB
|
||||
,FB.ANSW_SMS_RECPTN
|
||||
,FB.SJ
|
||||
,FB.RELATE_GOODS_WORDS
|
||||
,FB.SORT_ORDR
|
||||
,FB.USE_AT
|
||||
,IFNULL(FBM.MNGR_NM, '관리자') AS MNGR_NM
|
||||
@@ -1927,6 +1928,7 @@
|
||||
,CAST(AES_DECRYPT(UNHEX(FB.ANSW_MBTLNB) , #{secretKey}) AS CHAR(50)) AS ANSW_MBTLNB
|
||||
,FB.ANSW_SMS_RECPTN
|
||||
,FB.SJ
|
||||
,FB.RELATE_GOODS_WORDS
|
||||
,FB.SORT_ORDR
|
||||
,FB.USE_AT
|
||||
,FB.CN_SCRIPT
|
||||
@@ -2039,6 +2041,9 @@
|
||||
PASSWORD,
|
||||
SJ,
|
||||
CN,
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(relateGoodsWords)">
|
||||
RELATE_GOODS_WORDS,
|
||||
</if>
|
||||
INQIRE_CNT,
|
||||
CM_USE_AT,
|
||||
RECOMEND_CNT,
|
||||
@@ -2087,6 +2092,9 @@
|
||||
MD5(#{password}),
|
||||
#{sj},
|
||||
#{cn},
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(relateGoodsWords)">
|
||||
#{relateGoodsWords},
|
||||
</if>
|
||||
0,
|
||||
IFNULL(#{cmUseAt},'N'),
|
||||
0,
|
||||
@@ -2133,6 +2141,9 @@
|
||||
SET
|
||||
SJ = #{sj},
|
||||
CN = #{cn},
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(relateGoodsWords)">
|
||||
RELATE_GOODS_WORDS = #{relateGoodsWords},
|
||||
</if>
|
||||
CM_USE_AT =IFNULL(#{cmUseAt},'N'),
|
||||
SORT_ORDR = #{sortOrdr},
|
||||
<if test="@com.wb.domainserver.util.dataaccess.MybaitsUtil@isNotEmpty(represntFileInfo)">
|
||||
|
||||
@@ -280,26 +280,34 @@
|
||||
</td>
|
||||
</c:if>
|
||||
</tr>
|
||||
<tr class="visibleAt">
|
||||
<c:if test="${bbsInfo.goodsChoice eq 'Y'}">
|
||||
<th>상품 정보
|
||||
<button type="button" class="btn xsm primary ml-5"
|
||||
onclick="fn_open_modal('#modalDiv',
|
||||
'#product-search',
|
||||
'/mngr/goods/goodsmngr/selectGoodsSrchPopupForm',
|
||||
{'goodsKndCd':'01'}); return false;">
|
||||
검색
|
||||
</button>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<div class="td-inner">
|
||||
<div class="product-search-box__product parentGoodsContainer">
|
||||
<c:if test="${bbsInfo.goodsChoice eq 'Y'}">
|
||||
<tr class="visibleAt">
|
||||
<th>상품 정보
|
||||
<button type="button" class="btn xsm primary ml-5"
|
||||
onclick="fn_open_modal('#modalDiv',
|
||||
'#product-search',
|
||||
'/mngr/goods/goodsmngr/selectGoodsSrchPopupForm',
|
||||
{'goodsKndCd':'01'}); return false;">
|
||||
검색
|
||||
</button>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<div class="td-inner">
|
||||
<div class="product-search-box__product parentGoodsContainer">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</c:if>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="visibleAt">
|
||||
<th>상품 정보 문구</th>
|
||||
<td colspan="3">
|
||||
<div class="td-inner">
|
||||
<input class="input-text full" type="text" title="해당 인풋에 대한 설명" placeholder="관련 상품 문구를 입력해 주세요." name="relateGoodsWords" maxlength="50" value="이 글과 관련된 사케">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${not empty qesitmList}">
|
||||
<tr>
|
||||
<th>추가 입력 항목</th>
|
||||
|
||||
@@ -474,26 +474,26 @@
|
||||
</td>
|
||||
</c:if>
|
||||
</tr>
|
||||
<tr class ="visibleAt">
|
||||
<c:if test = "${bbsInfo.goodsChoice eq 'Y'}">
|
||||
<c:if test = "${bbsInfo.goodsChoice eq 'Y'}">
|
||||
<tr class ="visibleAt">
|
||||
<th>상품 정보
|
||||
<c:choose>
|
||||
<c:when test = "${not empty goods}">
|
||||
<c:when test = "${not empty goods}">
|
||||
<button type="button" class="btn xsm primary ml-5"
|
||||
onclick="fn_open_search_modal('#modalDiv','#product-search','/mngr/goods/goodsmngr/selectGoodsSrchPopupForm',{'goodsKndCd':'01'}); return false;">
|
||||
검색
|
||||
</button>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<button type="button" class="btn xsm primary ml-5"
|
||||
onclick="selected = []; fn_open_modal('#modalDiv','#product-search','/mngr/goods/goodsmngr/selectGoodsSrchPopupForm',{'goodsKndCd':'01'}); return false;">
|
||||
검색
|
||||
</button>
|
||||
</c:otherwise>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<div class="td-inner">
|
||||
<td colspan="3">
|
||||
<div class="td-inner">
|
||||
<div class="product-search-box__product parentGoodsContainer">
|
||||
<c:if test = "${not empty goods}">
|
||||
<c:forEach var = "goods" items = "${goods}">
|
||||
@@ -518,10 +518,18 @@
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</c:if>
|
||||
</tr>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="visibleAt">
|
||||
<th>상품 정보 문구</th>
|
||||
<td colspan="3">
|
||||
<div class="td-inner">
|
||||
<input class="input-text full" type="text" title="해당 인풋에 대한 설명" placeholder="관련 상품 문구를 입력해 주세요." name="relateGoodsWords" maxlength="50" value = "${bbscttInfo.relateGoodsWords}">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${not empty qesitmList}">
|
||||
<tr>
|
||||
<th>추가 입력 항목</th>
|
||||
|
||||
@@ -948,7 +948,14 @@
|
||||
<div class="main-section-header">
|
||||
<div class="main-section-title">
|
||||
<h3 class="main-section-title__title">
|
||||
추천 상품
|
||||
<c:choose>
|
||||
<c:when test = "${not empty bbscttInfo.relateGoodsWords}">
|
||||
<c:out value="${bbscttInfo.relateGoodsWords}" escapeXml="false"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
이 글과 관련된 사케
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user