dromara.
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user