Browse Source

fix 修改疫苗新增接口/修改接口,增加逻辑判断

Administrator 3 years ago
parent
commit
7df492ee6f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      boman-web-core/src/main/resources/mapper/VaccineInfoMapper.xml

+ 1 - 0
boman-web-core/src/main/resources/mapper/VaccineInfoMapper.xml

@@ -299,6 +299,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="findHjInfo" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
         select id, user_name ,gender, birthday,age from vaccine_info
         <where>
+            is_del = 'N'
          <if test="idCard != null and idCard != '' ">id_card = #{idCard}</if>
         </where>
         limit 1