Stream限速配置导入模板增加'丢包率'属性,修正APP策略配置导入并下发isValid为0(无效)bug
This commit is contained in:
@@ -2344,7 +2344,8 @@ public abstract class BaseService {
|
||||
try{
|
||||
batchSqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH, false);
|
||||
for(int index = 0; index < appPolicyCfgs.size();index++){
|
||||
AppPolicyCfg _cfg = appPolicyCfgs.get(index);
|
||||
AppPolicyCfg _cfg = new AppPolicyCfg();
|
||||
BeanUtils.copyProperties(appPolicyCfgs.get(index), _cfg);
|
||||
((AppCfgDao) batchSqlSession.getMapper(AppCfgDao.class)).insertAppPolicyCfgForBatch(_cfg);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user