From 2807901bce609173f7db447526205d4d58af797e Mon Sep 17 00:00:00 2001 From: isol2011 Date: Mon, 18 Jul 2022 17:27:20 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=B6=94=EA=B0=80]=20=EC=8B=A0=EA=B7=9C=20?= =?UTF-8?q?=EC=BB=A4=EB=AE=A4=EB=8B=88=ED=8B=B0=20=EB=8C=93=EA=B8=80=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=20=EC=B6=94=EA=B0=80=20(=20=EA=B8=B0?= =?UTF-8?q?=EC=A1=B4=EC=97=90=20=EC=9E=88=EB=8D=98=20=EB=8C=93=EA=B8=80=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=97=90=EC=84=9C=20=EC=BF=BC=EB=A6=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=98=EC=97=AC=20=EA=B5=AC=ED=98=84=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ackoffice.admin.bf.board.board_comment.xml | 126 +++---- .../board_comment/list_board_comment.ftl | 325 ++++++++++++++++++ 2 files changed, 388 insertions(+), 63 deletions(-) create mode 100644 src/main/webapp/WEB-INF/views/ftl/admin/bf/board/board_comment/list_board_comment.ftl diff --git a/src/main/resources/sqlmap/admin/bf/com.backoffice.admin.bf.board.board_comment.xml b/src/main/resources/sqlmap/admin/bf/com.backoffice.admin.bf.board.board_comment.xml index 54f1e23..b3c605a 100644 --- a/src/main/resources/sqlmap/admin/bf/com.backoffice.admin.bf.board.board_comment.xml +++ b/src/main/resources/sqlmap/admin/bf/com.backoffice.admin.bf.board.board_comment.xml @@ -8,47 +8,47 @@ WHERE 1 =1 AND x.bd_no = #b_no# - + - + - + - + INSERT tbl_bf_board_comment - ( + ( reg_dt - ,bc_id - ,p_bc_id - ,b_no - ,title + ,ct_no + ,p_ct_no + ,bd_no + ,comment ,member_id ) VALUES ( NOW() - ,#bc_id# - ,#p_bc_id# - ,#b_no# - ,#title# - + ,#ct_no# + ,#p_bc_id# + ,#b_no# + ,#title# + ,#member_id# ) @@ -179,26 +179,26 @@ - + UPDATE tbl_bf_board_comment - SET - bc_id = #bc_id# - ,p_bc_id = #p_bc_id# - ,b_no = #b_no# - ,title = #title# + SET + ct_no = #bc_id# + ,p_ct_no = #p_bc_id# + ,bd_no = #b_no# + ,comment = #title# ,reg_dt = #reg_dt# ,member_id = #member_id# - WHERE bc_id = #bc_id# + WHERE ct_no = #bc_id# - + DELETE FROM tbl_bf_board_comment - WHERE bc_id = #bc_id# + WHERE ct_no = #bc_id# - + DELETE FROM tbl_bf_board_comment - WHERE bc_id IN + WHERE ct_no IN #list_checked[]# diff --git a/src/main/webapp/WEB-INF/views/ftl/admin/bf/board/board_comment/list_board_comment.ftl b/src/main/webapp/WEB-INF/views/ftl/admin/bf/board/board_comment/list_board_comment.ftl new file mode 100644 index 0000000..c3fb11f --- /dev/null +++ b/src/main/webapp/WEB-INF/views/ftl/admin/bf/board/board_comment/list_board_comment.ftl @@ -0,0 +1,325 @@ +<#include "/admin/include/index_top.ftl"> + + +
+ +<#include "/admin/include/index_top_navi.ftl"> + +
+
+

 

+
+ +
+
+ + + + +
+ + +
+ + +
+ + +
+
+ + + + + +
+ + +
+ +
+ +
+
+ +
+ <#if model['map_auth']?exists> + <#if model['map_auth']['auth_d']?exists && model['map_auth']['auth_d'] != 'N'> + + + + +
+ + 전체 : + ${model['page']['rowMax']?c} +
+ +   +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + <#if model[ 'lm']? has_content> + <#list model[ 'lm'] as item> + + + + + + + + + + + + + + +
순서ct_no상위ct_no글번호댓글등록일시회원아이디
${item_index}${item['ct_no']!}${item['p_ct_no']!}${item['bd_no']!} : ${item['b_content']!}${item['comment']!}<#if item['reg_dt']?exists>${item['reg_dt']?string('yyyy.MM.dd HH:mm:ss')}${item['member_id']!}
+
+ + +
+
+
    + <@b.Paging url="${URL_PATH}/list_board_comment.do" + pageCount="${model['page']['pageCount']?c}" + rowCount="${model['page']['rowCount']?c}" + rowMax="${model['page']['rowMax']?c}" + nowPage="${model['page']['nowPage']?c}" + params="is_search=${model['is_search']!}&search_col=${model['search_col']!}&search_text=${model['search_text']!}&search_col_dt=${model['search_col_dt']!}&search_s_dt=${model['search_s_dt']!}&search_e_dt=${model['search_e_dt']!}&" + + prev_first="" + prev="" + next="" + next_end="" + + class_prev_first="paginate_button first" + class_prev="paginate_button previous" + class_next="paginate_button next" + class_next_end="paginate_button last" + + class_page="paginate_button" + class_page_active=" active" + + is_prev_first="Y" + is_next_end="Y" + /> +
+
+ + <#if model['page']['rowMax']?exists && model['page']['rowMax'] != 0> +
+     + + - + + +
+ +
+
+
+
+
+ +<#include "/admin/include/index_bottom.ftl"> + +
+ + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ + + + + + + + + + +
+ + + + + + + +