|
@@ -34,7 +34,7 @@
|
|
WHERE info.isvalid = 1
|
|
WHERE info.isvalid = 1
|
|
AND nav.isvalid = 1
|
|
AND nav.isvalid = 1
|
|
<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},'%') or info.register_number like concat('%',#{fundName},'%'))
|
|
|
|
|
|
+ and (info.fund_name like concat(#{fundName},'%') or info.fund_short_name like concat(#{fundName},'%') or info.register_number like concat(#{fundName},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="priceStartDate != null and priceStartDate !=''">
|
|
<if test="priceStartDate != null and priceStartDate !=''">
|
|
and (nav.price_date >= #{priceStartDate} or asset.price_date >= #{priceStartDate})
|
|
and (nav.price_date >= #{priceStartDate} or asset.price_date >= #{priceStartDate})
|
|
@@ -72,7 +72,7 @@
|
|
WHERE info.isvalid = 1
|
|
WHERE info.isvalid = 1
|
|
AND nav.isvalid = 1
|
|
AND nav.isvalid = 1
|
|
<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},'%') or info.register_number like concat('%',#{fundName},'%'))
|
|
|
|
|
|
+ and (info.fund_name like concat(#{fundName},'%') or info.fund_short_name like concat(#{fundName},'%') or info.register_number like concat(#{fundName},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="priceStartDate != null and priceStartDate !=''">
|
|
<if test="priceStartDate != null and priceStartDate !=''">
|
|
and (nav.price_date >= #{priceStartDate} or asset.price_date >= #{priceStartDate})
|
|
and (nav.price_date >= #{priceStartDate} or asset.price_date >= #{priceStartDate})
|