From f7a74e6ab4d899ffc031bc0d1569676e2edd75d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=8C=AE=E7=BB=B4?= Date: Fri, 17 Jan 2025 21:41:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E4=BD=8D=E5=AF=B9=E6=AF=94=E6=93=8D?= =?UTF-8?q?=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- golang_learn/data_office/get_hy_jctj/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,