|
@@ -37,7 +37,7 @@
|
|
|
f.register_number as "registerNumber"
|
|
|
from PPW_EMAIL.pvn_fund_info f where f.isvalid =1
|
|
|
<if test="keyword != null and keyword !=''">
|
|
|
- and (f.fund_name like concat('%',#{keyword},'%') or f.fund_short_name like concat('%',#{keyword},'%') or f.register_number like concat('%',#{keyword},'%') or f.fund_id like concat('%',#{keyword},'%'))
|
|
|
+ and (f.fund_name like concat(#{keyword},'%') or f.fund_short_name like concat(#{keyword},'%') or f.register_number like concat(#{keyword},'%'))
|
|
|
</if>
|
|
|
limit #{offset},#{pageSize}
|
|
|
</select>
|
|
@@ -162,7 +162,7 @@
|
|
|
select count(f.fund_id)
|
|
|
from PPW_EMAIL.pvn_fund_info f where f.isvalid =1
|
|
|
<if test="keyword != null and keyword !=''">
|
|
|
- and (f.fund_name like concat('%',#{keyword},'%') or f.fund_short_name like concat('%',#{keyword},'%') or f.register_number like concat('%',#{keyword},'%') or f.fund_id like concat('%',#{keyword},'%'))
|
|
|
+ and (f.fund_name like concat(#{keyword},'%') or f.fund_short_name like concat(#{keyword},'%') or f.register_number like concat(#{keyword},'%') or f.fund_id like concat(#{keyword},'%'))
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="countFundInfo" resultType="java.lang.Long"
|