|
|
@ -173,6 +173,27 @@ |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test="isInoculate != null and isInoculate != '' and isInoculate == 0"> |
|
|
|
and ui.VACCINATION_STATE = 0 |
|
|
|
</if> |
|
|
|
<if test="isInoculate != null and isInoculate != '' and isInoculate == 1"> |
|
|
|
and ui.VACCINATION_NUM = 1 |
|
|
|
</if> |
|
|
|
<if test="isInoculate != null and isInoculate != '' and isInoculate == 2"> |
|
|
|
and ui.VACCINATION_NUM = 2 |
|
|
|
</if> |
|
|
|
<if test="isInoculate != null and isInoculate != '' and isInoculate == 3"> |
|
|
|
and ui.VACCINATION_NUM = 3 |
|
|
|
</if> |
|
|
|
<if test="isInoculate != null and isInoculate != '' and isInoculate == 10"> |
|
|
|
and ui.VACCINATION_STATE = 1 |
|
|
|
</if> |
|
|
|
<if test="isInoculate != null and isInoculate != '' and isInoculate == 11"> |
|
|
|
and ui.VACCINATION_STATE = 2 |
|
|
|
</if> |
|
|
|
<if test="isInoculate != null and isInoculate != '' and isInoculate == 12"> |
|
|
|
and ui.VACCINATION_STATE IN ('1', '2') |
|
|
|
</if> |
|
|
|
ORDER BY ui.CREATED_TIME DESC |
|
|
|
</select> |
|
|
|
<select id="getDetailById" resultType="com.elink.esua.epdc.vaccine.epidemic.dto.EpidemicRecordDetailDTO"> |
|
|
|