Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
ee899979
Commit
ee899979
authored
Aug 02, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用字典列表pointcell数值错误
parent
979425df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
performance/Performance.Services/ConfigService.cs
+5
-5
No files found.
performance/Performance.Services/ConfigService.cs
View file @
ee899979
...
@@ -1423,23 +1423,23 @@ public SheetExportResponse GetDrugtypeFactor(AllotDeptRequest request)
...
@@ -1423,23 +1423,23 @@ public SheetExportResponse GetDrugtypeFactor(AllotDeptRequest request)
var
rowcells
=
new
List
<
Cell
>
var
rowcells
=
new
List
<
Cell
>
{
{
new
Cell
{
CellType
=
"body"
,
CellValue
=
index
+
1
,
PointCell
=
0
,
MergeRow
=
1
,
MergeCell
=
1
},
new
Cell
{
CellType
=
"body"
,
CellValue
=
index
+
1
,
PointCell
=
0
,
MergeRow
=
1
,
MergeCell
=
1
},
new
Cell
{
CellType
=
"body"
,
CellValue
=
charge
.
Charge
,
PointCell
=
0
,
MergeRow
=
1
,
MergeCell
=
1
},
new
Cell
{
CellType
=
"body"
,
CellValue
=
charge
.
Charge
,
PointCell
=
1
,
MergeRow
=
1
,
MergeCell
=
1
},
new
Cell
{
CellType
=
"body"
,
CellValue
=
charge
.
ChargeType
,
PointCell
=
1
,
MergeRow
=
1
,
MergeCell
=
1
},
new
Cell
{
CellType
=
"body"
,
CellValue
=
charge
.
ChargeType
,
PointCell
=
2
,
MergeRow
=
1
,
MergeCell
=
1
},
};
};
int
i
=
0
;
int
i
=
1
;
foreach
(
var
model
in
models
)
foreach
(
var
model
in
models
)
{
{
var
modeldata
=
querydata
.
FirstOrDefault
(
t
=>
t
.
Charge
==
charge
.
Charge
&&
t
.
ChargeType
==
charge
.
ChargeType
&&
t
.
ExModuleId
==
model
.
Id
);
var
modeldata
=
querydata
.
FirstOrDefault
(
t
=>
t
.
Charge
==
charge
.
Charge
&&
t
.
ChargeType
==
charge
.
ChargeType
&&
t
.
ExModuleId
==
model
.
Id
);
int
j
=
1
;
int
j
=
0
;
foreach
(
var
column
in
defaultColumns
)
foreach
(
var
column
in
defaultColumns
)
{
{
rowcells
.
Add
(
new
Cell
rowcells
.
Add
(
new
Cell
{
{
CellType
=
"body"
,
CellType
=
"body"
,
CellValue
=
modeldata
==
null
?
null
:
fields
[
column
.
Value
].
Invoke
(
modeldata
),
CellValue
=
modeldata
==
null
?
null
:
fields
[
column
.
Value
].
Invoke
(
modeldata
),
PointCell
=
1
+
i
*
3
+
j
,
PointCell
=
i
*
3
+
j
,
MergeRow
=
1
,
MergeRow
=
1
,
MergeCell
=
1
MergeCell
=
1
});
});
...
...
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