ソースを参照

Merge branch 'master' of http://112.172.147.34:4936/style24/style24.doc

swkim 5 年 前
コミット
028e9d4e6b

BIN
산출물/2.분석/환경설정(V0.1)-20200923.xlsx


+ 30 - 16
산출물/3.설계/05.DB-Object/06.DDL/table.sql

@@ -70,13 +70,14 @@ COMMENT '제휴링크. 신규 제휴링크 등록에 의한 발생'
 INSERT INTO TB_AF_LINK VALUES ('AF001', 'STYLE24', 'AFC01', 1, 'Y', 1, NOW(), 1, NOW());
 
 ################################################################################
-#기본답변문구
+#답변문구
 ################################################################################
-DROP TABLE IF EXISTS TB_BASIC_ANS;
-CREATE TABLE TB_BASIC_ANS
+DROP TABLE IF EXISTS TB_ANS_PHASE;
+CREATE TABLE TB_ANS_PHASE
 (
   ANS_SQ        INT UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '답변일련번호',
-  ANS_CLSF      VARCHAR(2) NOT NULL COMMENT '답변종류(공통코드G014)',
+  SITE_CD       VARCHAR(20) NOT NULL COMMENT '사이트코드(공통코드G000)',
+  ANS_CLSF      VARCHAR(2) NOT NULL COMMENT '답변종류(공통코드G061)',
   ANS_TITLE     VARCHAR(200) NOT NULL COMMENT '답변제목',
   ANS_CONTENT   VARCHAR(4000) NOT NULL COMMENT '답변내용',
   KAKAO_CD      VARCHAR(20) COMMENT '카카오템플릿코드',
@@ -86,10 +87,10 @@ CREATE TABLE TB_BASIC_ANS
   UPD_NO        INT UNSIGNED NOT NULL COMMENT '수정자번호',
   UPD_DT        TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL COMMENT '수정일시',
   PRIMARY KEY (ANS_SQ),
-  INDEX IX_BASIC_ANS_01(ANS_CLSF),
-  INDEX IX_BASIC_ANS_02 (KAKAO_CD)
+  INDEX IX_ANS_PHASE_01 (SITE_CD, ANS_CLSF),
+  INDEX IX_ANS_PHASE_02 (KAKAO_CD)
 )
-COMMENT '기본답변문구. 신규 기본답변문구 등록에 의한 발생'
+COMMENT '답변문구. 신규 답변문구 등록에 의한 발생'
 ;
 
 ################################################################################
@@ -172,9 +173,9 @@ DROP TABLE IF EXISTS TB_CLAUSE;
 CREATE TABLE TB_CLAUSE
 (
   CLAUSE_SQ        INT UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '약관일련번호',
-  SITE_CD          VARCHAR(2) NOT NULL COMMENT '사이트코드(공통코드G000)',
-  CLAUSE_TYPE      VARCHAR(2) NOT NULL COMMENT '약관유형(공통코드G016)',
-  CLAUSE_TITLE     VARCHAR(200) NOT NULL COMMENT '약관제목',
+  SITE_CD          VARCHAR(20) NOT NULL COMMENT '사이트코드(공통코드G000)',
+  CLAUSE_TYPE      VARCHAR(20) NOT NULL COMMENT '약관유형(공통코드G057)',
+  CLAUSE_TITLE     VARCHAR(100) NOT NULL COMMENT '약관제목',
   CLAUSE_CONTENT   LONGTEXT NOT NULL COMMENT '약관내용',
   EFFECT_DT        DATE NOT NULL COMMENT '시행일자',
   DISP_YN          CHAR(1) DEFAULT 'Y' NOT NULL COMMENT '표시여부(Y:표시)',
@@ -1367,7 +1368,7 @@ CREATE TABLE TB_ENVSET
   REG_NO         INT UNSIGNED NOT NULL COMMENT '등록자번호',
   REG_DT         TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL COMMENT '등록일시',
   PRIMARY KEY (ENVSET_SQ),
-  INDEX IX_ENVSET_01 (SITE_CD, ENVSET_TYPE, ENVSET_SQ)
+  INDEX IX_ENVSET_01 (SITE_CD, ENVSET_TYPE, ENVSET_SQ DESC)
 )
 COMMENT '환경설정. 사이트 환경설정 등록에 의한 발생';
 
