智云SRM-WEBAPI(目前客户通用API)
1
yusijie
2025-02-07 d74b85f0c08da89bf57c0de6eed3d74066dbd627
WebAPI/Controllers/PODemandPlanController.cs
@@ -36,7 +36,7 @@
            {
                string VsWhere = "";
                string PcWhere = "";
                SQLHelper.ClsCNSRM oCn = new SQLHelper.ClsCNSRM();
                SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
                DataSet ds;
                //其他过滤
               string sql = " Where hsupid in (select HSupID from h_v_Gy_UserSupplierList where 用户=^^" + HSupNo.Trim() + "^^) " + sqlWhere;
@@ -51,7 +51,7 @@
                    return objjson;
                }
                //获取总行数
                Int64 RowTotal = Common.GetRowTotal("H_v_SRM_PODemandPlanBillList", VsWhere, ref DBUtility.ClsPub.sExeReturnInfo);
                Int64 RowTotal = Common.GetRowTotal("h_v_SRM_JIT_PODemandPlanBillList", VsWhere, ref DBUtility.ClsPub.sExeReturnInfo);
                //获取返回数据
                ds = oCn.RunProcReturn("exec H_p_SRM_PODemandPlanBillList '" + PcWhere + "'", "H_p_SRM_PODemandPlanBillList");
                if (ds == null || ds.Tables[0].Rows.Count == 0)