1
0
Переглянути джерело

fix: 增加调整是否入库的字段更新

chenjianhua 7 місяців тому
батько
коміт
d04225d435

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

@@ -36,7 +36,8 @@
             <set>
                 fund_id = #{itemDo.fundId},
                 exception_status = #{itemDo.exceptionStatus},
-                updatetime=#{itemDo.updateTime}
+                updatetime=#{itemDo.updateTime},
+                is_stored=#{itemDo.isStored}
             </set>
             where isvalid = 1
             and id = #{itemDo.id}

+ 2 - 1
service-base/src/main/resources/mapper/EmailFundNavMapper.xml

@@ -37,7 +37,8 @@
             <set>
                 fund_id = #{itemDo.fundId},
                 exception_status = #{itemDo.exceptionStatus},
-                updatetime=#{itemDo.updateTime}
+                updatetime=#{itemDo.updateTime},
+                is_stored=#{itemDo.isStored}
             </set>
             where isvalid = 1
             and id = #{itemDo.id}

+ 1 - 0
service-manage/src/main/java/com/simuwang/manage/service/impl/EmailFundAssetServiceImpl.java

@@ -50,6 +50,7 @@ public class EmailFundAssetServiceImpl implements EmailFundAssetService {
                 fundNavDO.setFundId(targetFundId);
                 fundNavDO.setExceptionStatus(1);
                 fundNavDO.setIsvalid(1);
+                fundNavDO.setIsStored(1);
                 fundNavDO.setUpdateTime(new Date());
                 fundNavDO.setCreateTime(new Date());
             }

+ 1 - 0
service-manage/src/main/java/com/simuwang/manage/service/impl/EmailFundNavServiceImpl.java

@@ -48,6 +48,7 @@ public class EmailFundNavServiceImpl implements EmailFundNavService {
             for(EmailFundNavDO fundNavDO : fundNavDOList){
                 fundNavDO.setFundId(targetFundId);
                 fundNavDO.setExceptionStatus(1);
+                fundNavDO.setIsStored(1);
                 fundNavDO.setUpdateTime(new Date());
             }
             emailFundNavMapper.batchUpdate(fundNavDOList);