md
This commit is contained in:
parent
6cc197dfe1
commit
3dcdd6723e
@ -397,8 +397,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
for (EmisQuoteExpression exprItem: exprList) {
|
||||
log.info("计算项目:"+JSONObject.toJSONString(exprItem)+",重量:"+emisWaybill.getSettlementWeight().doubleValue());
|
||||
|
||||
if( exprItem.getStartWeight().doubleValue() >= emisWaybill.getSettlementWeight().doubleValue()
|
||||
&& exprItem.getEndWeight().doubleValue() <= emisWaybill.getSettlementWeight().doubleValue()
|
||||
if( exprItem.getStartWeight().doubleValue() <= emisWaybill.getSettlementWeight().doubleValue()
|
||||
&& exprItem.getEndWeight().doubleValue() >= emisWaybill.getSettlementWeight().doubleValue()
|
||||
){
|
||||
feeItem.setFeeCode(quoteItem.getFeeType());
|
||||
feeItem.setQuoteId(quoteItem.getQuoteId());
|
||||
@ -423,8 +423,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
||||
else if("2".equals(calcFeeType)){
|
||||
|
||||
for (EmisQuoteExpression exprItem: exprList) {
|
||||
if( exprItem.getStartWeight().doubleValue() >= emisWaybill.getTotalVolume().doubleValue()
|
||||
&& exprItem.getEndWeight().doubleValue() <= emisWaybill.getTotalVolume().doubleValue()
|
||||
if(
|
||||
exprItem.getStartWeight().doubleValue() <= emisWaybill.getTotalVolume().doubleValue()
|
||||
&& exprItem.getEndWeight().doubleValue() >= emisWaybill.getTotalVolume().doubleValue()
|
||||
){
|
||||
feeItem.setFeeCode(quoteItem.getFeeType());
|
||||
feeItem.setQuoteId(quoteItem.getQuoteId());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user