publicResponseEntity<?>createdtslabsmapping(@RequestBodyDTslabsDtodtslabsMapping){// neel gosrani 27-05-2020 Activation DT CR to store data from service and DB
DTSlabsMappingl1=null;
try{
l1=dtslabsService.save(dtslabsMapping,true);
}catch(ResourceNotFoundExceptione){
e.printStackTrace();
returnnewResponseEntity(newApiResponse(StatusCode.RESOURCE_NOT_FOUND,true,"dtmapping Not found",l1.getId()),HttpStatus.NOT_FOUND);
publicResponseEntity<?>updatedtslabsmapping(@RequestBodyDTslabsDtoDtSlabsMapping){// neel gosrani 27-05-2020 Activation DT CR to update data from service and DB
DTSlabsMappingl1=null;
try{
l1=dtslabsService.save(DtSlabsMapping,false);
}catch(ResourceNotFoundExceptione){
e.printStackTrace();
returnnewResponseEntity(newApiResponse(StatusCode.RESOURCE_NOT_FOUND,true,"dtmapping Not found",l1.getId()),HttpStatus.NOT_FOUND);
publicResponseEntity<?>updateFycmapping(@RequestBodyfycDtofycMapping){//Neel – 20-Apr-2020 – Tata - Fyc mapping – Added function for Store data of fyc from table