|
@@ -98,7 +98,7 @@
|
|
and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%'))
|
|
and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="fundName != null and fundName !=''">
|
|
<if test="fundName != null and fundName !=''">
|
|
- and (info.fund_name like concat('%',#{fundName},'%') or info.fund_short_name like concat('%',#{fundName},'%'))
|
|
|
|
|
|
+ and (info.fund_name like concat('%',#{fundName},'%') or info.fund_short_name like concat('%',#{fundName},'%') or info.fund_id like concat('%',#{fundName},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="deletionType != null and deletionType != -1">
|
|
<if test="deletionType != null and deletionType != -1">
|
|
and d.deletion_type=#{deletionType}
|
|
and d.deletion_type=#{deletionType}
|
|
@@ -154,7 +154,7 @@
|
|
and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%'))
|
|
and (c.company_name like concat('%',#{companyName},'%') or c.company_short_name like concat('%',#{companyName},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="fundName != null and fundName !=''">
|
|
<if test="fundName != null and fundName !=''">
|
|
- and (info.fund_name like concat('%',#{fundName},'%') or info.fund_short_name like concat('%',#{fundName},'%'))
|
|
|
|
|
|
+ and (info.fund_name like concat('%',#{fundName},'%') or info.fund_short_name like concat('%',#{fundName},'%') or info.fund_id like concat('%',#{fundName},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="deletionType != null and deletionType != -1">
|
|
<if test="deletionType != null and deletionType != -1">
|
|
and d.deletion_type=#{deletionType}
|
|
and d.deletion_type=#{deletionType}
|
|
@@ -186,13 +186,13 @@
|
|
<select id="searchFundDeletionList" resultMap="BaseMap"
|
|
<select id="searchFundDeletionList" resultMap="BaseMap"
|
|
parameterType="com.simuwang.base.pojo.dto.query.FundDeletionPageQuery">
|
|
parameterType="com.simuwang.base.pojo.dto.query.FundDeletionPageQuery">
|
|
select id,fund_id,deletion_type,deletion_date,remark,isvalid,creatorid,updaterid,createtime,updatetime
|
|
select id,fund_id,deletion_type,deletion_date,remark,isvalid,creatorid,updaterid,createtime,updatetime
|
|
- from PPW_EMAIL.deletion_info where isvalid=1 and fund_id=#{fundId} and remark is null
|
|
|
|
|
|
+ from PPW_EMAIL.deletion_info where isvalid=1 and fund_id=#{fundId}
|
|
limit #{offset},#{pageSize}
|
|
limit #{offset},#{pageSize}
|
|
</select>
|
|
</select>
|
|
<select id="countFundDeletionList" resultType="java.lang.Long"
|
|
<select id="countFundDeletionList" resultType="java.lang.Long"
|
|
parameterType="com.simuwang.base.pojo.dto.query.FundDeletionPageQuery">
|
|
parameterType="com.simuwang.base.pojo.dto.query.FundDeletionPageQuery">
|
|
select count(1)
|
|
select count(1)
|
|
- from PPW_EMAIL.deletion_info where isvalid=1 and fund_id=#{fundId} and remark is null
|
|
|
|
|
|
+ from PPW_EMAIL.deletion_info where isvalid=1 and fund_id=#{fundId}
|
|
</select>
|
|
</select>
|
|
<select id="selectFundDeletionInfoVOList" resultType="com.simuwang.base.pojo.dos.FundDeletionInfoDO"
|
|
<select id="selectFundDeletionInfoVOList" resultType="com.simuwang.base.pojo.dos.FundDeletionInfoDO"
|
|
parameterType="java.util.List">
|
|
parameterType="java.util.List">
|