|
@@ -466,7 +466,7 @@ public class OrderServiceImpl implements OrderService {
|
|
|
throw new IllegalOperatorException("传输数据失败,请重新操作!");
|
|
throw new IllegalOperatorException("传输数据失败,请重新操作!");
|
|
|
}
|
|
}
|
|
|
if (billId != null && (billId.longValue() != billNoNeed)) {
|
|
if (billId != null && (billId.longValue() != billNoNeed)) {
|
|
|
- billInfo = billInfoDao.getOne(billId);
|
|
|
|
|
|
|
+ billInfo = billInfoDao.findOne(billId);
|
|
|
}
|
|
}
|
|
|
if ((billInfo != null) && (billInfo.getKind().intValue() != order.getInvoicetype().intValue())) {
|
|
if ((billInfo != null) && (billInfo.getKind().intValue() != order.getInvoicetype().intValue())) {
|
|
|
throw new IllegalOperatorException("选中的发票类型不存在");
|
|
throw new IllegalOperatorException("选中的发票类型不存在");
|
|
@@ -1354,7 +1354,7 @@ public class OrderServiceImpl implements OrderService {
|
|
|
@Override
|
|
@Override
|
|
|
@Transactional
|
|
@Transactional
|
|
|
public Order setShipped(Long puid) {
|
|
public Order setShipped(Long puid) {
|
|
|
- Purchase pur = purchaseDao.getOne(puid);
|
|
|
|
|
|
|
+ Purchase pur = purchaseDao.findOne(puid);
|
|
|
if (pur == null) {
|
|
if (pur == null) {
|
|
|
throw new IllegalOperatorException("数据传输错误");
|
|
throw new IllegalOperatorException("数据传输错误");
|
|
|
}
|
|
}
|
|
@@ -1735,7 +1735,7 @@ public class OrderServiceImpl implements OrderService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public BankTransfer getBankInfo(Long id) {
|
|
public BankTransfer getBankInfo(Long id) {
|
|
|
- BankTransfer bankTransfer = bankTransferDao.getOne(id);
|
|
|
|
|
|
|
+ BankTransfer bankTransfer = bankTransferDao.findOne(id);
|
|
|
return bankTransfer;
|
|
return bankTransfer;
|
|
|
}
|
|
}
|
|
|
|
|
|