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
c1e8e3bc
Commit
c1e8e3bc
authored
Aug 20, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
58a7ec53
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
SmallShopsModule.cs
Mall.Module.User/SmallShopsModule.cs
+23
-1
No files found.
Mall.Module.User/SmallShopsModule.cs
View file @
c1e8e3bc
...
...
@@ -687,6 +687,27 @@ namespace Mall.Module.User
}
};
item
.
IsPublic
=
5
;
//默认平台虚拟账户
#
region
查询所有的订单
List
<
Model
.
Entity
.
Finance
.
RB_ECFinanceId_Relation
>
ECList
=
new
List
<
Model
.
Entity
.
Finance
.
RB_ECFinanceId_Relation
>();
if
(!
string
.
IsNullOrEmpty
(
remitModel
.
ReOrderIds
))
{
List
<
int
>
reorderIdList
=
JsonConvert
.
DeserializeObject
<
List
<
int
>>(
remitModel
.
ReOrderIds
);
if
(
reorderIdList
.
Any
())
{
reorderIdList
=
reorderIdList
.
Distinct
().
ToList
();
var
orderDetailList
=
goods_OrderDetailRepository
.
GetOrderDetailList
(
new
RB_Goods_OrderDetail_Extend
()
{
TenantId
=
TenantId
,
MallBaseId
=
MallBaseId
,
OrderIds
=
string
.
Join
(
","
,
reorderIdList
)
});
foreach
(
var
qitem
in
orderDetailList
)
{
ECList
.
Add
(
new
Model
.
Entity
.
Finance
.
RB_ECFinanceId_Relation
()
{
ECOrderId
=
qitem
.
OrderId
,
ECOrderDetailId
=
qitem
.
Id
});
}
}
}
#
endregion
var
financeObj
=
new
{
CreateBy
=
erpEmpId
>
0
?
erpEmpId
.
ToString
()
:
Config
.
ExpendDirector
,
...
...
@@ -703,7 +724,8 @@ namespace Mall.Module.User
ReFinanceId
=
remitId
,
Remark
=
"名称:"
+
umodel
.
Name
+
"("
+
umodel
.
Id
+
")"
+
" 微店:"
+
DisModel
.
Name
+
" "
+
System
.
DateTime
.
Now
.
ToString
(
"yyyy年MM月dd日"
)
+
"自动生成财务单据(微店提现)"
,
detailList
,
RB_Depart_Id
=
Config
.
ExpendDepartment
RB_Depart_Id
=
Config
.
ExpendDepartment
,
ECOrderList
=
ECList
};
string
sign
=
EncryptionHelper
.
AesEncrypt
(
JsonHelper
.
Serialize
(
financeObj
),
Config
.
FinanceKey
);
var
resultInfo
=
new
...
...
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