This commit is contained in:
MaxKey
2023-08-17 10:19:46 +08:00
parent 5e7520d08e
commit a49538d575
96 changed files with 107 additions and 107 deletions

View File

@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.maxkey.persistence.mapper.RegistrationMapper">
<select id="queryUserInfoByEmail" parameterType="string" resultType="UserInfo">
select id,
email
from userinfo
where email = #{value}
union
select id,
workemail eamil
from mxk_registration
where workemail = #{value}
</select>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.maxkey.persistence.mapper.RegistrationMapper">
<select id="queryUserInfoByEmail" parameterType="string" resultType="UserInfo">
select id,
email
from userinfo
where email = #{value}
union
select id,
workemail eamil
from mxk_registration
where workemail = #{value}
</select>
</mapper>