|
|
@@ -13,6 +13,7 @@ import java.io.Serial;
|
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
@Data
|
|
|
public class BusinessInsuranceDTO implements Serializable {
|
|
|
@@ -65,7 +66,7 @@ public class BusinessInsuranceDTO implements Serializable {
|
|
|
dto.setAmount(new BigDecimal(dto.getAmount()).multiply(seat).toString());
|
|
|
dto.setQuantity(String.valueOf(Integer.parseInt(seatCount) - 1));
|
|
|
}
|
|
|
- }).toList();
|
|
|
+ }).collect(Collectors.toList());
|
|
|
}
|
|
|
|
|
|
|