소스 검색

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

chenjianhua 4 달 전
부모
커밋
040ae2c649
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}