com.ly.mybatis.mapperservice.model.ImportBatchResult Maven / Gradle / Ivy
package com.ly.mybatis.mapperservice.model;
import java.util.*;
public class ImportBatchResult {
private final List invalid = Collections.synchronizedList(new ArrayList<>());
private final List update = Collections.synchronizedList(new ArrayList<>());
private final List insert = Collections.synchronizedList(new ArrayList<>());
private final List fail = Collections.synchronizedList(new ArrayList<>());
public ImportBatchResult() {
}
public int getInvalidCount() {
return invalid.size();
}
public int getSuccessCount() {
return update.size() + insert.size();
}
public int getFailCount() {
return fail.size();
}
public List getInvalid() {
return invalid;
}
public List getUpdate() {
return update;
}
public List getInsert() {
return insert;
}
public List getFail() {
return fail;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy