|
|
|
@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="code != null and code != ''">
|
|
|
|
<if test="code != null and code != ''">
|
|
|
|
and code = #{code}
|
|
|
|
and code = #{code}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="tradeDate != null and tradeDate != ''">
|
|
|
|
<if test="tradeDate != null">
|
|
|
|
and trade_date = #{tradeDate}
|
|
|
|
and trade_date = #{tradeDate}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="changeRate != null">
|
|
|
|
<if test="changeRate != null">
|
|
|
|
@ -195,4 +195,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<include refid="selectNewStocksVo" />
|
|
|
|
<include refid="selectNewStocksVo" />
|
|
|
|
where code = #{code} and trade_date = #{tradeDate}
|
|
|
|
where code = #{code} and trade_date = #{tradeDate}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectTradeDates" resultType="String">
|
|
|
|
|
|
|
|
select distinct trade_date from new_stocks order by trade_date desc
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|