소스 검색

Merge branches 'developer' and 'developerB' of git.caimei365.com:chao/caimei-modules-soa into developerB

plf 4 년 전
부모
커밋
facddda98e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pay/src/main/java/com/caimei/module/pay/service/impl/PayServiceImpl.java

+ 1 - 1
pay/src/main/java/com/caimei/module/pay/service/impl/PayServiceImpl.java

@@ -96,7 +96,7 @@ public class PayServiceImpl implements PayService {
         //商品数据
         List<OrderProductVo> orderProductList = payDao.fandAllOrderProduct(orderId);
         orderProductList.forEach(o -> {
-            if ("2".equals(o.getIncludedTax())) {
+            if (StringUtils.isBlank(o.getIncludedTax()) || "2".equals(o.getIncludedTax())) {
                 order.setInvoiceStatus(true);
             }
         });