|
|
|
@ -24,6 +24,7 @@ import java.io.IOException;
|
|
|
|
|
import java.time.LocalDate;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.time.format.DateTimeFormatter;
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -66,11 +67,10 @@ public class BankSlipServiceImpl implements BankSlipService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void deleteBankSlip(Long id) {
|
|
|
|
|
// 校验存在
|
|
|
|
|
validateBankSlipExists(id);
|
|
|
|
|
public void deleteBankSlip(Long[] id) {
|
|
|
|
|
|
|
|
|
|
// 删除
|
|
|
|
|
bankSlipMapper.deleteById(id);
|
|
|
|
|
bankSlipMapper.deleteBatchIds(Arrays.asList(id));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void validateBankSlipExists(Long id) {
|
|
|
|
|