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_ProductionReportsController : ApiController
{
public DBUtility.ClsPub.Enum_BillStatus BillStatus;
private json objJsonResult = new json();
private json objJsonResultReturn = new json();
SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
DataSet ds;
#region 生产模块 计划达成率报表
///
/// 返回计划达成率报表
///参数:string sql。
///返回值:object。
///
[Route("Sc_ProductionReport/PlanAchievementRate")]
[HttpGet]
public object PlanAchievementRate(string sWhere, string user)
{
try
{
List