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
9d7daa95
Commit
9d7daa95
authored
Jun 26, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人均绩效sql修改
parent
deb31878
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
performance/Performance.Repository/PerforReportRepository .cs
+6
-5
No files found.
performance/Performance.Repository/PerforReportRepository .cs
View file @
9d7daa95
...
...
@@ -22,15 +22,16 @@ public List<PerReport> GetAvgPerfor(int hospitalid)
(
SELECT rc.ID,rc.AllotID,rc.AccountingUnit,
CASE
WHEN rc.FitPeople IN ( SELECT DISTINCT FitPeople FROM per_allot WHERE AccountType = '行政高层' ) THEN
WHEN rc.FitPeople IN ( SELECT DISTINCT FitPeople FROM per_allot WHERE AccountType = '行政高层' ) THEN
'院领导绩效'
WHEN rc.FitPeople IN ( SELECT DISTINCT FitPeople FROM per_allot WHERE AccountType = '行政中层' ) THEN
WHEN rc.FitPeople IN ( SELECT DISTINCT FitPeople FROM per_allot WHERE AccountType = '行政中层' ) THEN
'行政职能中层绩效'
WHEN rc.FitPeople IN ( SELECT DISTINCT FitPeople FROM per_allot WHERE AccountType = '行政工勤' ) THEN
WHEN rc.FitPeople IN ( SELECT DISTINCT FitPeople FROM per_allot WHERE AccountType = '行政工勤' ) THEN
'行政工勤绩效'
WHEN rc.FitPeople IN ( '临床科室主任人均绩效', '临床科室副主任人均绩效', '医技科室主任人均绩效', '医技科室副主任人均绩效' ) THEN
WHEN rc.FitPeople IN ( '临床科室主任人均绩效', '临床科室副主任人均绩效', '医技科室主任人均绩效', '医技科室副主任人均绩效' )
AND rc.AccountType IN ( '临床科室', '医技科室' ) THEN
'临床主任绩效'
WHEN rc.FitPeople IN ( '护士长人均绩效' )
THEN
WHEN rc.FitPeople IN ( '护士长人均绩效' )
AND rc.AccountType IN ( '临床科室', '医技科室' ) THEN
'临床护理绩效'
END FitPeople,rc.RealGiveFee,
date_format( str_to_date( CONCAT( allot.`Month`, '/', allot.`Year` ), '%m/%Y' ), '%Y-%m' ) date
...
...
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