|
@@ -485,7 +485,9 @@ public class ExecutorMeter extends FormulaExecutor {
|
|
|
mpd.setAmountBase(multiFc.apply(e.getPriceBase(),e.getMeterAmount()));
|
|
|
mpd.setPriceSpread(subtractFc.apply(mpd.getPrice(),mpd.getPriceBase()));
|
|
|
mpd.setTotal(subtractFc.apply(mpd.getAmount(),mpd.getAmountBase()));
|
|
|
- mpd.setCertificate(e.getCertificate());
|
|
|
+ if(!MeterType.INTERIM.equals(tec.getMeterType())) {
|
|
|
+ mpd.setCertificate(e.getCertificate());
|
|
|
+ }
|
|
|
mpd.setMaterialArriveNumber(e.getMaterialArriveNumber());
|
|
|
return mpd;
|
|
|
}
|