feat: 일반게시판 연관상품 노출 지원

This commit is contained in:
이주일
2026-07-17 02:48:34 +09:00
parent fc47ad11ad
commit 19586bd744
2 changed files with 26 additions and 3 deletions

View File

@@ -1103,7 +1103,7 @@ public class BOGnrlbbscttService {
}
}
/*1:1 문의 게시판이 아닌경우만 처리 */
if("12".equals(bbsctt.getBbsTyCd())){
if(!"12".equals(bbsctt.getBbsTyCd())){
//게시글 연관 상품 삭제
mapper.deleteBOBbscttGoods(bbsctt);
//게시글 연관 상품 등록(fm_boarddata_goods)

View File

@@ -1509,7 +1509,7 @@
</td>
</c:if>
<%--게시판 타입 이벤트, 매거진 추천 상품 노출--%>
<c:if test="${resultMap.bbsVo.bbsTyCd eq '03' || resultMap.bbsVo.bbsTyCd eq '09'}">
<c:if test="${resultMap.bbsVo.bbsTyCd eq '03' || resultMap.bbsVo.bbsTyCd eq '09'}">
<th>추천 상품 노출</th>
<td>
<div class="td-inner">
@@ -1553,6 +1553,29 @@
</td>
</c:if>
</tr>
<c:if test="${resultMap.bbsVo.bbsTyCd eq '01'}">
<tr>
<th>추천 상품 노출</th>
<td colspan="3">
<div class="td-inner">
<div class="custom-radio-container">
<div class="custom-radio">
<input type="radio" id="recomendGoodsExpsrAt-y"
name="recomendGoodsExpsrAt"
value="Y" ${f:setChecked(resultMap.bbsVo.recomendGoodsExpsrAt, 'Y') } />
<label for="recomendGoodsExpsrAt-y">사용</label>
</div>
<div class="custom-radio">
<input type="radio" id="recomendGoodsExpsrAt-n"
name="recomendGoodsExpsrAt"
value="N" ${f:setChecked(resultMap.bbsVo.recomendGoodsExpsrAt, 'N') } />
<label for="recomendGoodsExpsrAt-n">미사용</label>
</div>
</div>
</div>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>