Преглед на файлове

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}