paip.檢測信用卡賬單資料的正確性演算法
主要3點:
//1.重點檢測.大錢記錄
//2.檢測遺漏記錄
//3.排除雙唇記錄.
//4.試著cls share,改變錯誤的cls.
作者attilax 艾龍, email:[email protected]
///重點檢測.大錢記錄
select * from cyar2013 where moneyx>300 order by datex,moneyx
//檢測遺漏記錄
乙個好方法,就是生成趨勢..一掛走看出來不對的月份..然後..
//2.檢測是否有卡片遺漏..(11g)..單個的月份
select *
from
cyar2013
where
month (datex) = 7
and year (datex) = 2013
and acc != "alipay"
and acc != "cash"
and acc is not null
and cls != 'insure'
and cls != 'mkt'
and cls != 'o'
and cls != 'other'
and cls not like 'pos%'
order by
acc///檢視信用卡多個月份的趨勢..
select *
from
cyar2013
where
( month (datex) >=2 and month (datex) <=3
and year (datex) = 2013 )
and acc != "alipay"
and acc != "alip"
and acc != "cash"
and acc is not null
and acc !='un'
and cls != 'insure'
and cls != 'mkt'
and cls != 'o'
and cls != 'other'
and cls not like 'pos%'
and (cls='int' or cls='itrst' or cls='fcssf' or cls='ckssf')
檢視單張卡片的記錄
select *
from
cyar2013
where acc like '%hs%' or acc like 'yp'
order by datex
///排除雙唇記錄.
select * from cyar2013 where month(datex)>6 and ( cls='mkt' or cls='o' or cls='other' or demo like 'ka%') order by datex,moneyx
paip 信用卡賬單處理分類bug o21
paip.信用卡賬單處理分類bug o21 cmb惠眾04年度10 12 insure gdb零售利息 itrst gdb 2013 10 5 97.5 int 財智金手續費13034001626 09 gdb 2013 10 5 112.5 int 財智金手續費13034001622 09 int...
paip 信用卡賬單處理分類bug o21
paip.信用卡賬單處理分類bug o21 cmb惠眾04年度10 12 insure gdb零售利息 itrst gdb 2013 10 5 97.5 int 財智金手續費13034001626 09 gdb 2013 10 5 112.5 int 財智金手續費13034001622 09 int...
paip 信用卡賬單處理分類bug o21
paip.信用卡賬單處理分類bug o21 cmb惠眾04年度10 12 insure gdb零售利息 itrst gdb 2013 10 5 97.5 int 財智金手續費13034001626 09 gdb 2013 10 5 112.5 int 財智金手續費13034001622 09 int...