監(jiān)理公司管理系統(tǒng) | 工程企業(yè)管理系統(tǒng) | OA系統(tǒng) | ERP系統(tǒng) | 造價咨詢管理系統(tǒng) | 工程設計管理系統(tǒng) | 甲方項目管理系統(tǒng) | 簽約案例 | 客戶案例 | 在線試用
X 關閉

學員出勤課時消耗金額高精度分析

申請免費試用、咨詢電話:400-8352-114

當一名學員交了學費,不能算是學校實際收入,必需將學員的課程授完,才算結束。那么在學員出勤的過程中,有時候我們需要動態(tài)的計算學員某段時間內消耗了多少課時,對應的學費應當是多少?看似簡單的問題,實際操作如果要做到高精準度并不容易。因為優(yōu)惠的客觀存在,還有某段時間內學員存在多次購買課時,并且單價不同都會影響結果的精準度。培訓管理軟件一直在研究這個課題,并且已經將這個模塊成熟化,性能也做了大幅度優(yōu)化,目前連普通的ACCESS版也可以使用此功能,處于行業(yè)領先地位。下面就展示給大家如何使用此功能,并且如何進行分析統(tǒng)計?


第一步、系統(tǒng)-基礎參數(shù)-學員/員工考勤設置:開啟高精度出勤課時價值計算


第二步、重計歷史數(shù)據(jù):



查詢設計:

查詢老師所帶學員課時金額總消耗


Select
Users.TrueName as 老師,
sum(Attend.Lessons) as 總課時,
sum(Attend.Price) as 總金額
 
from Attend,LessonDegree,Class,Users
where LessonDegree.LessonDegreeID = Attend.LessonDegreeID
and LessonDegree.TeacherID = Users.UserID
and LessonDegree.ClassID = Class.ClassID
and LessonDegree.StartDate >= {@StartDate:開始日期}
and LessonDegree.EndDate <= {@EndDate:結束日期}
and Class.SchoolID in ( {@SchoolID:校區(qū)} )
group by LessonDegree.TeacherID,Users.TrueName



查詢課程實時消費(子查詢學員消費)


主查詢:

Select
Class.CourseName as 課程,
sum(Attend.Lessons) as 總課時,
sum(Attend.Price) as 總金額,
Class.CourseID as ShowKey
from Attend,LessonDegree,Class,Users
where LessonDegree.LessonDegreeID = Attend.LessonDegreeID
and LessonDegree.TeacherID = Users.UserID
and LessonDegree.ClassID = Class.ClassID
and LessonDegree.StartDate >= {@StartDate:開始日期}
and LessonDegree.EndDate <= {@EndDate:結束日期}
and Class.SchoolID in ( {@SchoolID:校區(qū)} )
group by Class.CourseID,Class.CourseName

子查詢:

Select
StuClass.StudentName as 學員,
sum(Attend.Lessons) as 總課時,
sum(Attend.Price) as 總金額
from Attend,LessonDegree,Class,StuClass
where LessonDegree.LessonDegreeID = Attend.LessonDegreeID
and Attend.StuClassID = StuClass.StuClassID
and LessonDegree.ClassID = Class.ClassID
and LessonDegree.StartDate >= {@StartDate}
and LessonDegree.EndDate <= {@EndDate}
and Class.SchoolID in ( {@SchoolID} )
and Class.CourseID = {@ShowKey}
group by StuClass.StudentID,StuClass.StudentName


發(fā)布:2007-03-30 09:49    編輯:泛普軟件 · xiaona    [打印此頁]    [關閉]