|
|
@ -316,16 +316,16 @@ |
|
|
|
WHERE DEL_FLAG = '0' |
|
|
|
ORDER BY |
|
|
|
<if test="orderType == 0"> |
|
|
|
VACCINATION_COMPLETED_NUM DESC |
|
|
|
VACCINATION_COMPLETED_NUM DESC, |
|
|
|
</if> |
|
|
|
<if test="orderType == 1"> |
|
|
|
ONE_SHOT_NUM DESC |
|
|
|
ONE_SHOT_NUM DESC, |
|
|
|
</if> |
|
|
|
<if test="orderType == 2"> |
|
|
|
TWO_SHOTS_NUM DESC |
|
|
|
TWO_SHOTS_NUM DESC, |
|
|
|
</if> |
|
|
|
<if test="orderType == 3"> |
|
|
|
NOT_VACCINATED_NUM DESC |
|
|
|
NOT_VACCINATED_NUM DESC, |
|
|
|
</if> |
|
|
|
DEPT_NAME |
|
|
|
LIMIT #{pageIndex}, #{pageSize} |
|
|
@ -342,16 +342,25 @@ |
|
|
|
|
|
|
|
<select id="vaccinationAgeVaccinationStatistics" |
|
|
|
resultType="com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenVaccinationAgeVaccinationStatisticsResultDTO"> |
|
|
|
|
|
|
|
SELECT |
|
|
|
|
|
|
|
SUM(AGE_EIGHTEEN_THIRTY) AS ageEighteenThirty, |
|
|
|
SUM(AGE_THIRTY_ONE_FORTY) AS ageThirtyOneForty, |
|
|
|
SUM(AGE_FORTY_ONE_FIFTY) AS ageFortyOneFifty, |
|
|
|
SUM(AGE_FIFTY_ONE_SIXTY) AS ageFiftyOneSixty, |
|
|
|
SUM(AGE_OVER_SIXTY) AS ageOverSixty |
|
|
|
FROM epdc_screen_vaccination_age_statistics |
|
|
|
SUM (AGE_EIGHTEEN_THIRTY) , |
|
|
|
SUM (AGE_THIRTY_ONE_FORTY) , |
|
|
|
SUM (AGE_FORTY_ONE_FIFTY) , |
|
|
|
SUM (AGE_FIFTY_ONE_SIXTY) , |
|
|
|
SUM (AGE_OVER_SIXTY) |
|
|
|
WHERE DEL_FLAG = '0' |
|
|
|
AND STATISTIC_TYPE = #{statisticType} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="vaccinationPersonVaccinationStatistics" |
|
|
|
resultType="com.elink.esua.epdc.dto.analysis.pc.screen.result.EpdcScreenVaccinationPersonVaccinationStatisticsResultDTO"> |
|
|
|
SELECT |
|
|
|
SUM(PERMANENT_RESIDENCE_NUM) AS permanentResidenceNum, |
|
|
|
SUM(FLOATING_POPULATION_NUM) AS floatingPopulationNum, |
|
|
|
SUM(FOREIGN_POPULATION_NUM) AS foreignPopulationNum |
|
|
|
FROM epdc_screen_vaccination_person_statistics |
|
|
|
WHERE DEL_FLAG = '0' |
|
|
|
AND STATISTIC_TYPE = #{statisticType} |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|