Browse Source

疫苗系统中,“年龄”字段的筛选,不能按年算,需要按身份证精确到天。

疫苗系统中,“接种记录”页面,添加“街镇”“社区”“网格”搜索字段。
feature/yujt_vim
zhangyuan 4 years ago
parent
commit
9a42295cf4
  1. 2
      epdc-cloud-client-yushan
  2. 2
      epdc-cloud-commons-yushan
  3. 6
      epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml
  4. 9
      epdc-cloud-vim-yushan/src/main/resources/mapper/vim/VaccinationInfoDao.xml

2
epdc-cloud-client-yushan

@ -1 +1 @@
Subproject commit 25b88835bfb861f17fcec918f51e35d1922dbe2d
Subproject commit 8988e6551401ce573c21834f842f0f68ddbd98b2

2
epdc-cloud-commons-yushan

@ -1 +1 @@
Subproject commit ea8dce697c0d53096b090c2f13c5a8c6ee0a24e0
Subproject commit 60b469fb3d9fccb7220f65c3ddbaa412033ecc01

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

@ -96,10 +96,12 @@
and uir.GRID_NAME like '%${gridName}%'
</if>
<if test="ageStart != null and ageStart != ''">
and ui.AGE >= #{ageStart}
AND STR_TO_DATE(ui.BIRTHDAY, '%Y-%m-%d') >= DATE_FORMAT( #{ageStart}, '%Y-%m-%d' )
AND ui.BIRTHDAY LIKE '%-%'
</if>
<if test="ageEnd != null and ageEnd != ''">
and ui.AGE &lt;= #{ageEnd}
and STR_TO_DATE(ui.BIRTHDAY, '%Y-%m-%d') &lt;= DATE_FORMAT( #{ageEnd}, '%Y-%m-%d' )
AND ui.BIRTHDAY LIKE '%-%'
</if>
<if test="isInoculate != null and isInoculate != '' and isInoculate == 0">
and ui.VACCINATION_STATE = 0

9
epdc-cloud-vim-yushan/src/main/resources/mapper/vim/VaccinationInfoDao.xml

@ -50,6 +50,15 @@
<if test="dose != null and dose != '' and dose > 0">
AND v.DOSE = #{dose}
</if>
<if test="street != null and street != ''">
and v.STREET like '%${street}%'
</if>
<if test="community != null and community != ''">
and v.COMMUNITY like '%${community}%'
</if>
<if test="gridName != null and gridName != ''">
and v.GRID like '%${gridName}%'
</if>
</select>
<select id="checkVaccination" resultType="com.elink.esua.epdc.vaccine.vim.entity.VaccinationInfoEntity">

Loading…
Cancel
Save