소스 검색

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

Administrator 3 년 전
부모
커밋
7df492ee6f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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="findHjInfo" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
         select id, user_name ,gender, birthday,age from vaccine_info
         select id, user_name ,gender, birthday,age from vaccine_info
         <where>
         <where>
+            is_del = 'N'
          <if test="idCard != null and idCard != '' ">id_card = #{idCard}</if>
          <if test="idCard != null and idCard != '' ">id_card = #{idCard}</if>
         </where>
         </where>
         limit 1
         limit 1