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
aff00841
Commit
aff00841
authored
Mar 31, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/v2020morge-graphql' into v2020morge-graphql
parents
53ccf8f4
926effc4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
performance/Performance.Services/AllotCompute/ResultComputeService.cs
+6
-1
performance/Performance.Services/AllotService.cs
+1
-1
No files found.
performance/Performance.Services/AllotCompute/ResultComputeService.cs
View file @
aff00841
using
AutoMapper
;
using
Microsoft.Extensions.Logging
;
using
Performance.DtoModels
;
using
Performance.EntityModels
;
using
Performance.Infrastructure
;
...
...
@@ -33,6 +34,7 @@ public class ResultComputeService : IAutoInjection
private
readonly
LogManageService
logManageService
;
private
readonly
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
;
private
readonly
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
;
private
readonly
ILogger
logger
;
public
ResultComputeService
(
PerforHospitalRepository
hospitalRepository
,
...
...
@@ -50,7 +52,8 @@ public class ResultComputeService : IAutoInjection
PerforAgsecondallotRepository
perforAgsecondallotRepository
,
PerforResreservedRepository
perforresreservedRepository
,
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
,
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
)
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
,
ILogger
<
ResultComputeService
>
logger
)
{
this
.
baiscNormService
=
baiscNormService
;
this
.
computeDirector
=
computeDirector
;
...
...
@@ -70,6 +73,7 @@ public class ResultComputeService : IAutoInjection
this
.
perforresreservedRepository
=
perforresreservedRepository
;
this
.
perforImemployeeclinicRepository
=
perforImemployeeclinicRepository
;
this
.
perforImemployeelogisticsRepository
=
perforImemployeelogisticsRepository
;
this
.
logger
=
logger
;
}
/// <summary>
...
...
@@ -214,6 +218,7 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno
AdjustLaterOtherFee
=
dept
?.
AdjustLaterOtherFee
??
0
,
NightShiftWorkPerforFee
=
nightShift
,
};
logger
.
LogInformation
(
$"特殊核算组-
{
group
.
AccountingUnit
}
,sumValue:
{
sumValue
}
,预算比例:
{
dept
?.
BasicFactor
??
-
100
}
"
);
res
.
ResultsTotalFee
=
Math
.
Round
((
sumValue
*
(
dept
?.
BasicFactor
??
1
m
))
??
0
);
res
.
PerforTotal
=
res
.
ResultsTotalFee
+
res
.
AssessBeforeOtherFee
;
res
.
GiveFee
=
Math
.
Round
((
res
.
PerforTotal
*
res
.
ScoringAverage
+
res
.
MedicineExtra
+
res
.
MaterialsExtra
+
res
.
Punishment
+
res
.
AssessLaterOtherFee
)
??
0
);
...
...
performance/Performance.Services/AllotService.cs
View file @
aff00841
...
...
@@ -445,7 +445,7 @@ public void Generate(per_allot allot, string mail)
//var res = reportService.ImportData(allot);
//var flag = reportService.UpdateData(allot);
//logManageService.WriteMsg("正在生成报表数据", $"报表数据生成完成;受影响:{res}行", 1, allot.ID, "ReceiveMessage", true);
reportService
.
ExecProc
(
"call proc_report_performance(@hospitalid, @year, @month);"
,
new
{
allot
.
HospitalId
,
allot
.
Year
,
allot
.
Month
});
//
reportService.ExecProc("call proc_report_performance(@hospitalid, @year, @month);", new { allot.HospitalId, allot.Year, allot.Month });
////发送邮件
...
...
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