|
@@ -45,7 +45,17 @@
|
|
|
</update>
|
|
|
<select id="searchAssetDetail" resultMap="BaseResultMap"
|
|
|
parameterType="com.simuwang.base.pojo.dto.query.ParseDetailPageQuery">
|
|
|
- select distinct asset.id,asset.fund_id, asset.fund_name,asset.register_number,asset.price_date,asset.asset_net,asset.asset_share,asset.is_stored,asset.exception_status,asset.updatetime,parse.email_title
|
|
|
+ select distinct asset.id,
|
|
|
+ asset.fund_id,
|
|
|
+ asset.fund_name,
|
|
|
+ asset.register_number,
|
|
|
+ asset.price_date,
|
|
|
+ asset.asset_net,
|
|
|
+ asset.asset_share,
|
|
|
+ asset.is_stored,
|
|
|
+ asset.exception_status,
|
|
|
+ asset.updatetime,
|
|
|
+ parse.email_title
|
|
|
from PPW_EMAIL.email_fund_asset asset
|
|
|
join PPW_EMAIL.email_file_info file
|
|
|
on asset.file_id = file.id
|
|
@@ -61,9 +71,6 @@
|
|
|
<if test="priceEndDate != null and priceEndDate !=''">
|
|
|
and asset.price_date <![CDATA[ <= ]]> #{priceEndDate}
|
|
|
</if>
|
|
|
- <if test="exceptionStatus != null">
|
|
|
- and asset.exception_status = #{exceptionStatus}
|
|
|
- </if>
|
|
|
<if test="updateStartDate != null and updateStartDate !=''">
|
|
|
and asset.updatetime <![CDATA[ >= ]]> #{updateStartDate}
|
|
|
</if>
|
|
@@ -76,6 +83,12 @@
|
|
|
<if test="emailTitle != null and emailTitle != ''">
|
|
|
and parse.email_title like concat('%',#{emailTitle},'%')
|
|
|
</if>
|
|
|
+ <if test="exceptionStatusList != null">
|
|
|
+ and asset.exception_status in
|
|
|
+ <foreach collection="exceptionStatusList" index="index" item="exceptionStatus" separator="," open="(" close=")">
|
|
|
+ #{exceptionStatus}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
order by asset.updatetime desc
|
|
|
limit #{offset},#{pageSize}
|
|
|
</select>
|
|
@@ -98,9 +111,6 @@
|
|
|
<if test="priceEndDate != null and priceEndDate !=''">
|
|
|
and asset.price_date <![CDATA[ <= ]]> #{priceEndDate}
|
|
|
</if>
|
|
|
- <if test="exceptionStatus != null">
|
|
|
- and asset.exception_status = #{exceptionStatus}
|
|
|
- </if>
|
|
|
<if test="updateStartDate != null and updateStartDate !=''">
|
|
|
and asset.updatetime <![CDATA[ >= ]]> #{updateStartDate}
|
|
|
</if>
|
|
@@ -113,6 +123,12 @@
|
|
|
<if test="emailTitle != null and emailTitle != ''">
|
|
|
and parse.email_title like concat('%',#{emailTitle},'%')
|
|
|
</if>
|
|
|
+ <if test="exceptionStatusList != null">
|
|
|
+ and asset.exception_status in
|
|
|
+ <foreach collection="exceptionStatusList" index="index" item="exceptionStatus" separator="," open="(" close=")">
|
|
|
+ #{exceptionStatus}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
)a
|
|
|
</select>
|
|
|
<select id="countNoStoreAsset" resultType="java.lang.Integer" parameterType="java.lang.String">
|