using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Pub_Class;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Web.Http;
using WebAPI.Models;
namespace WebAPI.Controllers
{
public class Sc_MyTicketController : ApiController
{
private json objJsonResult = new json();
SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
DataSet ds;
#region 我的工单列表(未开工,已完成,正在生产)
///
/// 返回我的工单列表
///参数:string sql。
///返回值:object。
///
[Route("Sc_MyTicket/list")]
[HttpGet]
public object list(Int64 HSourceID, string user)
{
try
{
List