// 需要补充的数据项
List<InsureSupplyDTO> waitingInsureSupplys = queryInsureSupplys(offerId);
// 配送地址放在最后
InsureSupplyDTO temp = new InsureSupplyDTO();
for (InsureSupplyDTO insureSupplyDTO : waitingInsureSupplys) {
if (insureSupplyDTO.getItemCode().equals(DictionaryDTO.VALIDATE_RULE_DELIVERY_MODE)) {
temp = insureSupplyDTO;
waitingInsureSupplys.remove(insureSupplyDTO);
}
}
waitingInsureSupplys.add(temp);
[java] put an element of ArrayList at the end
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325644480&siteId=291194637
Recommended
Ranking