|
@@ -51,7 +51,8 @@
|
|
update PPW_EMAIL.email_fund_nav nav set isvalid = 0,updatetime=sysdate() where file_id=#{fileId}
|
|
update PPW_EMAIL.email_fund_nav nav set isvalid = 0,updatetime=sysdate() where file_id=#{fileId}
|
|
</delete>
|
|
</delete>
|
|
<select id="searchNavDetail" resultMap="BaseResultMap">
|
|
<select id="searchNavDetail" resultMap="BaseResultMap">
|
|
- SELECT nav.id,nav.file_id,
|
|
|
|
|
|
+ SELECT nav.id,
|
|
|
|
+ nav.file_id,
|
|
nav.fund_id,
|
|
nav.fund_id,
|
|
nav.fund_name,
|
|
nav.fund_name,
|
|
info.fund_id as target_fund_id,
|
|
info.fund_id as target_fund_id,
|
|
@@ -63,7 +64,6 @@
|
|
nav.exception_status,
|
|
nav.exception_status,
|
|
nav.is_stored,
|
|
nav.is_stored,
|
|
nav.updatetime,
|
|
nav.updatetime,
|
|
- parse.email_title,
|
|
|
|
parse.id as email_id
|
|
parse.id as email_id
|
|
FROM
|
|
FROM
|
|
PPW_EMAIL.email_fund_nav nav
|
|
PPW_EMAIL.email_fund_nav nav
|
|
@@ -98,9 +98,6 @@
|
|
<if test="isStore != null">
|
|
<if test="isStore != null">
|
|
and nav.is_stored = #{isStore}
|
|
and nav.is_stored = #{isStore}
|
|
</if>
|
|
</if>
|
|
- <if test="emailTitle != null and emailTitle != ''">
|
|
|
|
- and parse.email_title like concat('%',#{emailTitle},'%')
|
|
|
|
- </if>
|
|
|
|
<if test="emailId != null and emailId !=''">
|
|
<if test="emailId != null and emailId !=''">
|
|
and parse.id =#{emailId}
|
|
and parse.id =#{emailId}
|
|
</if>
|
|
</if>
|
|
@@ -149,9 +146,6 @@
|
|
<if test="isStore != null">
|
|
<if test="isStore != null">
|
|
and nav.is_stored = #{isStore}
|
|
and nav.is_stored = #{isStore}
|
|
</if>
|
|
</if>
|
|
- <if test="emailTitle != null and emailTitle != ''">
|
|
|
|
- and parse.email_title like concat('%',#{emailTitle},'%')
|
|
|
|
- </if>
|
|
|
|
<if test="emailId != null and emailId != ''">
|
|
<if test="emailId != null and emailId != ''">
|
|
and parse.id=#{emailId}
|
|
and parse.id=#{emailId}
|
|
</if>
|
|
</if>
|