Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lingxi-lxy-yanshou
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
后端-黄柯铭
lingxi-lxy-yanshou
Commits
ac5e797c
Commit
ac5e797c
authored
Aug 06, 2021
by
liao_ds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
售后-退货-废弃发票
parent
9e53e4dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
17 deletions
+2
-17
ReturnGoodsDO.java
.../java/com/ssy/lingxi/after/sale/entity/ReturnGoodsDO.java
+0
-14
ReturnGoodsServiceImpl.java
...lingxi/after/sale/serviceimpl/ReturnGoodsServiceImpl.java
+2
-3
No files found.
after-sale-service/src/main/java/com/ssy/lingxi/after/sale/entity/ReturnGoodsDO.java
View file @
ac5e797c
...
...
@@ -234,12 +234,6 @@ public class ReturnGoodsDO implements Serializable {
private
String
returnLogisticsNo
;
/**
* 是否需要发票:0-否,1-是
*/
@Column
(
columnDefinition
=
"int"
)
private
Integer
needInvoice
;
/**
*订单类型(OrderConstant.OrderType)
*/
@Column
(
columnDefinition
=
"int"
)
...
...
@@ -253,14 +247,6 @@ public class ReturnGoodsDO implements Serializable {
this
.
orderType
=
orderType
;
}
public
Integer
getNeedInvoice
()
{
return
needInvoice
;
}
public
void
setNeedInvoice
(
Integer
needInvoice
)
{
this
.
needInvoice
=
needInvoice
;
}
public
Long
getReturnLogisticsId
()
{
return
returnLogisticsId
;
}
...
...
after-sale-service/src/main/java/com/ssy/lingxi/after/sale/serviceimpl/ReturnGoodsServiceImpl.java
View file @
ac5e797c
...
...
@@ -40,7 +40,6 @@ import com.ssy.lingxi.message.api.vo.request.SystemMessageRequest;
import
com.ssy.lingxi.order.api.dto.request.AfterSalesListRequest
;
import
com.ssy.lingxi.order.api.dto.request.OrderProductDetailsUpdateRequest
;
import
com.ssy.lingxi.order.api.dto.request.OrderProductDetailsUpdateRequests
;
import
com.ssy.lingxi.order.api.dto.request.TheInvoiceOrderInfoResponse
;
import
com.ssy.lingxi.order.api.dto.response.OneBatchBrderListDetailsResponse
;
import
com.ssy.lingxi.pay.api.dto.request.WeChatRefundRequest
;
import
com.ssy.lingxi.pay.api.dto.request.assetAccount.BalanceRefundRequest
;
...
...
@@ -1026,7 +1025,7 @@ public class ReturnGoodsServiceImpl implements IReturnGoodsService {
returnDO
.
setCreateTime
(
System
.
currentTimeMillis
());
returnDO
.
setUpdateTime
(
0L
);
returnDO
.
setOrderType
(
saveVO
.
getOrderType
());
// 设置是否需要发票
/*废弃:731
// 设置是否需要发票
returnDO.setNeedInvoice(CommonBooleanEnum.NO.getCode());
List<String> orderNoList = saveVO.getReturnGoodsList().stream().map(ReturnGoodsDetailSaveVO::getOrderNo).distinct().collect(Collectors.toList());
for (String orderNO : orderNoList) {
...
...
@@ -1036,7 +1035,7 @@ public class ReturnGoodsServiceImpl implements IReturnGoodsService {
returnDO.setNeedInvoice(CommonBooleanEnum.YES.getCode());
break;
}
}
}
*/
return
returnDO
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment