|
|
@ -34,7 +34,7 @@ public class ContractsProductsService extends CoreBaseService<ContractsProducts>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public BigDecimal getHadPickupAmount(Long contractId, Long protocolId) {
|
|
|
|
public BigDecimal getHadPickupAmount(Long contractId, Long protocolId) {
|
|
|
|
final BigDecimal hadPickupAmount = contractsProductsDao.getHadPickupAmount(contractId);
|
|
|
|
final BigDecimal hadPickupAmount = contractsProductsDao.getHadPickupAmount(contractId, protocolId);
|
|
|
|
return hadPickupAmount == null ? BigDecimal.ZERO : hadPickupAmount;
|
|
|
|
return hadPickupAmount == null ? BigDecimal.ZERO : hadPickupAmount;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|