فهرست منبع

feat: 净值振幅检测任务开发

chenjianhua 4 ماه پیش
والد
کامیت
df60859dc4
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      service-base/src/main/resources/mapper/daq/EmailFundAssetMapper.xml

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

@@ -71,7 +71,7 @@
         on asset.fund_id=info.fund_id and info.isvalid=1
         where asset.isvalid=1 and file.isvalid=1 and parse.isvalid=1
         <if test="fundName != null and fundName !=''">
-            and asset.fund_name like concat('%',#{fundName},'%')
+            and (asset.fund_name like concat('%',#{fundName},'%') or asset.register_number like concat('%',#{fundName},'%'))
         </if>
         <if test="priceStartDate != null and priceStartDate !=''">
             and asset.price_date >= #{priceStartDate}
@@ -136,7 +136,7 @@
         on asset.fund_id=info.fund_id and info.isvalid=1
         where asset.isvalid=1 and file.isvalid=1 and parse.isvalid=1
         <if test="fundName != null and fundName !=''">
-            and asset.fund_name like concat('%',#{fundName},'%')
+            and (asset.fund_name like concat('%',#{fundName},'%') or asset.register_number like concat('%',#{fundName},'%'))
         </if>
         <if test="priceStartDate != null and priceStartDate !=''">
             and asset.price_date >= #{priceStartDate}