arham khan

This commit is contained in:
Mohd-Arham
2025-11-28 11:11:44 +05:30
parent ce6a27c623
commit 4d48477410
2 changed files with 9 additions and 5 deletions
@@ -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();