Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
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
曲欣亮
shop
Commits
7496b102
Commit
7496b102
authored
Feb 21, 2023
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
522c4640
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
OrderServiceImpl.java
...ava/com/egolm/shop/api/service/impl/OrderServiceImpl.java
+4
-4
No files found.
src/main/java/com/egolm/shop/api/service/impl/OrderServiceImpl.java
View file @
7496b102
...
...
@@ -938,7 +938,7 @@ public class OrderServiceImpl implements OrderService {
+
" and a.nOrderStatus&1 = 0 "
+
" and (a.nOrderStatus&16=16 or nOrderStatus&4=0) "
+
" and (datediff(dd, a.dOrderDate, getdate()) <= "
+
saleReturnDays
+
" or "
+
saleReturnDays
+
" = 0) "
+
" and exists(select 1 from tSalesOrderSubDtl where sSubOrderID = a.sSubOrderID and (nS
ale
Qty - isnull(nReturnQty,0)) > 0) "
;
+
" and exists(select 1 from tSalesOrderSubDtl where sSubOrderID = a.sSubOrderID and (nS
end
Qty - isnull(nReturnQty,0)) > 0) "
;
}
else
if
(
refundStatus
==
2
)
{
/*查询指定状态订单:2=平台确认*/
sql
+=
" and a.sSalesOrderTypeID = '2' "
+
" and isnull(a.sOldSubOrderID,'') <> '' "
...
...
@@ -1000,8 +1000,8 @@ public class OrderServiceImpl implements OrderService {
" DisAmount = case when b.sSalesOrderTypeID = '0' then a.nDisAmount else 0 end,"
+
" PromoPaperNO = a.sPromoPaperNO,"
+
" PromoActionTypeID = a.sPromoActionTypeID,"
+
" ReturnQty = case when b.sSalesOrderTypeID = '0' then isnull(a.nReturnQty,0) else abs(a.nS
ale
Qty) end,"
+
" LeftRefundQty = case when b.sSalesOrderTypeID = '0' then a.nS
ale
Qty - isnull(a.nReturnQty,0) else 0 end,"
+
" ReturnQty = case when b.sSalesOrderTypeID = '0' then isnull(a.nReturnQty,0) else abs(a.nS
end
Qty) end,"
+
" LeftRefundQty = case when b.sSalesOrderTypeID = '0' then a.nS
end
Qty - isnull(a.nReturnQty,0) else 0 end,"
+
" Memo = a.sMemo,"
+
" Tag = a.nTag,"
+
" GoodsURL = gp.sURL "
...
...
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