Browse Source

fix:公司频率报送调整

chenjianhua 1 month ago
parent
commit
3a3152eb38
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service-base/src/main/resources/mapper/FundNavAssetMapper.xml

+ 2 - 2
service-base/src/main/resources/mapper/FundNavAssetMapper.xml

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