From 9e63288f64947d6e482dd322b39e01c0982c7ae5 Mon Sep 17 00:00:00 2001 From: MonHun Date: Thu, 25 Apr 2024 17:31:02 +0900 Subject: [PATCH] win 0425 --- .../plugins/recent-files-obsidian/data.json | 56 +++++++------- Recognition/.obsidian/workspace.json | 32 ++++---- .../Windows/WIndows OpenSSH server 설치.md | 3 + .../Work Related/1.업무메모/2024-04-25.md | 77 +++++++++++++++++++ 4 files changed, 124 insertions(+), 44 deletions(-) create mode 100644 Recognition/Work Related/1.업무메모/2024-04-25.md diff --git a/Recognition/.obsidian/plugins/recent-files-obsidian/data.json b/Recognition/.obsidian/plugins/recent-files-obsidian/data.json index 72c8f5e..e411e9d 100644 --- a/Recognition/.obsidian/plugins/recent-files-obsidian/data.json +++ b/Recognition/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,5 +1,33 @@ { "recentFiles": [ + { + "basename": "2024-04-25", + "path": "Work Related/1.업무메모/2024-04-25.md" + }, + { + "basename": "일자 일괄 생성", + "path": "Programing/Oracle/일자 일괄 생성.md" + }, + { + "basename": "Lock 조회", + "path": "Programing/Tibero/Lock 조회.md" + }, + { + "basename": "DB_Lock확인", + "path": "0.바로가기/DB_Lock확인.md" + }, + { + "basename": "2022-05-19", + "path": "Work Related/1.업무메모/2022.05/2022-05-19.md" + }, + { + "basename": "Jenkins 설치", + "path": "Programing/Jenkins/Jenkins 설치.md" + }, + { + "basename": "2024-03-25", + "path": "Work Related/1.업무메모/2024-03-25.md" + }, { "basename": "2024-04-22", "path": "Work Related/1.업무메모/2024-04-22.md" @@ -116,18 +144,10 @@ "basename": "CMD 명령어", "path": "Programing/Windows/CMD 명령어.md" }, - { - "basename": "2024-03-25", - "path": "Work Related/1.업무메모/2024-03-25.md" - }, { "basename": "2023.10-3", "path": "Work Related/3.주간계획/스마트계류장/2023.10-3.md" }, - { - "basename": "Jenkins 설치", - "path": "Programing/Jenkins/Jenkins 설치.md" - }, { "basename": "용어정리", "path": "Work Related/프로젝트/스마트계류장/항공용어/용어정리.md" @@ -179,26 +199,6 @@ { "basename": "Docker 설치", "path": "Programing/Docker/Docker 설치.md" - }, - { - "basename": "무제 파일", - "path": "Programing/Docker/무제 파일.md" - }, - { - "basename": "설치 및 실행", - "path": "Programing/Grafana/설치 및 실행.md" - }, - { - "basename": "용어", - "path": "Programing/0.Root/용어.md" - }, - { - "basename": "권한(Grant)", - "path": "Programing/Tibero/권한(Grant).md" - }, - { - "basename": "스키마 생성", - "path": "Programing/Tibero/스키마 생성.md" } ], "omittedPaths": [], diff --git a/Recognition/.obsidian/workspace.json b/Recognition/.obsidian/workspace.json index 72b7449..c1d1b1b 100644 --- a/Recognition/.obsidian/workspace.json +++ b/Recognition/.obsidian/workspace.json @@ -4,16 +4,16 @@ "type": "split", "children": [ { - "id": "90db076928281e7d", + "id": "3929936619661553", "type": "tabs", "children": [ { - "id": "87246a6f2da07960", + "id": "001a57375ba464a4", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "Work Related/1.업무메모/2024-04-22.md", + "file": "Work Related/1.업무메모/2024-04-25.md", "mode": "source", "backlinks": true, "source": false @@ -49,7 +49,7 @@ "state": { "type": "search", "state": { - "query": "add_month", + "query": "level", "matchingCase": false, "explainSearch": false, "collapseAll": true, @@ -102,7 +102,7 @@ "state": { "type": "backlink", "state": { - "file": "Work Related/1.업무메모/2024-04-22.md", + "file": "Work Related/1.업무메모/2024-04-25.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -119,7 +119,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Work Related/1.업무메모/2024-04-22.md", + "file": "Work Related/1.업무메모/2024-04-25.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -142,7 +142,7 @@ "state": { "type": "outline", "state": { - "file": "Work Related/1.업무메모/2024-04-22.md" + "file": "Work Related/1.업무메모/2024-04-25.md" } } }, @@ -184,10 +184,17 @@ "command-palette:명령어 팔레트 열기": false } }, - "active": "87246a6f2da07960", + "active": "001a57375ba464a4", "lastOpenFiles": [ - "Programing/Windows/WIndows OpenSSH server 설치.md", + "Programing/Oracle/일자 일괄 생성.md", + "Work Related/1.업무메모/2024-04-25.md", + "Programing/Tibero/Lock 조회.md", + "0.바로가기/DB_Lock확인.md", + "Work Related/1.업무메모/2022.05/2022-05-19.md", + "Programing/Jenkins/Jenkins 설치.md", + "Work Related/1.업무메모/2024-03-25.md", "Work Related/1.업무메모/2024-04-22.md", + "Programing/Windows/WIndows OpenSSH server 설치.md", "Work Related/1.업무메모/2022.06/2022-06-13.md", "Work Related/프로젝트/스마트계류장/1.데이터베이스/GAM_LIST 데이터 일괄 insert.md", "Work Related/프로젝트/스마트계류장/1.데이터베이스/주기장 기준 항공기 유무 확인 쿼리(GAM).md", @@ -205,13 +212,6 @@ "Work Related/3.주간계획/스마트계류장/2023.10-4.md", "Work Related/프로젝트/스마트계류장/9.기타/방문증 신청 문구.md", "Work Related/프로젝트/스마트계류장/9.기타/관리페이지 수정.md", - "Work Related/프로젝트/스마트계류장/0.관련정보/공유문서.md", - "Programing/ELK/Elastic Search + Spring Boot에서 검색 로직.md", - "Programing/ELK/query DSL.md", - "Work Related/프로젝트/스마트계류장/0.관련정보/Kafka-ELK 테스트.md", - "Work Related/프로젝트/스마트계류장/0.관련정보/미들웨어 API.md", - "Programing/0.Learnig List.md", - "Programing/Kafka(AMQP)/Kafka Windows 실행.md", "zzz.resources/Pasted image 20240404100942.png", "zzz.resources/Pasted image 20240404100125.png", "zzz.resources/Pasted image 20240404095641.png", diff --git a/Recognition/Programing/Windows/WIndows OpenSSH server 설치.md b/Recognition/Programing/Windows/WIndows OpenSSH server 설치.md index 0bfa2bd..617324d 100644 --- a/Recognition/Programing/Windows/WIndows OpenSSH server 설치.md +++ b/Recognition/Programing/Windows/WIndows OpenSSH server 설치.md @@ -25,6 +25,9 @@ ssh gmt@10.200.32.59 # 스크립트 보안 원복 Set-ExecutionPolicy Restricted + +컴퓨터\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH + ``` ##### CF. ExecutionPolicy diff --git a/Recognition/Work Related/1.업무메모/2024-04-25.md b/Recognition/Work Related/1.업무메모/2024-04-25.md new file mode 100644 index 0000000..47e401b --- /dev/null +++ b/Recognition/Work Related/1.업무메모/2024-04-25.md @@ -0,0 +1,77 @@ +```sql +-- 일자별 +select zone_id + , (select UCM.FUN_GET_CMMN_NM('CT003', zone_id) from dual) as zone_nm + , pad_no + , sum(decode(substr(flt_dt,7,2), '01', 1, 0)) as day01 + , sum(decode(substr(flt_dt,7,2), '02', 1, 0)) as day02 + , sum(decode(substr(flt_dt,7,2), '03', 1, 0)) as day03 + , sum(decode(substr(flt_dt,7,2), '04', 1, 0)) as day04 + , sum(decode(substr(flt_dt,7,2), '05', 1, 0)) as day05 + , sum(decode(substr(flt_dt,7,2), '06', 1, 0)) as day06 + , sum(decode(substr(flt_dt,7,2), '07', 1, 0)) as day07 + , sum(decode(substr(flt_dt,7,2), '08', 1, 0)) as day08 + , sum(decode(substr(flt_dt,7,2), '09', 1, 0)) as day09 + , sum(decode(substr(flt_dt,7,2), '10', 1, 0)) as day10 + , sum(decode(substr(flt_dt,7,2), '11', 1, 0)) as day11 + , sum(decode(substr(flt_dt,7,2), '12', 1, 0)) as day12 + , sum(decode(substr(flt_dt,7,2), '13', 1, 0)) as day13 + , sum(decode(substr(flt_dt,7,2), '14', 1, 0)) as day14 + , sum(decode(substr(flt_dt,7,2), '15', 1, 0)) as day15 + , sum(decode(substr(flt_dt,7,2), '16', 1, 0)) as day16 + , sum(decode(substr(flt_dt,7,2), '17', 1, 0)) as day17 + , sum(decode(substr(flt_dt,7,2), '18', 1, 0)) as day18 + , sum(decode(substr(flt_dt,7,2), '19', 1, 0)) as day19 + , sum(decode(substr(flt_dt,7,2), '20', 1, 0)) as day20 + , sum(decode(substr(flt_dt,7,2), '21', 1, 0)) as day21 + , sum(decode(substr(flt_dt,7,2), '22', 1, 0)) as day22 + , sum(decode(substr(flt_dt,7,2), '23', 1, 0)) as day23 + , sum(decode(substr(flt_dt,7,2), '24', 1, 0)) as day24 + , sum(decode(substr(flt_dt,7,2), '25', 1, 0)) as day25 + , sum(decode(substr(flt_dt,7,2), '26', 1, 0)) as day26 + , sum(decode(substr(flt_dt,7,2), '27', 1, 0)) as day27 + , sum(decode(substr(flt_dt,7,2), '28', 1, 0)) as day28 + , sum(decode(substr(flt_dt,7,2), '29', 1, 0)) as day29 + , sum(decode(substr(flt_dt,7,2), '30', 1, 0)) as day30 + , sum(decode(substr(flt_dt,7,2), '31', 1, 0)) as day31 +from ( + select FLT_DE + , SCHDUL_ID + , CLSGN + , AC_REG_NO + , PAD_NO + , DEICING_NO + , IF_DT + , IF_SRC + , AC_TY_IATA + , AC_TY_ICAO + , AC_GRAD + , EXP_DEP_DT + , DEICING_REQ_DT + , EXP_PAD_IN_DT + , EXP_DEICING_START_DT + , EXP_DEICING_END_DT + , EXP_PAD_OUT_DT + , ACTL_PAD_IN_DT + , ACTL_DEICING_START_DT + , nvl(ACTL_DEICING_END_DT, EXP_DEICING_END_DT) as ACTL_DEICING_END_DT + , nvl(ACTL_PAD_OUT_DT, EXP_PAD_OUT_DT) as ACTL_PAD_OUT_DT + , DEICING_ZONE_CD + , EXP_DEICING_TIME + , INTRFC_DT_KST + , (select ucm.fun_zone_id(PAD_NO) from dual) as zone_id + from uic.V_FLT_DEICING) a +where a +and actl_pad_in_dt is not null +and ( substr(ACTL_PAD_IN_DT,1,6) = :ar_month or substr(ACTL_PAD_IN_DT,1,6) = :ar_month ) +group by zone_id, pad_no +order by zone_id, pad_no + + + + + + + + +``` \ No newline at end of file