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

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

View File

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

View File

@@ -1509,7 +1509,7 @@
</td> </td>
</c:if> </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> <th>추천 상품 노출</th>
<td> <td>
<div class="td-inner"> <div class="td-inner">
@@ -1553,6 +1553,29 @@
</td> </td>
</c:if> </c:if>
</tr> </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> </tbody>
</table> </table>
</div> </div>
@@ -2843,4 +2866,4 @@
} }
</script> </script>
</html> </html>