|
|
@@ -9994,6 +9994,29 @@ ALTER TABLE TB_ORDER_DETAIL
|
|
|
|
|
|
ALTER TABLE TB_ORDER_DETAIL
|
|
|
AUTO_INCREMENT = 1;
|
|
|
+
|
|
|
+################################################################################
|
|
|
+#주문메모
|
|
|
+################################################################################
|
|
|
+DROP TABLE IF EXISTS TB_ORDER_MEMO RESTRICT;
|
|
|
+create table tb_order_memo
|
|
|
+(
|
|
|
+ ORDER_MEMO_SQ int auto_increment comment '관리자메모시퀀스'
|
|
|
+ primary key,
|
|
|
+ ORD_NO int not null comment '주문번호',
|
|
|
+ MEMO varchar(1000) not null comment '메모내용',
|
|
|
+ ORG_FILE_NM varchar(200) null comment '원본파일명',
|
|
|
+ SYS_FILE_NM varchar(200) null comment '시스템파일명',
|
|
|
+ DEL_YN char not null comment '삭제여부',
|
|
|
+ REG_NO int not null comment '등록자',
|
|
|
+ REG_DT timestamp default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '등록일자',
|
|
|
+ UPD_NO int not null comment '수정자',
|
|
|
+ UPD_DT timestamp not null comment '수정일자'
|
|
|
+)
|
|
|
+comment '관리자메모';
|
|
|
+
|
|
|
+create index IX_TB_ORDER_MEMO_O
|
|
|
+ on tb_order_memo (ORD_NO);
|
|
|
|
|
|
################################################################################
|
|
|
#주문상세이력
|