Przeglądaj źródła

fix:别名管理查询保存优化,更新渠道ID

chenjianhua 1 miesiąc temu
rodzic
commit
3342095f33

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

@@ -195,7 +195,7 @@
     <select id="selectNotMappingAsset" resultMap="BaseResultMap"
             parameterType="java.lang.String">
         select distinct id,fund_id,file_id, fund_name,register_number,price_date,asset_net,asset_share,is_stored,exception_status,
-                        updatetime
+                        updatetime,channel_id
         from email_fund_asset
         where isvalid =1 and exception_status=3
         <if test="fundName != null and fundName !=''">
@@ -245,7 +245,7 @@
     </select>
     <select id="selectAssetByFundId" resultMap="BaseResultMap">
         select id,file_id, fund_id, fund_name,register_number,price_date,asset_net,asset_share,is_stored,exception_status,
-               isvalid, creatorid, createtime, updaterid, updatetime
+               isvalid, creatorid, createtime, updaterid, updatetime,channel_id
         from email_fund_asset where isvalid=1 and fund_id=#{fundId}
     </select>
     <select id="countEmailAssetTotal" resultType="java.lang.Long">

+ 10 - 5
service-base/src/main/resources/mapper/daq/EmailFundNavMapper.xml

@@ -249,7 +249,8 @@
                nav.creatorid,
                nav.updaterid,
                nav.updatetime,
-               nav.createtime
+               nav.createtime,
+               nav.channel_id
         from email_fund_nav nav
         where nav.isvalid =1 and nav.exception_status in (1,3,6,7)
         <if test="fundName != null and fundName != ''">
@@ -317,7 +318,8 @@
                nav.creatorid,
                nav.updaterid,
                nav.updatetime,
-               nav.createtime
+               nav.createtime,
+               nav.channel_id
         from email_fund_nav nav
         where nav.isvalid =1 and nav.exception_status in (1,6,7)
         and nav.fund_id = #{fundId}
@@ -342,7 +344,8 @@
                nav.updaterid,
                nav.updatetime,
                nav.createtime,
-               nav.remark
+               nav.remark,
+               nav.channel_id
         from email_fund_nav nav
         where nav.isvalid =1
           and nav.id=#{id}
@@ -366,7 +369,8 @@
                nav.updaterid,
                nav.updatetime,
                nav.createtime,
-               nav.remark
+               nav.remark,
+               nav.channel_id
         from email_fund_nav nav
         where nav.isvalid =1 and nav.exception_status in (6,7)
         order by nav.price_date
@@ -391,7 +395,8 @@
                nav.updaterid,
                nav.updatetime,
                nav.createtime,
-               nav.remark
+               nav.remark,
+               nav.channel_id
         from email_fund_nav nav
         where nav.isvalid =1 and nav.exception_status in (6,7)
         and nav.id <![CDATA[ >= ]]> #{startIdx} and nav.id <![CDATA[ <= ]]> #{endIdx}