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
641a5d2d
Commit
641a5d2d
authored
Jul 03, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
每日自动生成退款单
parent
e03d3911
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+6
-5
FinanceModule.cs
Mall.WindowsService/Module/FinanceModule.cs
+2
-2
No files found.
Mall.Module.Product/OrderModule.cs
View file @
641a5d2d
...
@@ -5008,7 +5008,8 @@ namespace Mall.Module.Product
...
@@ -5008,7 +5008,8 @@ namespace Mall.Module.Product
{
{
if
(
tenantId
==
1
)
if
(
tenantId
==
1
)
{
{
OrderRefundFinanceModule
(
model
,
tenantId
,
mallBaseId
);
//2020-07-03 屏蔽 改每日自动生成
//OrderRefundFinanceModule(model, tenantId, mallBaseId);
}
}
goods_OrderAfterSaleLogRepository
.
Insert
(
new
RB_Goods_OrderAfterSaleLog
()
goods_OrderAfterSaleLogRepository
.
Insert
(
new
RB_Goods_OrderAfterSaleLog
()
{
{
...
@@ -5797,8 +5798,8 @@ namespace Mall.Module.Product
...
@@ -5797,8 +5798,8 @@ namespace Mall.Module.Product
goods_OrderRepository
.
DBSession
.
Commit
();
goods_OrderRepository
.
DBSession
.
Commit
();
if
(
flag
&&
type
==
1
&&
tenantId
==
1
)
if
(
flag
&&
type
==
1
&&
tenantId
==
1
)
{
{
//同意 创建财务单据
//同意 创建财务单据
屏蔽 改为每日自动创建
OrderRefundFinanceModule
(
omodel
);
//
OrderRefundFinanceModule(omodel);
}
}
return
flag
;
return
flag
;
}
}
...
@@ -6054,8 +6055,8 @@ namespace Mall.Module.Product
...
@@ -6054,8 +6055,8 @@ namespace Mall.Module.Product
{
{
if
(
omodel
.
OrderStatus
!=
OrderStatusEnum
.
NonPayment
)
if
(
omodel
.
OrderStatus
!=
OrderStatusEnum
.
NonPayment
)
{
{
//同意 创建财务单据
//同意 创建财务单据
屏蔽 改为每日自动创建
OrderRefundFinanceModule
(
omodel
,
true
);
//
OrderRefundFinanceModule(omodel, true);
}
}
}
}
return
flag
;
return
flag
;
...
...
Mall.WindowsService/Module/FinanceModule.cs
View file @
641a5d2d
...
@@ -1213,7 +1213,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
...
@@ -1213,7 +1213,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
OperatorEnum
=
OperatorEnum
.
Equal
OperatorEnum
=
OperatorEnum
.
Equal
}
}
};
};
//
goods_OrderRepository.Update(keyValues, wheres);
goods_OrderRepository
.
Update
(
keyValues
,
wheres
);
}
}
foreach
(
var
dmodel
in
afterList
)
{
foreach
(
var
dmodel
in
afterList
)
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
...
@@ -1237,7 +1237,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
...
@@ -1237,7 +1237,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
OperatorEnum
=
OperatorEnum
.
Equal
OperatorEnum
=
OperatorEnum
.
Equal
}
}
};
};
//
goods_OrderAfterSaleRepository.Update(keyValues, wheres);
goods_OrderAfterSaleRepository
.
Update
(
keyValues
,
wheres
);
goods_OrderAfterSaleLogRepository
.
Insert
(
new
RB_Goods_OrderAfterSaleLog
()
goods_OrderAfterSaleLogRepository
.
Insert
(
new
RB_Goods_OrderAfterSaleLog
()
{
{
Id
=
0
,
Id
=
0
,
...
...
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