대시보드 진입시 세션 저장값 재생성.

권한관리 라디오버튼 오류 수정.
master
강석 최 2023-02-27 12:00:05 +09:00
parent eeb3c6c5fe
commit e58f782934
4 changed files with 14 additions and 11 deletions

View File

@ -69,8 +69,11 @@ public class BaseController {
} }
@GetMapping("/dashboard") @GetMapping("/dashboard")
public ModelAndView dashboard(@AuthenticationPrincipal UserInfo loginUser) { public ModelAndView dashboard(@AuthenticationPrincipal UserInfo loginUser, HttpSession session) {
ModelAndView mav = new ModelAndView("login/dashboard"); ModelAndView mav = new ModelAndView("login/dashboard");
setSession(loginUser, session);
PublicBoard noticeParams = new PublicBoard(); PublicBoard noticeParams = new PublicBoard();
noticeParams.setPublicType("PLB001"); noticeParams.setPublicType("PLB001");
noticeParams.setRowCnt(7); noticeParams.setRowCnt(7);

View File

@ -5,11 +5,11 @@ tomcat.ajp.protocol=HTTP/1.1
logging.level.org.apache.tomcat: DEBUG logging.level.org.apache.tomcat: DEBUG
logging.level.org.apache.catalina: DEBUG logging.level.org.apache.catalina: DEBUG
tomcat.cluster.enabled=true tomcat.cluster.enabled=true
tomcat.cluster.static-member-host=118.219.150.34 tomcat.cluster.static-member-host=172.80.0.4
tomcat.cluster.static-member-port=50542 tomcat.cluster.static-member-port=4042
tomcat.cluster.static-member-unique-id={0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1} tomcat.cluster.static-member-unique-id={0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2}
tomcat.cluster.receiver-address=118.219.150.34 tomcat.cluster.receiver-address=172.80.0.3
tomcat.cluster.receiver-port=50540 tomcat.cluster.receiver-port=4040
tomcat.cluster.receiver-max-threads=4 tomcat.cluster.receiver-max-threads=4
#file upload #file upload

View File

@ -5,11 +5,11 @@ tomcat.ajp.protocol=HTTP/1.1
logging.level.org.apache.tomcat: DEBUG logging.level.org.apache.tomcat: DEBUG
logging.level.org.apache.catalina: DEBUG logging.level.org.apache.catalina: DEBUG
tomcat.cluster.enabled=true tomcat.cluster.enabled=true
tomcat.cluster.static-member-host=118.219.150.34 tomcat.cluster.static-member-host=172.80.0.3
tomcat.cluster.static-member-port=50540 tomcat.cluster.static-member-port=4040
tomcat.cluster.static-member-unique-id={0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1} tomcat.cluster.static-member-unique-id={0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1}
tomcat.cluster.receiver-address=118.219.150.34 tomcat.cluster.receiver-address=172.80.0.4
tomcat.cluster.receiver-port=50542 tomcat.cluster.receiver-port=4042
tomcat.cluster.receiver-max-threads=4 tomcat.cluster.receiver-max-threads=4
#file upload #file upload

View File

@ -51,7 +51,7 @@ $(document).on('click', '.selectTh', function (){
$(document).on('click', '.radioTd', function (event){ $(document).on('click', '.radioTd', function (event){
const chkbox = $(this).find('input'); const chkbox = $(this).find('input');
if(event.target.type !== "checkbox"){ if(event.target.type !== "checkbox" && event.target.type !== "radio"){
chkbox.prop('checked', !chkbox[0].checked); chkbox.prop('checked', !chkbox[0].checked);
} }
apprvChkboxControl(chkbox[0]); apprvChkboxControl(chkbox[0]);