RzZhzq2ResultMapper.xml 1.6 KB

12345678910111213141516171819202122232425262728293031
  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.simuwang.base.mapper.RzZhzq2ResultMapper">
  4. <select id="getResult" resultType="com.simuwang.base.pojo.dto.ZhzqCompetitionResultDTO">
  5. select strategy as strategy,
  6. fund_id as fundId,
  7. product_register_number as registerNumber,
  8. fund_name as fundName,
  9. fund_short_name as fundShortName,
  10. company_id as companyId,
  11. register_number as companyRegisterNumber,
  12. company_name as companyName,
  13. company_short_name as companyShortName,
  14. pre_price_date as startPriceDate,
  15. pre_cumulative_nav as startCumulativeNavWithdrawal,
  16. price_date as endPriceDate,
  17. cumulative_nav_withdrawal as endCumulativeNavWithdrawal,
  18. score as score,
  19. product_scale as productScale,
  20. ret,
  21. maxdown,
  22. calmarratio as calmarRatio,
  23. sharperatio as sharpeRatio,
  24. info_ratio as infoRation,
  25. excess_ret as excessRet,
  26. excess_maxdown as excessMaxdown,
  27. excess_calmarratio as excessCalmarratio
  28. from rz_zhzq2_res
  29. WHERE isvalid = 1
  30. </select>
  31. </mapper>