示例#1
0
        public string GetHandoverLogWithSimpleGridFormat(int handoverLogId)
        {
            DataTable dt = HandoverLogService.GetHandoverLogByHandoverLogId(handoverLogId);

            return(JsonHelper.DataTableFirstRowToJson(dt));
        }
示例#2
0
        public string GetWorkingSectionAssignmentWithDataGridFormat(int handoverLogId)
        {
            DataTable dt = HandoverLogService.GetWorkingSectionAssignmentByHandoverLogId(handoverLogId);

            return(DataGridJsonParser.DataTableToJson(dt, "WorkingSectionID", "StaffID", "StaffName", "WorkingSectionName"));
        }
示例#3
0
        public string GetHandoverLogWithDataGridFormat()
        {
            DataTable dt = HandoverLogService.GetHandoverLog();

            return(DataGridJsonParser.DataTableToJson(dt, "ID", "ProductLineID", "ProductLineName", "ShiftDate", "Shifts", "WorkingTeamID", "WorkingTeamName", "ChargeManID", "ChargeManName"));
        }