Commit 9d7daa95 by 李承祥

人均绩效sql修改

parent deb31878
......@@ -28,9 +28,10 @@ public List<PerReport> GetAvgPerfor(int hospitalid)
'行政职能中层绩效'
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment