提交 b3b9a12d authored 作者: 李瑞鑫's avatar 李瑞鑫

货单未税不需要考虑借款账户,货单取消状态过滤

上级 adf45dbe
...@@ -111,8 +111,9 @@ public class OrderChildLoanComponent { ...@@ -111,8 +111,9 @@ public class OrderChildLoanComponent {
OwnerQuotationDetailVO quotationDetailVO = orderFeign.getQuotationByOrderNo(orderInfoVO.getOrderNo()).getData(); OwnerQuotationDetailVO quotationDetailVO = orderFeign.getQuotationByOrderNo(orderInfoVO.getOrderNo()).getData();
BigDecimal freightFreezeRate = quotationDetailVO.getFreightFreezeRate(); BigDecimal freightFreezeRate = quotationDetailVO.getFreightFreezeRate();
if (freightFreezeRate.compareTo(new BigDecimal(100)) == 0) { if (freightFreezeRate.compareTo(new BigDecimal(100)) == 0
//百分百预付不需要考虑借款账户 || !Objects.equals(orderGoods.getPlatformFreightQuotationTaxType(),QuotationEnum.PlatformFreightQuotationTaxType.YES.getCode())) {
//百分百预付不需要考虑借款账户或者平台运费报价税类型为未税
log.info("2.百分百预付不需要考虑借款账户"); log.info("2.百分百预付不需要考虑借款账户");
return; return;
} }
......
...@@ -30,10 +30,7 @@ import org.springframework.transaction.annotation.Transactional; ...@@ -30,10 +30,7 @@ import org.springframework.transaction.annotation.Transactional;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.time.ZoneOffset; import java.time.ZoneOffset;
import java.util.Date; import java.util.*;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
/** /**
* 货单最晚接单时间、最晚到达货源地时间处理 * 货单最晚接单时间、最晚到达货源地时间处理
...@@ -121,6 +118,9 @@ public class OrderGoodsStatusLazyComponent implements InitializingBean { ...@@ -121,6 +118,9 @@ public class OrderGoodsStatusLazyComponent implements InitializingBean {
continue; continue;
} }
OrderGoods orderGoods = optional.get(); OrderGoods orderGoods = optional.get();
if(Objects.equals(orderGoods.getOrderGoodsStatus(),OrderGoodsStatusEnum.Status.CANCEL.getCode())){
continue;
}
if (orderGoods.getResidueTransportWeight().compareTo(BigDecimal.ZERO) == 0) { if (orderGoods.getResidueTransportWeight().compareTo(BigDecimal.ZERO) == 0) {
List<OrderChild> orderChildren = orderChildDao.selectInTransitOrderChildByOrderGoodsNo(orderGoodsNo); List<OrderChild> orderChildren = orderChildDao.selectInTransitOrderChildByOrderGoodsNo(orderGoodsNo);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论