Browse Source

PC端疫苗接种登记列表接种状态查询条件不生效bug修改

zy_PrivacyExport
liuchuang 4 years ago
parent
commit
3585849af9
  1. 2
      epdc-cloud-client-yushan
  2. 21
      epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

2
epdc-cloud-client-yushan

@ -1 +1 @@
Subproject commit 4a7f8af8b15d88fcc0cfb89a70e40acf1d0f2a4a
Subproject commit 310ff06907d82bb878eda31bf6054542adc8cb5a

21
epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

@ -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">

Loading…
Cancel
Save