@@ -1611,7 +1612,7 @@ INSERT INTO TB_MENU VALUES ('S10', 'S', '환경설정', 'M', NULL,  NULL, 10, 'N
 INSERT INTO TB_MENU VALUES ('S1001', 'S10', '기본환경설정', 'P', '/envset/basic/form', NULL, 1001, 'Y', 1, NOW(), 1, NOW());
 INSERT INTO TB_MENU VALUES ('S1003', 'S10', '포인트정책설정', 'P', '/envset/point/form', NULL, 1003, 'Y', 1, NOW(), 1, NOW());
 INSERT INTO TB_MENU VALUES ('S1004', 'S10', '약관관리', 'P', '/envset/clause/form', NULL, 1004, 'Y', 1, NOW(), 1, NOW());
-INSERT INTO TB_MENU VALUES ('S1005', 'S10', '답변문구관리', 'P', '/envset/answser/form', NULL, 1005, 'Y', 1, NOW(), 1, NOW());
+INSERT INTO TB_MENU VALUES ('S1005', 'S10', '답변문구관리', 'P', '/envset/answser/phase/form', NULL, 1005, 'Y', 1, NOW(), 1, NOW());
 INSERT INTO TB_MENU VALUES ('S20', 'S', '시스템관리', 'M', NULL, NULL, 20, 'Y', 1, NOW(), 1, NOW());
 INSERT INTO TB_MENU VALUES ('S2001', 'S20', '사용자관리', 'P', '/system/user/form', '<p>어드민 사용자를 관리한다.</p>', 2001, 'Y', 1, NOW(), 1, NOW());
 INSERT INTO TB_MENU VALUES ('S2002', 'S20', '메뉴관리', 'P', '/system/menu/form', '<p>어드민과 SCM 시스템용 메뉴를 관리한다.</p>
@@ -2059,11 +2060,11 @@ CREATE TABLE TB_GOODS (
   RETURNABLE_YN      CHAR(1)             NOT NULL DEFAULT 'Y' COMMENT '반품가능여부', -- 반품가능여부
   CHANGE_FEE_FREE_YN CHAR(1)             NOT NULL DEFAULT 'N' COMMENT '교환배송비무료여부', -- 교환배송비무료여부
   RETURN_FEE_FREE_YN CHAR(1)             NOT NULL DEFAULT 'N' COMMENT '반품배송비무료여부', -- 반품배송비무료여부
-  PRE_PPNT_USABLE_YN CHAR(1)             NOT NULL DEFAULT 'Y' COMMENT '선포인트사용가능여부(PC)', -- 선포인트사용가능여부(PC)
-  PRE_MPNT_USABLE_YN CHAR(1)             NOT NULL DEFAULT 'Y' COMMENT '선포인트사용가능여부(모바일)', -- 선포인트사용가능여부(모바일)
+  PRE_PPNT_USABLE_YN CHAR(1)             NOT NULL DEFAULT 'N' COMMENT '선포인트사용가능여부(PC)', -- 선포인트사용가능여부(PC)
+  PRE_MPNT_USABLE_YN CHAR(1)             NOT NULL DEFAULT 'N' COMMENT '선포인트사용가능여부(모바일)', -- 선포인트사용가능여부(모바일)
   MIN_ORD_QTY        SMALLINT UNSIGNED   NOT NULL DEFAULT 1 COMMENT '최소주문수량', -- 최소주문수량
   MAX_ORD_QTY        SMALLINT UNSIGNED   NOT NULL DEFAULT 20 COMMENT '최대주문수량', -- 최대주문수량
-  DAY_MAX_ORD_QTY    SMALLINT UNSIGNED   NULL     COMMENT 'ID당1일최대구매수량', -- ID당1일최대구매수량
+  DAY_MAX_ORD_QTY    SMALLINT UNSIGNED   NOT NULL DEFAULT 20 COMMENT 'ID당1일최대구매수량', -- ID당1일최대구매수량
   FRST_CFRM_DT       TIMESTAMP           NULL     COMMENT '최초승인일시', -- 최초승인일시
   MAKE_NM            VARCHAR(200)        NULL     COMMENT '제조국(원산지)', -- 제조국(원산지)
   MAKE_YMD           VARCHAR(8)          NULL     COMMENT '제조연월일', -- 제조연월일
@@ -4889,4 +4890,17 @@ ALTER TABLE TB_SELL_QTY
     PRIMARY KEY (
       GOODS_CD, -- 상품코드
       OPT_CD    -- 옵션코드
-    );
+    );
+    
+################################################################################
+# 상품 시퀀스
+################################################################################
+DROP TABLE IF EXISTS TB_GOODS_SEQUENCE;
+CREATE TABLE TB_GOODS_SEQUENCE
+(
+  GOODS_SQ        INT UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '상품일련번호',
+  PRIMARY KEY (GOODS_SQ)
+)
+COMMENT '상품시퀀스. 신규 상품 등록에 의한 발생';
+
+

+ 70 - 0
산출물/3.설계/ERD/.metadata/.log

@@ -1003,3 +1003,73 @@ Command-line arguments:  -os win32 -ws win32 -arch x86 D:\WIDE\workspace\webapps
 
 !ENTRY org.eclipse.osgi 2 1 2020-10-27 22:50:08.991
 !MESSAGE NLS unused message: ToggleColumnVisibilityHandler_5 in: com.tomato.exerd.handler.messages
+!SESSION 2020-10-30 11:50:35.268 -----------------------------------------------
+eclipse.buildId=M20090211-1700
+java.version=1.6.0_24
+java.vendor=Sun Microsystems Inc.
+BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ko_KR
+Framework arguments:  D:\WIDE\workspace\webapps\style24\style24.doc\산출물\3.설계\ERD\ST24.exerd
+Command-line arguments:  -os win32 -ws win32 -arch x86 D:\WIDE\workspace\webapps\style24\style24.doc\산출물\3.설계\ERD\ST24.exerd
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:36.502
+!MESSAGE NLS unused message: OpenResourceDialog_openButton_text in: org.eclipse.ui.internal.ide.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:36.502
+!MESSAGE NLS unused message: OpenResourceDialog_openWithMenu_label in: org.eclipse.ui.internal.ide.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:36.502
+!MESSAGE NLS unused message: OpenResourceDialog_openWithButton_toolTip in: org.eclipse.ui.internal.ide.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:36.502
+!MESSAGE NLS unused message: CleanDialog_cleanSelectedTaskName in: org.eclipse.ui.internal.ide.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:36.502
+!MESSAGE NLS unused message: RecentWorkspacesPreferencePage_PromptAtStartup_label in: org.eclipse.ui.internal.ide.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:36.502
+!MESSAGE NLS unused message: RecentWorkspacesPreferencePage_RemoveButton_label in: org.eclipse.ui.internal.ide.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:38.721
+!MESSAGE NLS unused message: url_couldNotResolve_projectDoesNotExist in: org.eclipse.core.internal.utils.messages
+
+!ENTRY org.eclipse.core.resources 2 10035 2020-10-30 11:50:38.800
+!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.050
+!MESSAGE NLS unused message: Shortcuts_shortcutTab in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.050
+!MESSAGE NLS unused message: Shortcuts_selectShortcutsLabel in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.050
+!MESSAGE NLS unused message: Shortcuts_availableMenus in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.050
+!MESSAGE NLS unused message: Shortcuts_availableCategories in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.050
+!MESSAGE NLS unused message: Shortcuts_allShortcuts in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.065
+!MESSAGE NLS unused message: Util_listNull in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.065
+!MESSAGE NLS unused message: OpenBrowserHandler_NoInfoDialogTitle in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:39.065
+!MESSAGE NLS unused message: AboutFeaturesDialog_SimpleTitle in: org.eclipse.ui.internal.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:46.207
+!MESSAGE NLS unused message: BinaryDumpHandler_1 in: com.tomato.exerd.handler.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:46.207
+!MESSAGE NLS unused message: ConvertToXMLHandler_1 in: com.tomato.exerd.handler.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:46.207
+!MESSAGE NLS unused message: SelectHandler_11 in: com.tomato.exerd.handler.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:46.207
+!MESSAGE NLS unused message: ToggleColumnVisibilityHandler_4 in: com.tomato.exerd.handler.messages
+
+!ENTRY org.eclipse.osgi 2 1 2020-10-30 11:50:46.207
+!MESSAGE NLS unused message: ToggleColumnVisibilityHandler_5 in: com.tomato.exerd.handler.messages

BIN
산출물/3.설계/ERD/.metadata/.plugins/org.eclipse.core.resources/.root/13.tree


BIN
산출물/3.설계/ERD/.metadata/.plugins/org.eclipse.core.resources/.root/14.tree


BIN
산출물/3.설계/ERD/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources


BIN
산출물/3.설계/ERD/.metadata/.plugins/org.eclipse.core.resources/.snap


+ 5 - 3
산출물/3.설계/ERD/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml

@@ -31,10 +31,10 @@
 </folder>
 </info>
 </editorArea>
-<editor activePart="true" focus="true" id="com.tomato.exerd.editor.DiagramEditor" name="ST24.exerd" partName="ST24.exerd" title="ST24.exerd" tooltip="D:\WIDE\workspace\webapps\style24\style24.doc\산출물\3.설계\ERD\ST24.exerd" workbook="DefaultEditorWorkbook">
+<editor id="com.tomato.exerd.editor.DiagramEditor" name="ST24.exerd" partName="ST24.exerd" title="ST24.exerd" tooltip="D:\WIDE\workspace\webapps\style24\style24.doc\산출물\3.설계\ERD\ST24.exerd" workbook="DefaultEditorWorkbook">
 <input factoryID="org.eclipse.ui.ide.FileStoreEditorInputFactory" uri="file:/D:/WIDE/workspace/webapps/style24/style24.doc/산출물/3.설계/ERD/ST24.exerd"/>
 </editor>
-<editor id="com.tomato.exerd.editor.DiagramEditor" name="iSTYLE24_Mall.exerd" partName="iSTYLE24_Mall.exerd" title="iSTYLE24_Mall.exerd" tooltip="D:\WIDE\workspace\webapps\style24\style24.doc\산출물\3.설계\ERD\asis\iSTYLE24_Mall.exerd" workbook="DefaultEditorWorkbook">
+<editor activePart="true" focus="true" id="com.tomato.exerd.editor.DiagramEditor" name="iSTYLE24_Mall.exerd" partName="iSTYLE24_Mall.exerd" title="iSTYLE24_Mall.exerd" tooltip="D:\WIDE\workspace\webapps\style24\style24.doc\산출물\3.설계\ERD\asis\iSTYLE24_Mall.exerd" workbook="DefaultEditorWorkbook">
 <input factoryID="org.eclipse.ui.ide.FileStoreEditorInputFactory" uri="file:/D:/WIDE/workspace/webapps/style24/style24.doc/산출물/3.설계/ERD/asis/iSTYLE24_Mall.exerd"/>
 </editor>
 </editors>
@@ -166,6 +166,7 @@
 <editor factoryID="org.eclipse.ui.ide.FileStoreEditorInputFactory" id="com.tomato.exerd.editor.DiagramEditor" uri="file:/D:/WIDE/workspace/webapps/style24/style24.doc/산출물/3.설계/ERD/ST24.exerd"/>
 <editor factoryID="org.eclipse.ui.ide.FileStoreEditorInputFactory" id="com.tomato.exerd.editor.DiagramEditor" uri="file:/D:/WIDE/workspace/webapps/style24/style24.doc/산출물/3.설계/ERD/asis/iSTYLE24_Mall.exerd"/>
 <editor factoryID="org.eclipse.ui.ide.FileStoreEditorInputFactory" id="com.tomato.exerd.editor.DiagramEditor" uri="file:/D:/WIDE/workspace/webapps/style24/style24.doc/산출물/3.설계/ERD/asis/iSTYLE24_Mall.exerd"/>
+<editor factoryID="org.eclipse.ui.ide.FileStoreEditorInputFactory" id="com.tomato.exerd.editor.DiagramEditor" uri="file:/D:/WIDE/workspace/webapps/style24/style24.doc/산출물/3.설계/ERD/asis/iSTYLE24_Mall.exerd"/>
 </editors>
 <item historyLabel="ST24.exerd" index="0"/>
 <item historyLabel="iSTYLE24_Mall.exerd" index="1"/>
@@ -173,7 +174,8 @@
 <item historyLabel="iSTYLE24_Mall.exerd" index="1"/>
 <item historyLabel="ST24.exerd" index="0"/>
 <item historyLabel="iSTYLE24_Mall.exerd" index="2"/>
-<item active="true" historyLabel="ST24.exerd" index="0"/>
+<item historyLabel="ST24.exerd" index="0"/>
+<item active="true" historyLabel="iSTYLE24_Mall.exerd" index="3"/>
 </navigationHistory>
 <input factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/" type="8"/>
 </page>

BIN
산출물/3.설계/ERD/ST24.exerd


BIN
산출물/3.설계/ST24_TSIT-D202-프로그램목록(V0.3)-20201019.xlsx