Bladeren bron

fix 新增判断身份证号码,提取性别和生日

Administrator 3 jaren geleden
bovenliggende
commit
3f5e349651
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      boman-web-core/src/main/resources/mapper/VaccineInfoMapper.xml

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

@@ -254,7 +254,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="findHjInfo" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
     <select id="findHjInfo" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
         select xm as userName,xb as gender,csrq as birthday from hj
         select xm as userName,xb as gender,csrq as birthday from hj
         <where>
         <where>
-         <if test="idCard != null and idCard != '' ">hzsfhm = #{idCard}</if>
+         <if test="idCard != null and idCard != '' ">zjhm = #{idCard}</if>
         </where>
         </where>
     </select>
     </select>
 </mapper>
 </mapper>