This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.apposit.terra.farm.repo; | |
| import com.apposit.terra.farm.repo.NotNullIfAnotherFieldHasValueValidator; | |
| import javax.validation.Constraint; | |
| import javax.validation.Payload; | |
| import java.lang.annotation.*; | |
| /** | |
| * Validates that field {@code dependingFieldName} is not null if |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private List getaAllocatedVsDeliveredRowsForWoreda(Woreda woreda, Date from, Date to){ | |
| Map woredaAllocatedAndDelivered = [ | |
| DAP: [ | |
| allocated: 0, | |
| delivered: 0 | |
| ], | |
| NPS: [ | |
| allocated: 0, | |
| delivered: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.apposit.terra.connect.report | |
| import com.apposit.terra.connect.model.* | |
| import org.springframework.beans.factory.InitializingBean | |
| /** | |
| * Created by asuraphel on 11/24/15. | |
| */ | |
| enum ReportAccessorUserLevel { |