|
@@ -50,10 +50,10 @@ public class InvoiceListServiceImpl implements InvoiceListService {
|
|
|
if(null==data){
|
|
|
throw exception(INVOICE_LIST_ORDER_NOT_EXISTS);
|
|
|
}
|
|
|
- // 非本人订单
|
|
|
- if(!loginUserId.toString().equals( data.getChannelUserId())){
|
|
|
- throw exception(INVOICE_LIST_ORDER_NOT_EXISTS);
|
|
|
- }
|
|
|
+// // 非本人订单
|
|
|
+// if(!loginUserId.toString().equals( data.getChannelUserId())){
|
|
|
+// throw exception(INVOICE_LIST_ORDER_NOT_EXISTS);
|
|
|
+// }
|
|
|
|
|
|
|
|
|
|
|
@@ -67,6 +67,7 @@ public class InvoiceListServiceImpl implements InvoiceListService {
|
|
|
InvoiceListDO invoiceList = BeanUtils.toBean(createReqVO, InvoiceListDO.class);
|
|
|
invoiceList.setUserId(loginUserId);
|
|
|
invoiceList.setStatus(0);
|
|
|
+ invoiceList.setPrice(data.getPrice());
|
|
|
invoiceListMapper.insert(invoiceList);
|
|
|
// 返回
|
|
|
return invoiceList.getId();
|