From 8fedf89eefe03e67733527fb3244fcb40823aeb6 Mon Sep 17 00:00:00 2001 From: wubin Date: Mon, 30 Nov 2020 10:38:30 +0800 Subject: [PATCH] update --- ...业技术职务、年龄结构情况.rpx | Bin 25319 -> 25343 bytes Report/037小学学校教职工数.rpx | Bin 0 -> 30679 bytes ...业技术职务、年龄结构情况.txt | 2 +- ReportSQL/037小学学校教职工数 .txt | 32 ++++++++++++++++++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 Report/037小学学校教职工数.rpx create mode 100644 ReportSQL/037小学学校教职工数 .txt diff --git a/Report/031初中专任教师专业技术职务、年龄结构情况.rpx b/Report/031初中专任教师专业技术职务、年龄结构情况.rpx index 6151731bfd0e1a38833edb6021e13370c57b52fd..d53f2fe6e510a0a4a8ebc1673351784407dbca59 100644 GIT binary patch delta 97 zcmaEUl=1&jMvkDsz#s;Or1u*+R);VjXJDCJn`pws`gro25Ix4}o25f-S-5r7jZF;I mL8R$st#}*8$&;f}8MjXU8Kupb160AxxLG5HnHf#lUSg+Z cT)@bs9M{Tm_u)c++dKc^ zHjj;AXmu&R<64Gm3araTj-LOg6jii`ON%{qZO?Rhi$Ml+*FJS^_kY6#9CsVqij7z6>{NK6}Q?k*h8SK_4ErOcnF<4 z0(Ek+xUk?6fx#Nq6pRSEa{~f>ETtcA>aNX7Ln_BeqRn#&UTc?Fy(af`4YiA1=$rp}v?n(4~@8zzp7VZ&oxbwSwwjgwNrBXeyty{Y)*>81;rLT#w z>}?_}`lV7X_7JAI&N{AhVsFNQQ=da#dJg;7UA2|u8 zcD$l{cqS*Uofi!#e+UrDHVWlY9f~6G z=@CKp1m}+d!iiHjpSHnCdgz{d#IwE0@boqro*hkwXJ_5wF=)lX!*Q$42fIAr`2goP zSGIhNuuGjg12=M%;P0DnU`~xP1L4fuSbspAnWQuG=gh596Y~69fS7htOi$P_)q+L; z9w4q=6xWlhCK$LM_ih)P?dCan9X0MYbNG@mh{sRiHuIY2}Sis-XWh`cauokH@$ zv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RPefx>+q;O7 zPR#G;^UAjcUhczI$dVKc0=*DfNK5k2I7E_EvM2EzjQ}AX!$)nw?Gd_3MFz(m<`Abb zY;H{yTpLkr5PBMdSh96I&;r*!8VWgRcEV?~?GZL%Mx!y9xg2J`Si(M`#UM5O_Rvp! z?a;~h?!I#6?weO=us-&UR6UT=^wS=xW%c+V=)&3Hs-K-JoxQHT5D4xY3ZMbtd7fY@ zRwq9!%}yh z*^JBt(Iv4ZF5`8USQp2h*rHV|J%~juCR=)@11wqZYRT5nW2~qhv?1Cf?f7p9^ed7X zJFI|_`I4xxpmo{7--6844z}DQs#k+%IJ-I?2<_m|4uiS4z?S9=FMtm zvxO#TwMVh7aQ4eR4sH{?)=sxIO=f3nik-KHXKlfrwP_nAjds>%XcYVx$C_-Jw7vpG zJ_Bxx`2|u&H7oliq2e01MFgw3+KyeQxG#f}J^`*xdlO5jvh{mkgSLCzR4NPVhW|ZF zzkTaTL;bi1zl#1%bmpXYb)j!^Wg=Zksoe$lN$m!&0cAWZnB(+Y&oE5)w@_a{{5xNC F{{ws&aV`J= literal 0 HcmV?d00001 diff --git a/ReportSQL/031初中专任教师专业技术职务、年龄结构情况.txt b/ReportSQL/031初中专任教师专业技术职务、年龄结构情况.txt index 3cbfeca2..4f621f66 100644 --- a/ReportSQL/031初中专任教师专业技术职务、年龄结构情况.txt +++ b/ReportSQL/031初中专任教师专业技术职务、年龄结构情况.txt @@ -12,7 +12,7 @@ SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoo from schoolBusinessRelation sbr inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno inner join J422 as j on j.instanceid =it.instanceid and j.did in (13,14,15,16,17,18) -where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('311','312','321') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('311','312','321','341','345') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation ,sbr.isCount order by sbr.businessTypeNo; diff --git a/ReportSQL/037小学学校教职工数 .txt b/ReportSQL/037小学学校教职工数 .txt new file mode 100644 index 00000000..184220fb --- /dev/null +++ b/ReportSQL/037小学学校教职工数 .txt @@ -0,0 +1,32 @@ +--全体 +SELECT sbr.organizationNo ,2 as schoolTypeGroupNo,'二、义务教育' as schoolTypeGroup,1 as schoolTypeGroupNo2,'(一)小学' as schoolTypeGroup2 ,sbr.businessTypeNo,'小学' as businessType +,case when sbr.businessTypeNo='218' then 0 else 1 end as isCount +,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation +, sum( e+f+g+h+i) as jzgNo, sum(e) as teacherNo,sum(f) as teacherNo2,sum(g) as teacherNo3,sum(h) as teacherNo4,sum(i) as teacherNo5,sum(j) as teacherNo6,sum(k) as teacherNo7 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J412 as j on j.instanceid =it.instanceid and j.did =1 +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('211','218') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +group by sbr.organizationNo,sbr.businessTypeNo,sbr.businessType ,sbr.isCount,sbr.ownertypeno ,sbr.ownerTypeGroup ,sbr.citycountrytypeno ,sbr.cityCountryGroup,sbr.structureType,sbr.populationGroup,sbr .isnation +order by sbr.businessTypeNo; +--女教师 +SELECT sum( e+f+g+h+i) as jzgNo, sum(e) as teacherNo,sum(f) as teacherNo2,sum(g) as teacherNo3,sum(h) as teacherNo4,sum(i) as teacherNo5,sum(j) as teacherNo6,sum(k) as teacherNo7 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J412 as j on j.instanceid =it.instanceid and j.did =2 +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('211','218') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +; +--少数民族 +SELECT sum( e+f+g+h+i) as jzgNo, sum(e) as teacherNo,sum(f) as teacherNo2,sum(g) as teacherNo3,sum(h) as teacherNo4,sum(i) as teacherNo5,sum(j) as teacherNo6,sum(k) as teacherNo7 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J412 as j on j.instanceid =it.instanceid and j.did =3 +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('211','218') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +; +--在编 +SELECT sum( e+f+g+h+i) as jzgNo, sum(e) as teacherNo,sum(f) as teacherNo2,sum(g) as teacherNo3,sum(h) as teacherNo4,sum(i) as teacherNo5,sum(j) as teacherNo6,sum(k) as teacherNo7 +from schoolBusinessRelation sbr +inner join instanceTable it on sbr.organizationNo =it.organizationNo and sbr.businesstypeno =it.businesstypeno +inner join J412 as j on j.instanceid =it.instanceid and j.did =4 +where sbr.gatherRegionB ='长春市' and sbr.businessTypeNo in('211','218') and sbr.isLastYearCancel =0 and sbr.recordyear =2019 and it.recordyear =2019 and j.recordyear =2019 +;