UserDao.xml 385 B

12345678
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.inkasso.factoring.system.user.dao.UserDAO">
  4. <select id="getBackendUserIdByReferralCode" resultType="java.lang.Long">
  5. SELECT t1.id FROM sys_user t1 WHERE t1.reference_number = #{referralCode}
  6. </select>
  7. </mapper>