142 lines
2.4 KiB
Markdown
142 lines
2.4 KiB
Markdown
|
- 시간당 요청건수 집계
|
||
|
- 기존
|
||
|
- 30/60
|
||
|
- 60/120
|
||
|
- 출항시점/30-60분요청 별 건수 집계
|
||
|
- 방송처리로직 포함하여 요청 1건 처리 시간
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
|
||
|
|
||
|
|
||
|
SELECT a.slot_n
|
||
|
FROM TACEEZ.V_ARS_SHIP@TACEEZ_LINK A
|
||
|
, TACEEZ.V_ARS_INOUT2@TACEEZ_LINK B
|
||
|
WHERE a.SHIP_NO = B.SHIP_NO AND A.CALL_SIGN = B.CALL_SIGN
|
||
|
AND b.inout_part = 'I'
|
||
|
AND a.slot_no IS NOT null
|
||
|
|
||
|
|
||
|
|
||
|
SELECT *
|
||
|
FROM TACEEZ.TB_FBB_TKOFF@TACEEZ_LINK
|
||
|
WHERE fshrbt_no = '06110076471105'
|
||
|
AND tkoff_de like '202205%'
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_WETHR_SND_D
|
||
|
WHERE MSSAGE_ID IN (
|
||
|
SELECT MSSAGE_ID
|
||
|
FROM TB_WETHR_SND_M
|
||
|
WHERE to_char(PROCESS_DT, 'yyyymmdd') >= '20220526'
|
||
|
)
|
||
|
|
||
|
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_LC_FSHOPRRPT_202205 tll
|
||
|
WHERE LAST_RCV_BRDCST_ID <> 0
|
||
|
ORDER BY REPORT_DT DESC
|
||
|
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_PASSIVLC_REQUST tpr
|
||
|
WHERE to_char(INSERT_DT, 'yyyymmddhh24') like '20220530%'
|
||
|
AND PROCESS = 0
|
||
|
ORDER BY MSSAGE_ID ASC
|
||
|
|
||
|
SELECT count(*)
|
||
|
FROM TB_PASSIVLC_REQUST tpr
|
||
|
WHERE PROCESS = 0
|
||
|
--and to_char(INSERT_DT, 'yyyymmddhh24') like '2022053019%'
|
||
|
ORDER BY INSERT_DT DESC
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_PASSIVLC_REQUST tpr
|
||
|
WHERE PROCESS = 1
|
||
|
ORDER BY MSSAGE_ID ASC
|
||
|
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_SHIP ts
|
||
|
WHERE SLOT_NO = '1037'
|
||
|
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_PASSIVLC_REQUST tpr
|
||
|
WHERE SLOT_NO IN (
|
||
|
SELECT SLOT_NO FROM TMP_INSLOT ti
|
||
|
)
|
||
|
and PROCESS = 0
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_TRACK_05 tt
|
||
|
WHERE SLOT_NO = '660'
|
||
|
and to_char(REPORT_DT , 'yyyymmddhh24') like '20220530%'
|
||
|
|
||
|
|
||
|
SELECT *
|
||
|
FROM TB_LC_FSHOPRRPT_202205 tt
|
||
|
WHERE SLOT_NO = '660'
|
||
|
and to_char(REPORT_DT , 'yyyymmddhh24') like '20220530%'
|
||
|
|
||
|
SELECT * FROM(
|
||
|
SELECT
|
||
|
MSSAGE_ID
|
||
|
, MMSI
|
||
|
, SLOT_NO
|
||
|
, MODEM_LIST
|
||
|
, COMM_TY
|
||
|
, BRDCST
|
||
|
, PROCESS
|
||
|
, PROCESS_DT
|
||
|
, INSERT_DT
|
||
|
, sysdate as dbsrv_dt
|
||
|
, (sysdate - INSERT_DT) *( 24 * 60 ) as term_min
|
||
|
, SAMENSS_SND_DT
|
||
|
, SND_DT
|
||
|
FROM
|
||
|
TB_PASSIVLC_REQUST
|
||
|
WHERE
|
||
|
PROCESS = 0
|
||
|
ORDER BY
|
||
|
MSSAGE_ID ASC
|
||
|
) WHERE ROWNUM = 1
|
||
|
|
||
|
|
||
|
SELECT a.MSSAGE_ID , a.SLOT_NO , a.INSERT_DT , c.FSHRBT_NO
|
||
|
FROM TB_PASSIVLC_REQUST a, TB_SHIP c
|
||
|
where a.SLOT_NO = c.slot_no
|
||
|
AND to_char(INSERT_DT, 'yyyymmddhh24') like '20220530%'
|
||
|
AND exists(
|
||
|
SELECT 'x'
|
||
|
FROM TB_LAST_LC tll
|
||
|
WHERE SLOT_NO = a.SLOT_NO
|
||
|
AND (report_dt + INTERVAL '9' HOUR ) < (a.INSERT_DT - INTERVAL '1' HOUR )
|
||
|
)
|
||
|
|
||
|
|
||
|
---
|
||
|
|
||
|
|
||
|
작업내역, 작업장소, 종류, 완료일시, 소요시간, 작업자
|
||
|
작업명 ,
|
||
|
작업시간
|
||
|
세부작업내역
|
||
|
작업시 에로사항
|
||
|
비고
|
||
|
|
||
|
![[Pasted image 20220531004005.png|400]]
|
||
|
|
||
|
|
||
|
![[Pasted image 20220531004252.png|600]]
|