|
|
|
|
@ -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
|
|
|
|
|
|