yujia 7 лет назад
Родитель
Сommit
98c3728136

+ 0 - 2
src/main/java/com/uas/platform/b2c/fa/settlement/service/impl/BillSubmitServiceImpl.java

@@ -375,8 +375,6 @@ public class BillSubmitServiceImpl implements BillSubmitService {
                 Order order = orderDao.findOrderByOrderid(orderid);
                 if (order == null)
                     throw new IllegalOperatorException("订单: " + orderid + " 不存在,请与客服人员确认该订单");
-                if (!SystemSession.getUser().getEnterprise().getUu().equals(order.getSellerenuu()))
-                    throw new IllegalOperatorException("订单: " + orderid + " 不属于当前企业,不可开票");
 
                 order.setVatBillStatus(Status.TOBERECEIVE_BILL.value());
                 orderDao.save(order);

+ 1 - 1
src/main/java/com/uas/platform/b2c/prod/commodity/controller/ReleaseProductByBatchController.java

@@ -156,7 +156,7 @@ public class ReleaseProductByBatchController {
         logger.log("批量上架模块", "批量发布指定批次:" + batch + "的上架内容");
         String byBatch = releaseProductByBatchService.publishByBatch(batch, false);
         long l1 = System.currentTimeMillis();
-        logger.log("批量上架模块", "l1 ------------l" + (l1 - 1));
+        logger.log("批量上架模块", "l1 ------------l" + (l1 - l));
         return byBatch;
     }