Commit 167a448f by Yashvant Kantival

Adding Commenting In Code

parent 8df13ec2
// Yashvant Calculation Of NGPA Based On Request From Front End - 4 Apr 2020
// Exception Handled Using JSONException Feature
package com.iRecruit.modules.auth.service.impl;
import java.util.List;
......
// Yashvant Calculation Of NGPA To NGPL Based On Request From Front End - 4 Apr 2020
// Exception Handled Using JSONException Feature
package com.iRecruit.modules.auth.service.impl;
import java.util.List;
......@@ -79,6 +81,7 @@ public class NGPAtoNGPLCalcServiceImpl implements NGPAtoNGPLCalcService {
}
public void preparengpaToLeaderCareerPathTable(JSONObject requestJSON) throws JSONException {
// Preparing Leader Career Path Table
for(i=0;i<2;i++) {
basicJSONOperation = new JSONObject();
basicJSONOperation = requestJSON.getJSONObject("NGPA_To_Leader_Career_Path").getJSONObject("Year_"+(i+1));
......@@ -90,6 +93,7 @@ public class NGPAtoNGPLCalcServiceImpl implements NGPAtoNGPLCalcService {
}
public void preparemetricsTable(JSONObject requestJSON) throws JSONException {
// Preparing Metrics Table
for(i=0;i<4;i++) {
basicJSONOperation = new JSONObject();
if( i == 0 ) {
......@@ -125,6 +129,7 @@ public class NGPAtoNGPLCalcServiceImpl implements NGPAtoNGPLCalcService {
}
public void prepareappointmentAndConversionTable(JSONObject requestJSON) throws JSONException {
// Preparing Appointment And Conversion Table
for(i=0;i<4;i++) {
appointmentAndConversionTable[i][0] = Math.round( ( metricsTable[i][3] / metricsTable[i][2] ) * 100 );
appointmentAndConversionTable[i][1] = Math.round( ( metricsTable[i][4] / metricsTable[i][3] ) * 100 );
......@@ -132,7 +137,7 @@ public class NGPAtoNGPLCalcServiceImpl implements NGPAtoNGPLCalcService {
}
public void prepareearningsTable(JSONObject requestJSON) throws JSONException {
// Preparing Earnings Table
// basicStringOperation = "[{\"180000\":25000,\"360000\":25000,\"720000\":25000,\"1440000\":25000,\"MPB\":2},{\"180000\":25000,\"360000\":50000,\"720000\":50000,\"1440000\":50000,\"MPB\":3},{\"180000\":25000,\"360000\":50000,\"720000\":75000,\"1440000\":75000,\"MPB\":4},{\"180000\":25000,\"360000\":50000,\"720000\":75000,\"1440000\":100000,\"MPB\":5}]";
basicJSONArrayOperation = leaderCalcConfig.getValue("mdb");
for( i=0;i<basicJSONArrayOperation.length();i++ ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment