불필요한 console.log 제거

dev
박성영 3 months ago
parent a944592ed1
commit 26588c3120

@ -21,8 +21,7 @@ This project is the "Ilsan Dong-gu Illegal Building Integrated Management System
### 기본적인 코딩 스타일은 noticeSample 참조 (xml, java, jsp)
### url 은 기본적으로 <c:url/> 사용
### 정적 리소스는 src/main/webapp/resources/css,js,xit 등등 해당 위치에 있음.
- 모달은 src/main/webapp/WEB-INF/views/system/loginLog/list.jsp :: 로그인로그 목록 조회 페이지 참조
- 팝업은 src/main/webapp/WEB-INF/views/system/user/auth_popup.jsp :: 팝업 호출 참조
- css, html 구조 는 src/main/webapp/WEB-INF/views/crdn
- 모달과 메인윈도우는 src/main/webapp/resources/xit/xit-common.css 에 css 추가
- 팝업은 src/main/webapp/resources/xit/xit-popup.css 에 css 추가
### 신규 sql, DDL 생성시 DB-DDL/maria/dictionary/column_word_dictionary.md, 컬럼 단어사전 무조건 참조!!
@ -30,9 +29,9 @@ This project is the "Ilsan Dong-gu Illegal Building Integrated Management System
### 시간이란 명칭의 컬럼도 LocalDateTime 일경우 일시(dttm) 으로 변경하여 저장
### mybatis 기본적으로 camelCase 적용되어 있어 컬럼의 알리아스(별시) 별도로 사용하지 않아도 돼
### DB 구조는 DB-DDL/maria/ddl/xitframework/*.sql 참조
### 기본적인 key 는 시컨스를 이용, 총 20자리, 데이터약어 4자리, 시컨스포함 16자리
### 기본적인 key 는 시컨스를 이용, 총 10자리, LPAD 이용
```mariadb
SELECT CONCAT('BBSN', LPAD(NEXTVAL(seq_notice_id), 16, '0'))
SELECT LPAD(NEXTVAL(seq_notice_id), 10, '0')
```
### paging 처리 시 controller 에서 1.totalCount 구하기, 2.setTotalCount, 3.setPagingYn 순서 중요!! 해당순서를 지켜야지만 에러 발생안함.
```java

@ -374,7 +374,6 @@
grid.findRows(function(row) {
self.selectedRows.some(function(selectedRow) {
if( selectedRow && row && selectedRow.exmnrId === row.exmnrId ){
console.log(row);
grid.check(row.rowKey);
}
});

@ -231,7 +231,6 @@
var allRows = self.instance.getData();
var rowKey = null;
allRows.forEach(function(row) {
console.log(row.selected);
if (row.selected) {
rowKey = row.rowKey
}

@ -127,7 +127,6 @@
this.instance.on('click', function(ev) {
if (ev.rowKey !== undefined && ev.rowKey !== null) {
var rowData = self.instance.getRow(ev.rowKey);
console.log('위반행위자정보 행 클릭:', rowData);
}
});
@ -136,7 +135,6 @@
var rowKey = ev.rowKey;
var rowData = self.instance.getRow(rowKey);
if (rowData) {
console.log('위반행위자정보 행 더블클릭:', rowData);
}
});
}

@ -125,7 +125,6 @@
this.instance.on('click', function(ev) {
if (ev.rowKey !== undefined && ev.rowKey !== null) {
var rowData = self.instance.getRow(ev.rowKey);
console.log('OwnrInfo 행 클릭:', rowData);
}
});
@ -134,8 +133,6 @@
var rowKey = ev.rowKey;
var rowData = self.instance.getRow(rowKey);
if (rowData) {
console.log('OwnrInfo 행 더블클릭:', rowData);
// 소유자 상세 정보 모달 또는 추가 동작 구현 가능
}
});
}
@ -148,7 +145,6 @@
search: function() {
if (this.grid.instance) {
this.grid.instance.readData();
console.log('OwnrInfo 검색 실행');
}
},

@ -245,7 +245,6 @@
search: function() {
if (this.grid.instance) {
this.grid.instance.readData();
console.log('위치 정보 검색 실행');
}
},

@ -327,7 +327,6 @@
setSearchCond();
var searchParams = $.param(SEARCH_COND);
// 모든 파라미터 조합
console.log(defaultParams + '&' + searchParams);
return defaultParams + '&' + searchParams;
}
};

@ -209,7 +209,6 @@
SEARCH_COND.perPage = params.perPage;
SEARCH_COND.page = params.page;
var searchParams = $.param(SEARCH_COND);
//console.log(searchParams);
return searchParams;
}
};

@ -307,7 +307,6 @@
}
}
}
console.log(isValid, extraValid);
return isValid && extraValid;
}
};

Loading…
Cancel
Save