|
|
@@ -322,7 +322,7 @@ public class InvoiceFPurchaseServiceImpl implements InvoiceFPurchaseService {
|
|
|
ensurePrice = NumberUtil.add(ensurePrice, price);
|
|
|
taxes = NumberUtil.add(taxes, NumberUtil.sub(NumberUtil.mul(qty, puDetail.getTaxUnitPrice()), NumberUtil.mul(qty, puDetail.getUnitprice())));
|
|
|
}
|
|
|
- if (CollectionUtils.isNotEmpty(IpDetails)) {
|
|
|
+ if (CollectionUtils.isEmpty(IpDetails)) {
|
|
|
throw new IllegalOperatorException("没有需要发货的信息");
|
|
|
}
|
|
|
Enterprise enterprise = enterpriseDao.findByUu(purchase.getSellerenuu());
|