arham khan
This commit is contained in:
@@ -118,8 +118,8 @@ public class ComplainServiceImpl implements ComplainService {
|
||||
|
||||
Optional<TransactionMaster> dataById = transactionMasterRepository.findById(complainRequestDTO.getTxnId());
|
||||
if (dataById == null || dataById.isEmpty()) {
|
||||
LOGGER.warn("Master Data By Id is null");
|
||||
throw new CustomException("Master Data is required", "FAILED", BBPSConstant.BADREQUEST, null);
|
||||
LOGGER.warn("Txn Id is null");
|
||||
throw new CustomException("Txn Id is required", "FAILED", BBPSConstant.BADREQUEST, null);
|
||||
}
|
||||
|
||||
TransactionMaster transData = dataById.get();
|
||||
|
||||
Reference in New Issue
Block a user