推荐神器:guava
import com.google.common.collect.Lists;
List<String> idList = mapper.getIds(queryMap);
//批量更新,每次200条
List<List<String>> partition = Lists.partition(idList, 200);
推荐神器:guava
import com.google.common.collect.Lists;
List<String> idList = mapper.getIds(queryMap);
//批量更新,每次200条
List<List<String>> partition = Lists.partition(idList, 200);