File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
goonj/src/main/java/org/avni_integration_service/goonj/repository Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,8 @@ private DistributionDTO createDistributionRequest(Subject subject) {
9191 Date distributionDate = DateTimeUtil .convertToDate ((String ) subject .getObservation (DISTRIBUTION_DATE ));
9292 distributionDate = DateTimeUtil .offsetTimeZone (distributionDate , DateTimeUtil .UTC , DateTimeUtil .IST );
9393 distributionDTO .setDateOfDistribution (DateTimeUtil .formatDate (distributionDate ));
94- if (subject .getObservation (MATERIAL_PROVIDED_AS_PART_OF_RAHAT ) != null ) {
95- distributionDTO .setMaterialProvidedAsPartOfRahat ((String ) subject .getObservation (MATERIAL_PROVIDED_AS_PART_OF_RAHAT ));
96- }
94+ distributionDTO .setMaterialProvidedAsPartOfRahat ((String ) subject .getObservation (MATERIAL_PROVIDED_AS_PART_OF_RAHAT ));
95+
9796 if (subject .getObservation (TYPE_OF_COMMUNITY )!= null ){
9897 List <String > typeOfCommunity = (ArrayList <String >) subject .getObservation (TYPE_OF_COMMUNITY );
9998 distributionDTO .setTypeOfCommunity (String .join (";" ,typeOfCommunity ));
You can’t perform that action at this time.
0 commit comments