diff --git a/golang_learn/data_office/get_hy_jctj/main.go b/golang_learn/data_office/get_hy_jctj/main.go index ff5e5d5..a93071e 100644 --- a/golang_learn/data_office/get_hy_jctj/main.go +++ b/golang_learn/data_office/get_hy_jctj/main.go @@ -47,7 +47,8 @@ select ifnull(A0184,'')IDNumber, from A08 where A0831=1 and A01.A0000=A08.A0000 limit 1), '') FullTimeEducation, ifnull((select case when A0801B like '1%' then '研究生' when A0801B like '2%' then '大学本科' when A0801B like '3%' then '大学专科' else '中专及以下' end from A08 where A0834=1 and A01.A0000=A08.A0000 limit 1), '') HighestEducation, - ifnull((select case when A0901B like '3%' then '硕士' when A0901B like '4%' then '学士' else '博士' end from A08 where A0835=1 and A01.A0000=A08.A0000 limit 1), '') HighestDegree, + ifnull((select case when A0901B like '3%' then '硕士' when A0901B like '4%' then '学士' when A0901B like '1%' or A0901B like '2%' then '博士' + else '' end from A08 where A0835=1 and A01.A0000=A08.A0000 limit 1), '') HighestDegree, ifnull((select min(code_name) from code_value where A0123=code_value and code_type='XZ93'),'') JobCategory, ifnull((select min(code_name) from A05, code_value where A0501B=code_value and code_type='ZB09' and A0531=0 and A0524=1 and A01.A0000=A05.A0000), '') CurrentPositionLevel, ifnull((select substr(A0504, 1, 6) from A05 where A0531=0 and A0524=1 and A01.A0000=A05.A0000), '') CurrentPositionStartDate,