|
@@ -1,7 +1,7 @@
|
|
|
<?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="com.smppw.analysis.infrastructure.persistence.MarketIndexesDoMapper">
|
|
|
- <resultMap id="BaseResultMap" type="com.smppw.analysis.domain.pojo.MarketIndexesDo">
|
|
|
+ <resultMap id="BaseResultMap" type="com.smppw.analysis.domain.entity.MarketIndexesDo">
|
|
|
<!--@mbg.generated-->
|
|
|
<!--@Table market_indexes-->
|
|
|
<id column="id" property="id" />
|
|
@@ -82,7 +82,7 @@
|
|
|
AND t.price_date = m.price_date
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectIndexNavByPriceDate" resultType="com.smppw.analysis.domain.pojo.MarketIndexesDo">
|
|
|
+ <select id="selectIndexNavByPriceDate" resultType="com.smppw.analysis.domain.entity.MarketIndexesDo">
|
|
|
select index_id as indexId, close as close, price_date as priceDate
|
|
|
from market_indexes
|
|
|
where index_id = #{indexId} and isvalid=1
|