Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
ce6f0a86
Commit
ce6f0a86
authored
Aug 24, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微店
parent
6201185b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
625 additions
and
51 deletions
+625
-51
RB_Goods_Order_Extend.cs
Mall.Model/Extend/Product/RB_Goods_Order_Extend.cs
+4
-0
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+7
-1
RB_Goods_OrderRepository.cs
Mall.Repository/Product/RB_Goods_OrderRepository.cs
+3
-0
OrderController.cs
Mall.WebApi/Controllers/Product/OrderController.cs
+1
-0
FinanceModule.cs
Mall.WindowsService/Module/FinanceModule.cs
+610
-50
No files found.
Mall.Model/Extend/Product/RB_Goods_Order_Extend.cs
View file @
ce6f0a86
...
...
@@ -47,6 +47,10 @@ namespace Mall.Model.Extend.Product
/// </summary>
public
int
?
IsNotSelectCancel
{
get
;
set
;
}
/// <summary>
/// 是否查询已付款的 1是 2否
/// </summary>
public
int
?
IsSelectPayMoney
{
get
;
set
;
}
/// <summary>
/// 商品id
/// </summary>
public
int
?
GoodsId
{
get
;
set
;
}
...
...
Mall.Module.Product/OrderModule.cs
View file @
ce6f0a86
...
...
@@ -2846,7 +2846,13 @@ namespace Mall.Module.Product
{
return
ApiResult
.
Failed
(
"有商品不存在或者商品已失效"
);
}
if
(
gmodel
.
PresentFXGrade
>
0
)
{
//是赠送VIP商品
if
(
demodel
.
DetailList
.
Count
()
>
1
)
{
//多商品
return
ApiResult
.
Failed
(
"VIP商品不能与其他商品同时下单,请先购买VIP商品"
);
}
}
var
categoryList
=
clist
.
Where
(
x
=>
x
.
GoodsId
==
item
.
GoodsId
).
ToList
();
if
((
mallbaseModel
?.
IsFreeShipping
??
0
)
==
1
&&
(
gmodel
.
FullMoneyPinkage
??
0
)
==
0
&&
(
gmodel
.
FullNumPinkage
??
0
)
==
0
)
{
...
...
Mall.Repository/Product/RB_Goods_OrderRepository.cs
View file @
ce6f0a86
...
...
@@ -121,6 +121,9 @@ namespace Mall.Repository.Product
{
where
+=
$@" and o.
{
nameof
(
RB_Goods_Order
.
SmallShopsId
)}
=
{
dmodel
.
SmallShopsId
}
"
;
}
if
(
dmodel
.
IsSelectPayMoney
==
1
)
{
where
+=
$@" and o.
{
nameof
(
RB_Goods_Order
.
PaymentTime
)}
<> null"
;
}
string
sql
=
$@"SELECT o.*,u.Name as UserName,sshop.`Name` as SmallShopsName FROM rb_goods_order o
INNER JOIN rb_goods_orderdetail od on o.OrderId=od.OrderId
...
...
Mall.WebApi/Controllers/Product/OrderController.cs
View file @
ce6f0a86
...
...
@@ -73,6 +73,7 @@ namespace Mall.WebApi.Controllers.MallBase
Consignee
=
newParms
.
GetStringValue
(
"Consignee"
),
Recycled
=
newParms
.
GetInt
(
"Recycled"
),
AnchorName
=
newParms
.
GetStringValue
(
"AnchorName"
),
IsSelectPayMoney
=
newParms
.
GetInt
(
"IsSelectPayMoney"
,
0
)
};
demodel
.
TenantId
=
parms
.
TenantId
;
...
...
Mall.WindowsService/Module/FinanceModule.cs
View file @
ce6f0a86
This diff is collapsed.
Click to expand it.
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