|
@@ -58,6 +58,12 @@
|
|
<if test="fundAliasName != null and fundAliasName !=''">
|
|
<if test="fundAliasName != null and fundAliasName !=''">
|
|
and (target_fund_name like concat('%',#{fundAliasName},'%') or target_register_number like concat('%',#{fundAliasName},'%') )
|
|
and (target_fund_name like concat('%',#{fundAliasName},'%') or target_register_number like concat('%',#{fundAliasName},'%') )
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isMapping != null and isMapping == 0">
|
|
|
|
+ and target_fund_id is null
|
|
|
|
+ </if>
|
|
|
|
+ <if test="isMapping != null and isMapping == 1">
|
|
|
|
+ and target_fund_id is not null
|
|
|
|
+ </if>
|
|
order by updatetime desc
|
|
order by updatetime desc
|
|
limit #{offset},#{pageSize}
|
|
limit #{offset},#{pageSize}
|
|
</select>
|
|
</select>
|
|
@@ -70,6 +76,12 @@
|
|
<if test="fundAliasName != null and fundAliasName !=''">
|
|
<if test="fundAliasName != null and fundAliasName !=''">
|
|
and (target_fund_name like concat('%',#{fundAliasName},'%') or target_register_number like concat('%',#{fundAliasName},'%') )
|
|
and (target_fund_name like concat('%',#{fundAliasName},'%') or target_register_number like concat('%',#{fundAliasName},'%') )
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isMapping != null and isMapping == 0">
|
|
|
|
+ and target_fund_id is null
|
|
|
|
+ </if>
|
|
|
|
+ <if test="isMapping != null and isMapping == 1">
|
|
|
|
+ and target_fund_id is not null
|
|
|
|
+ </if>
|
|
</select>
|
|
</select>
|
|
<select id="searchFundAliasById" resultType="com.simuwang.base.pojo.dos.FundAliasDO"
|
|
<select id="searchFundAliasById" resultType="com.simuwang.base.pojo.dos.FundAliasDO"
|
|
parameterType="java.lang.Integer">
|
|
parameterType="java.lang.Integer">
|