md
This commit is contained in:
parent
aba6997ebf
commit
dc7114ad69
@ -672,8 +672,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
for (EmisQuoteExpression exprItem: exprList) {
|
for (EmisQuoteExpression exprItem: exprList) {
|
||||||
log.info("计算项目:"+JSONObject.toJSONString(exprItem)+",重量:"+emisWaybill.getSettlementWeight().doubleValue());
|
log.info("计算项目:"+JSONObject.toJSONString(exprItem)+",重量:"+emisWaybill.getSettlementWeight().doubleValue());
|
||||||
|
|
||||||
if( exprItem.getStartWeight().doubleValue() <= emisWaybill.getSettlementWeight().doubleValue()
|
if( exprItem.getStartWeight().doubleValue() < emisWaybill.getSettlementWeight().doubleValue()
|
||||||
&& exprItem.getEndWeight().doubleValue() > emisWaybill.getSettlementWeight().doubleValue()
|
&& exprItem.getEndWeight().doubleValue() >= emisWaybill.getSettlementWeight().doubleValue()
|
||||||
){
|
){
|
||||||
feeItem.setFeeCode(quoteItem.getFeeType());
|
feeItem.setFeeCode(quoteItem.getFeeType());
|
||||||
String feeName=DictUtils.getDictLabel("emis_fee_type",quoteItem.getFeeType());
|
String feeName=DictUtils.getDictLabel("emis_fee_type",quoteItem.getFeeType());
|
||||||
@ -722,8 +722,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
|
|
||||||
for (EmisQuoteExpression exprItem: exprList) {
|
for (EmisQuoteExpression exprItem: exprList) {
|
||||||
if(
|
if(
|
||||||
exprItem.getStartWeight().doubleValue() <= emisWaybill.getTotalVolume().doubleValue()
|
exprItem.getStartWeight().doubleValue() < emisWaybill.getTotalVolume().doubleValue()
|
||||||
&& exprItem.getEndWeight().doubleValue() > emisWaybill.getTotalVolume().doubleValue()
|
&& exprItem.getEndWeight().doubleValue() >= emisWaybill.getTotalVolume().doubleValue()
|
||||||
){
|
){
|
||||||
feeItem.setFeeCode(quoteItem.getFeeType());
|
feeItem.setFeeCode(quoteItem.getFeeType());
|
||||||
String feeName=DictUtils.getDictLabel("emis_fee_type",quoteItem.getFeeType());
|
String feeName=DictUtils.getDictLabel("emis_fee_type",quoteItem.getFeeType());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user