public static string GetAssessmentVersion(string mOrganizationID, string mWorkingSectionID) { DataTable table = StaffAssessmentService.GetAssessmentVersionTable(mOrganizationID, mWorkingSectionID); string json = EasyUIJsonParser.DataGridJsonParser.DataTableToJson(table); return(json); }
public static string CalculateStaffAssessment(string mProductionID, string mWorkingSectionID, string mStaffId, string mStaffName, string mGroupName, string mGroupId, string mStartTime, string mVersionId, string mStatisticalCycle) { //mGroupName, 5 //mVersionId, 7 //mStatisticalCycle 8 //生成引领表 DataTable tzTable = StaffAssessmentService.GetStaffAssessmentTZ(mProductionID, mWorkingSectionID, mStaffId, mStaffName, mGroupId, mGroupName, mStartTime, mVersionId, mStatisticalCycle); //GetStaffAssessmentCalculateResult DataTable CalculateResult = StaffAssessmentService.GetStaffAssessmentCalculateResult(tzTable, mVersionId, mStatisticalCycle); string tzTableJson = EasyUIJsonParser.DataGridJsonParser.DataTableToJson(tzTable); string CalculateResultJson = EasyUIJsonParser.DataGridJsonParser.DataTableToJson(CalculateResult); return(tzTableJson + "&" + CalculateResultJson); }