Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
e0d8dbee
Commit
e0d8dbee
authored
Apr 22, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fae4495a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
SellAchievementsModule.cs
Edu.Module.Course/SellAchievementsModule.cs
+13
-9
No files found.
Edu.Module.Course/SellAchievementsModule.cs
View file @
e0d8dbee
...
...
@@ -3302,7 +3302,11 @@ namespace Edu.Module.Course
header2
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"我的返佣"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
});
header2
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"人头奖励"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
});
header2
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"合计"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
});
}
}
header2
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"提成合计"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
,
Rowspan
=
2
});
header2
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"佣金合计"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
,
Rowspan
=
2
});
header2
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"奖励合计"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
,
Rowspan
=
2
});
header2
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"累计"
)
{
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
,
Rowspan
=
2
});
RList
.
Add
(
header2
);
#
endregion
...
...
@@ -3430,15 +3434,15 @@ namespace Edu.Module.Course
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
(
mModel
?.
Rate
??
0
).
ToString
(
"#0.00"
)
+
"%"
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
(
mModel
?.
CommissionMoney
??
0
).
ToString
(
"#0.00"
))
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
(
mModel
?.
PushMoney
??
0
).
ToString
(
"#0.00"
))
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
(
mModel
?.
PushMoney
??
0
).
ToString
(
"#0.00"
))
{
});
TotalCommission
+=
(
mModel
?.
PushMoney
??
0
);
}
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
TotalCommission
.
ToString
(
"#0.00"
))
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarow
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
TotalCommission
.
ToString
(
"#0.00"
))
{
});
RList
.
Add
(
datarow
);
...
...
@@ -3463,14 +3467,14 @@ namespace Edu.Module.Course
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
clist
.
Sum
(
x
=>
x
.
CommissionMoney
).
ToString
(
"#0.00"
))
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
clist
.
Sum
(
x
=>
x
.
PushMoney
).
ToString
(
"#0.00"
))
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
clist
.
Sum
(
x
=>
x
.
PushMoney
).
ToString
(
"#0.00"
))
{
});
}
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
TTotalCommission
.
ToString
(
"#0.00"
))
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
""
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
"
-
"
)
{
});
datarowC
.
ExcelRows
.
Add
(
new
ExcelColumn
(
value
:
TTotalCommission
.
ToString
(
"#0.00"
))
{
});
//增加汇总数据
...
...
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