XiaomanConfigMapper.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.fjhx.customer.mapper.xiaoman.XiaomanConfigMapper">
  4. <select id="getList" resultType="com.fjhx.customer.entity.xiaoman.vo.XiaomanConfigVo">
  5. select
  6. xc.id,
  7. xc.client_id,
  8. xc.client_secret,
  9. xc.username,
  10. xc.password,
  11. xc.access_token,
  12. xc.refresh_token,
  13. xc.expire_time,
  14. xc.last_token_time,
  15. xc.scope,
  16. xc.grant_type,
  17. xc.token_url,
  18. xc.refresh_token_url
  19. from xiaoman_config xc
  20. ${ew.customSqlSegment}
  21. </select>
  22. <select id="getPage" resultType="com.fjhx.customer.entity.xiaoman.vo.XiaomanConfigVo">
  23. select
  24. xc.id,
  25. xc.client_id,
  26. xc.client_secret,
  27. xc.username,
  28. xc.password,
  29. xc.access_token,
  30. xc.refresh_token,
  31. xc.expire_time,
  32. xc.last_token_time,
  33. xc.scope,
  34. xc.grant_type,
  35. xc.token_url,
  36. xc.refresh_token_url
  37. from xiaoman_config xc
  38. ${ew.customSqlSegment}
  39. </select>
  40. </mapper>