添加根据身份证,查询个人信息,用于注册用
This commit is contained in:
@@ -322,4 +322,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</if>
|
||||
</insert>
|
||||
|
||||
<select id="getAppUserBase" resultMap="AppUserResult">
|
||||
select aac003 as name,c1.code as sex,c2.code as nation,c3.code as education,aab299 as region_code,am.map_key as area from inspur_public.dwd_ac01 ac
|
||||
LEFT join sys_dict_compare365 c1 on c1.type='sex' and c1.reback_code=ac.aac004
|
||||
LEFT join sys_dict_compare365 c2 on c2.type='nation' and c2.reback_code=ac.aac005
|
||||
LEFT join sys_dict_compare365 c3 on c3.type='education' AND c3.reback_code=ac.aac011
|
||||
LEFT join area_code_mapping am on left(ac.aab299, 6) = am.code
|
||||
where aac147=#{idCard} limit 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user