working code of bill fetch
This commit is contained in:
@@ -247,48 +247,6 @@ public class Helper {
|
||||
public void saveOrUpdateBillerData(BillDataResponse responseWrapper,
|
||||
BillFetchByBillIdRequest billFetchByBillIdRequest) {
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// 🔥 1. STATIC ADDITIONAL INFO LIST (overwrite before mapping)
|
||||
// ------------------------------------------------------------
|
||||
List<AdditionalInfoBillDTO> staticAdditional = new ArrayList<>();
|
||||
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("123", "Student Name", "AGAMJOT TEST "));
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("333", "Father Name", "VIRENDER SINGH"));
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("908", "Class", "STD I"));
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("097", "Section", "A"));
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("321", "TUITION FEE", "8670"));
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("121", "E-CARE FEE", "900"));
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("111", "COMPUTER FEE", "1350"));
|
||||
staticAdditional.add(new AdditionalInfoBillDTO("121", "EXAM FEE", "500"));
|
||||
|
||||
// Static set (overwrite)
|
||||
responseWrapper.setAdditionalInfo(staticAdditional);
|
||||
|
||||
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// 🔥 2. STATIC CUSTOMER PARAMS LIST (overwrite before mapping)
|
||||
// ------------------------------------------------------------
|
||||
List<CustomerParamDAO> staticCustomerParams = new ArrayList<>();
|
||||
|
||||
staticCustomerParams.add(new CustomerParamDAO(
|
||||
"Admission No/Application No/GR No", "LF3130", "test"
|
||||
));
|
||||
|
||||
staticCustomerParams.add(new CustomerParamDAO(
|
||||
"Date Of Birth (DD-MM-YYYY)", "10/08/2000", "test"
|
||||
));
|
||||
|
||||
staticCustomerParams.add(new CustomerParamDAO(
|
||||
"Mobile No", "9241842248", "test"
|
||||
));
|
||||
|
||||
// Static set (overwrite)
|
||||
responseWrapper.setCustomerParams(staticCustomerParams);
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// 🔥 REST OF YOUR ORIGINAL LOGIC — NO CHANGE
|
||||
// ------------------------------------------------------------
|
||||
|
||||
BillMaster billMaster = new BillMaster();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user