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
ea53e5ef
Commit
ea53e5ef
authored
Apr 07, 2023
by
ruyun.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宁海: 统计分析中汇总下载内容添加默认值
parent
9369fd3c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
performance/Performance.Api/Controllers/ReportController.cs
+0
-3
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+10
-0
performance/Performance.Repository/PerforReportRepository .cs
+2
-2
performance/Performance.Services/ComputeConfig.cs
+3
-3
No files found.
performance/Performance.Api/Controllers/ReportController.cs
View file @
ea53e5ef
...
...
@@ -368,13 +368,10 @@ public IActionResult WholeHospitalGrantSummaryDownload([FromBody] HospitalGrantS
string
.
IsNullOrEmpty
(
request
.
EndTime
)
||
!
DateTime
.
TryParse
(
request
.
EndTime
,
out
edate
))
throw
new
PerformanceException
(
"请输入正确的时间"
);
var
resetGroupBy
=
request
.
GroupBy
.
Copy
();
var
list
=
_computeService
.
GetAllComputeViewByDateAndTotal
(
"view_allot_sign_emp"
,
request
);
if
(
null
==
list
)
throw
new
PerformanceException
(
"当前绩效记录不存在"
);
request
.
GroupBy
=
resetGroupBy
;
List
<
string
>
headlist
=
new
List
<
string
>();
foreach
(
var
item
in
request
.
GroupBy
.
Union
(
request
.
SumBy
).
ToList
())
...
...
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
ea53e5ef
...
...
@@ -59,6 +59,16 @@
开启反SQL注入白名单地址
</summary>
</member>
<member
name=
"T:Performance.DtoModels.AppSettings.AppSQLEncrypt"
>
<summary>
数据库密码加密
</summary>
</member>
<member
name=
"P:Performance.DtoModels.AppSettings.AppSQLEncrypt.IsEncryption"
>
<summary>
是否加密 true 加密 false 明文
</summary>
</member>
<member
name=
"P:Performance.DtoModels.AppSettings.RateLimitingConfig.Endpoints"
>
<summary>
路径
...
...
performance/Performance.Repository/PerforReportRepository .cs
View file @
ea53e5ef
...
...
@@ -444,9 +444,9 @@ public List<dynamic> QueryComputeByDateAndTotal(string viewName, HospitalGrantSu
{
"view_allot_sign_emp_finance_group"
,
new
List
<
string
>{
"hospitalid"
,
"code"
,
"unittype"
,
"accountingunit"
,
"jobnumber"
,
"employeename"
,
}
},
{
"view_allot_sign_emp_finance_sum"
,
new
List
<
string
>{
"perforsumfee"
,
"performanagementfee"
,
"nightworkperfor"
,
"adjustlaterotherfee"
,
"otherperfor"
,
"hideotherperfor"
,
"shouldgivefee"
,
"reservedratiofee"
,
"realgivefee"
}
},
};
request
.
GroupBy
.
Remove
(
""
);
if
(
request
.
SumBy
==
null
||
!
request
.
SumBy
.
Any
(
t
=>
!
string
.
IsNullOrEmpty
(
t
)))
request
.
SumBy
=
dict
[
viewName
+
"_sum"
];
if
(
request
.
GroupBy
==
null
||
!
request
.
GroupBy
.
Any
(
t
=>
!
string
.
IsNullOrEmpty
(
t
)))
request
.
GroupBy
=
dict
[
viewName
+
"_group"
];
if
(
request
.
Search
!=
null
&&
request
.
Search
.
Any
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
Title
)
&&
!
string
.
IsNullOrEmpty
(
w
.
Value
)))
{
...
...
performance/Performance.Services/ComputeConfig.cs
View file @
ea53e5ef
...
...
@@ -31,8 +31,8 @@ public static List<cof_alias> PerformanceTotal(string route, string[] heads)
public
static
List
<
cof_alias
>
AllComputeView
{
get
;
}
=
new
List
<
cof_alias
>
{
new
cof_alias
{
Alias
=
"来源"
,
Name
=
nameof
(
view_allot_sign_emp
.
Source
),
States
=
1
,
SumStatus
=
0
,
Sort
=
1
},
new
cof_alias
{
Alias
=
"核算单元编码"
,
Name
=
nameof
(
view_allot_sign_emp
.
Code
),
States
=
1
,
SumStatus
=
0
,
Sort
=
1
},
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_emp
.
UnitType
),
States
=
1
,
SumStatus
=
0
,
Sort
=
2
},
new
cof_alias
{
Alias
=
"核算单元编码"
,
Name
=
nameof
(
view_allot_sign_emp
.
Code
),
States
=
1
,
SumStatus
=
0
,
Sort
=
2
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_emp
.
AccountingUnit
),
States
=
1
,
SumStatus
=
0
,
Sort
=
3
},
new
cof_alias
{
Alias
=
"员工号"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobNumber
),
States
=
1
,
SumStatus
=
0
,
Sort
=
4
},
...
...
@@ -75,8 +75,8 @@ public static List<cof_alias> AllComputeViewByDate
public
static
List
<
cof_alias
>
AllComputePersonView
{
get
;
}
=
new
List
<
cof_alias
>
{
new
cof_alias
{
Alias
=
"核算单元编码"
,
Name
=
nameof
(
view_allot_sign_emp
.
Code
),
States
=
1
,
SumStatus
=
0
,
Sort
=
0
},
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_emp
.
UnitType
),
States
=
1
,
SumStatus
=
0
,
Sort
=
1
},
new
cof_alias
{
Alias
=
"核算单元编码"
,
Name
=
nameof
(
view_allot_sign_emp
.
Code
),
States
=
1
,
SumStatus
=
0
,
Sort
=
2
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_emp
.
AccountingUnit
),
States
=
1
,
SumStatus
=
0
,
Sort
=
2
},
new
cof_alias
{
Alias
=
"员工号"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobNumber
),
States
=
1
,
SumStatus
=
0
,
Sort
=
3
},
new
cof_alias
{
Alias
=
"人员姓名"
,
Name
=
nameof
(
view_allot_sign_emp
.
EmployeeName
),
States
=
1
,
SumStatus
=
0
,
Sort
=
4
},
...
...
@@ -128,8 +128,8 @@ public static List<cof_alias> AllComputePersonViewByDate
public
static
List
<
cof_alias
>
AllComputeDepartmentView
{
get
;
}
=
new
List
<
cof_alias
>
{
new
cof_alias
{
Alias
=
"核算单元编码"
,
Name
=
nameof
(
view_allot_sign_emp
.
Code
),
States
=
1
,
SumStatus
=
0
,
Sort
=
0
},
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_dept
.
UnitType
),
States
=
1
,
SumStatus
=
0
,
Sort
=
1
},
new
cof_alias
{
Alias
=
"核算单元编码"
,
Name
=
nameof
(
view_allot_sign_emp
.
Code
),
States
=
1
,
SumStatus
=
0
,
Sort
=
2
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_dept
.
AccountingUnit
),
States
=
1
,
SumStatus
=
0
,
Sort
=
2
},
new
cof_alias
{
Alias
=
"业绩绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
PerforFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
3
},
new
cof_alias
{
Alias
=
"工作量绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
WorkloadFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
4
},
...
...
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