main
MonHun 2024-04-25 17:31:02 +09:00
parent 91dfe5e3db
commit 9e63288f64
4 changed files with 124 additions and 44 deletions

View File

@ -1,5 +1,33 @@
{ {
"recentFiles": [ "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", "basename": "2024-04-22",
"path": "Work Related/1.업무메모/2024-04-22.md" "path": "Work Related/1.업무메모/2024-04-22.md"
@ -116,18 +144,10 @@
"basename": "CMD 명령어", "basename": "CMD 명령어",
"path": "Programing/Windows/CMD 명령어.md" "path": "Programing/Windows/CMD 명령어.md"
}, },
{
"basename": "2024-03-25",
"path": "Work Related/1.업무메모/2024-03-25.md"
},
{ {
"basename": "2023.10-3", "basename": "2023.10-3",
"path": "Work Related/3.주간계획/스마트계류장/2023.10-3.md" "path": "Work Related/3.주간계획/스마트계류장/2023.10-3.md"
}, },
{
"basename": "Jenkins 설치",
"path": "Programing/Jenkins/Jenkins 설치.md"
},
{ {
"basename": "용어정리", "basename": "용어정리",
"path": "Work Related/프로젝트/스마트계류장/항공용어/용어정리.md" "path": "Work Related/프로젝트/스마트계류장/항공용어/용어정리.md"
@ -179,26 +199,6 @@
{ {
"basename": "Docker 설치", "basename": "Docker 설치",
"path": "Programing/Docker/Docker 설치.md" "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": [], "omittedPaths": [],

View File

@ -4,16 +4,16 @@
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "90db076928281e7d", "id": "3929936619661553",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "87246a6f2da07960", "id": "001a57375ba464a4",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "Work Related/1.업무메모/2024-04-22.md", "file": "Work Related/1.업무메모/2024-04-25.md",
"mode": "source", "mode": "source",
"backlinks": true, "backlinks": true,
"source": false "source": false
@ -49,7 +49,7 @@
"state": { "state": {
"type": "search", "type": "search",
"state": { "state": {
"query": "add_month", "query": "level",
"matchingCase": false, "matchingCase": false,
"explainSearch": false, "explainSearch": false,
"collapseAll": true, "collapseAll": true,
@ -102,7 +102,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Work Related/1.업무메모/2024-04-22.md", "file": "Work Related/1.업무메모/2024-04-25.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -119,7 +119,7 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Work Related/1.업무메모/2024-04-22.md", "file": "Work Related/1.업무메모/2024-04-25.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
@ -142,7 +142,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "Work Related/1.업무메모/2024-04-22.md" "file": "Work Related/1.업무메모/2024-04-25.md"
} }
} }
}, },
@ -184,10 +184,17 @@
"command-palette:명령어 팔레트 열기": false "command-palette:명령어 팔레트 열기": false
} }
}, },
"active": "87246a6f2da07960", "active": "001a57375ba464a4",
"lastOpenFiles": [ "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", "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.업무메모/2022.06/2022-06-13.md",
"Work Related/프로젝트/스마트계류장/1.데이터베이스/GAM_LIST 데이터 일괄 insert.md", "Work Related/프로젝트/스마트계류장/1.데이터베이스/GAM_LIST 데이터 일괄 insert.md",
"Work Related/프로젝트/스마트계류장/1.데이터베이스/주기장 기준 항공기 유무 확인 쿼리(GAM).md", "Work Related/프로젝트/스마트계류장/1.데이터베이스/주기장 기준 항공기 유무 확인 쿼리(GAM).md",
@ -205,13 +212,6 @@
"Work Related/3.주간계획/스마트계류장/2023.10-4.md", "Work Related/3.주간계획/스마트계류장/2023.10-4.md",
"Work Related/프로젝트/스마트계류장/9.기타/방문증 신청 문구.md", "Work Related/프로젝트/스마트계류장/9.기타/방문증 신청 문구.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 20240404100942.png",
"zzz.resources/Pasted image 20240404100125.png", "zzz.resources/Pasted image 20240404100125.png",
"zzz.resources/Pasted image 20240404095641.png", "zzz.resources/Pasted image 20240404095641.png",

View File

@ -25,6 +25,9 @@ ssh gmt@10.200.32.59
# 스크립트 보안 원복 # 스크립트 보안 원복
Set-ExecutionPolicy Restricted Set-ExecutionPolicy Restricted
컴퓨터\HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH
``` ```
##### CF. ExecutionPolicy ##### CF. ExecutionPolicy

View File

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