Open DownyCrake opened 1 year ago
제품 수정시 file > null일때 Controller 에서 @RequestParam(value="file", required=false) required =false 체크 안했을 시 400에러
stock 작성중 500에러
mapper 오타 INSERT INTO `stock``
성공시 document.location.reload(true); 화면 새로고침
stock 수량을 input 박스에 value에 넣어 출력 > 바로 수정 가능 참조 >> https://semicolon-dev.tistory.com/48
let thisRow = $(this).closest('tr');
let quantity = thisRow.find('td:eq(1)').find('input').val();
alert( quantity);
td:eq( 몇번째 td인지- 0부터 시작 )
재고 0 처리시 에러 나옴
수정 stockcontroller 오타
boolean 기본값 true 제품 검색 노출 허용 체크
javascript 구문의 화면 새로고침으로 버튼 변경이 되지 않음 처리 속도 문제???
XXXXX ajax 오타. succ"s"ess
화면 새로고침시 반응 div 만 새고로침 > 화면 전체 새로고침으로 변경으로 해결
제품 등록