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
bb2ae29f
Commit
bb2ae29f
authored
Jun 28, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取configid方法修改
parent
826fb36a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+3
-0
performance/Performance.Services/ExtractExcelService/SheetDataWrite/CustomDataWrite.cs
+2
-2
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
bb2ae29f
...
@@ -836,6 +836,9 @@
...
@@ -836,6 +836,9 @@
<member
name=
"F:Performance.DtoModels.SheetType.Assess"
>
<member
name=
"F:Performance.DtoModels.SheetType.Assess"
>
<summary>
考核
</summary>
<summary>
考核
</summary>
</member>
</member>
<member
name=
"F:Performance.DtoModels.SheetType.Custom"
>
<summary>
自定义抽取模板
</summary>
</member>
<member
name=
"T:Performance.DtoModels.AccountUnitType"
>
<member
name=
"T:Performance.DtoModels.AccountUnitType"
>
<summary>
<summary>
核算单元类型
核算单元类型
...
...
performance/Performance.Services/ExtractExcelService/SheetDataWrite/CustomDataWrite.cs
View file @
bb2ae29f
...
@@ -35,7 +35,7 @@ CustomExtractService customExtractService
...
@@ -35,7 +35,7 @@ CustomExtractService customExtractService
public
PerSheetPoint
Point
=>
new
PerSheetPoint
public
PerSheetPoint
Point
=>
new
PerSheetPoint
{
{
DataFirstRowNum
=
2
,
DataFirstRowNum
=
2
,
DataFirstCellNum
=
7
,
DataFirstCellNum
=
6
,
};
};
public
void
WriteDataToCustom
(
IWorkbook
workbook
,
per_allot
allot
,
ExcelStyle
style
)
public
void
WriteDataToCustom
(
IWorkbook
workbook
,
per_allot
allot
,
ExcelStyle
style
)
...
@@ -64,7 +64,7 @@ public void WriteDataToCustom(IWorkbook workbook, per_allot allot, ExcelStyle st
...
@@ -64,7 +64,7 @@ public void WriteDataToCustom(IWorkbook workbook, per_allot allot, ExcelStyle st
var
exscript
=
exscripts
.
FirstOrDefault
(
t
=>
t
.
TypeId
==
module
.
TypeId
);
var
exscript
=
exscripts
.
FirstOrDefault
(
t
=>
t
.
TypeId
==
module
.
TypeId
);
if
(
exscript
==
null
)
continue
;
if
(
exscript
==
null
)
continue
;
var
conf
=
configs
.
FirstOrDefault
(
w
=>
w
.
Id
==
module
.
ConfigId
);
var
conf
=
configs
.
FirstOrDefault
(
w
=>
w
.
Id
==
(
module
.
ConfigId
??
exscript
.
ConfigId
)
);
if
(
conf
==
null
)
continue
;
if
(
conf
==
null
)
continue
;
var
execsql
=
exscript
.
ExecScript
;
var
execsql
=
exscript
.
ExecScript
;
...
...
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