WebAPI/Controllers/MateOutController.cs
@@ -2196,11 +2196,11 @@ #region 产线查询 [Route("MaterOutEntryReport/Gy_SourceList")] [HttpGet] public object Gy_SourceList(string HOrgid) public object Gy_SourceList(string HOrgid,string sWhere) { try { string sql1 = string.Format("select hitemid,hnumber,hname from Gy_Source where HUSEORGID="+ HOrgid + " order by hnumber"); string sql1 = string.Format("select hitemid,hnumber,hname from Gy_Source where HUSEORGID="+ HOrgid + " "+ sWhere + " order by hnumber"); ds = oCN.RunProcReturn(sql1, "Gy_Source");