From 62654cb7d3e23074278c7c061bef8f6cbee90d73 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 10 十一月 2023 09:48:21 +0800 Subject: [PATCH] 修改历史数据导入时限制单次导入通过配置做限制,开启多线程分批并行执行insert,注解开启事务回滚失效,对象方式开启事务实现手动提交事务,异常回滚事务 --- Source/UBCS/ubcs-ops-api/ubcs-flow-api/src/main/java/com/vci/ubcs/flow/core/feign/IFlowClientFallback.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-ops-api/ubcs-flow-api/src/main/java/com/vci/ubcs/flow/core/feign/IFlowClientFallback.java b/Source/UBCS/ubcs-ops-api/ubcs-flow-api/src/main/java/com/vci/ubcs/flow/core/feign/IFlowClientFallback.java index 5148a22..29790de 100644 --- a/Source/UBCS/ubcs-ops-api/ubcs-flow-api/src/main/java/com/vci/ubcs/flow/core/feign/IFlowClientFallback.java +++ b/Source/UBCS/ubcs-ops-api/ubcs-flow-api/src/main/java/com/vci/ubcs/flow/core/feign/IFlowClientFallback.java @@ -16,10 +16,13 @@ */ package com.vci.ubcs.flow.core.feign; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.vci.ubcs.flow.core.entity.BladeFlow; +import com.vci.ubcs.flow.core.entity.ProcessTemplate; import org.springblade.core.tool.api.R; import org.springframework.stereotype.Component; +import java.util.List; import java.util.Map; /** @@ -55,4 +58,14 @@ return R.fail("杩滅▼璋冪敤澶辫触"); } + @Override + public R<List<ProcessTemplate>> selectByWrapper( Map<String,Object> wrapperMap) { + return R.fail("杩滅▼璋冪敤澶辫触"); + } + + @Override + public R processBatchSave(List<ProcessTemplate> listProcessTemplate) { + return R.fail("杩滅▼璋冪敤澶辫触"); + } + } -- Gitblit v1.9.3