Pārlūkot izejas kodu

fix:别名管理查询保存优化,缺失数据查询优化

chenjianhua 1 mēnesi atpakaļ
vecāks
revīzija
a95c3a9901

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

@@ -263,7 +263,7 @@
     </select>
     <select id="selectFundDeletionInfoVOList" resultType="com.simuwang.base.pojo.dos.FundDeletionInfoDO"
             parameterType="java.util.List">
-        select id,fund_id,deletion_type,deletion_date,remark,isvalid,creatorid,updaterid,createtime,updatetime
+        select id,fund_id,deletion_type,deletion_date,remark,isvalid,creatorid,updaterid,createtime,updatetime,channel_id
         from deletion_info where isvalid=1 and remark is null
         <if test="fundId != null and fundId !=''">
             and fund_id = #{fundId}
@@ -275,7 +275,7 @@
     </select>
     <select id="getDeletionInfoDO" resultType="com.simuwang.base.pojo.dos.DeletionInfoDO"
             parameterType="com.simuwang.base.pojo.dos.DeletionInfoDO">
-        select id,fund_id,deletion_type,deletion_date,remark,isvalid,creatorid,updaterid,createtime,updatetime
+        select id,fund_id,deletion_type,deletion_date,remark,isvalid,creatorid,updaterid,createtime,updatetime,channel_id
         from deletion_info where fund_id=#{fundId} and deletion_type=#{deletionType} and channel_id=#{channelId} and deletion_date in
         <foreach item="tradeDate" collection="list" open="(" separator="," close=")">
             #{tradeDate}

+ 3 - 3
service-base/src/main/resources/mapper/daq/DistributionMapper.xml

@@ -145,15 +145,15 @@
     </select>
     <select id="selectDistributionById" resultMap="BaseMap"
             parameterType="java.lang.Integer">
-        select id,fund_id,distribute_date,distribute_type,distribution,isvalid,creatorid,createtime,updatetime,updaterid
+        select id,fund_id,distribute_date,distribute_type,distribution,isvalid,creatorid,createtime,updatetime,updaterid,channel_id
         from distribution where isvalid =1 and id=#{id}
     </select>
     <select id="selectDistributionByDate" resultMap="BaseMap">
-        select id,fund_id,distribute_date,distribute_type,distribution,isvalid,creatorid,createtime,updatetime,updaterid
+        select id,fund_id,distribute_date,distribute_type,distribution,isvalid,creatorid,createtime,updatetime,updaterid,channel_id
         from distribution where isvalid =1 and fund_id=#{fundId} and distribute_date=#{distributeDate} and channel_id=#{channelId}
     </select>
     <select id="getDistributionByFundId" resultMap="BaseMap">
-        select id,fund_id,distribute_date,distribute_type,distribution,isvalid,creatorid,createtime,updatetime,updaterid
+        select id,fund_id,distribute_date,distribute_type,distribution,isvalid,creatorid,createtime,updatetime,updaterid,channel_id
         from distribution where isvalid =1 and fund_id=#{fundId} and distribute_type=#{distributeType} and channel_id=#{channelId}
     </select>
     <select id="getSumDistributeByFundId" resultType="java.math.BigDecimal">