yxj
2024-01-08 b2abf37fac8885c23706eee389ccb4be07aceaa4
Kanban/¹¤Î»¿´°å/Sc_WGJCKKB.cs
@@ -8,6 +8,7 @@
using gregn6Lib;
using SQLHelper;
using DBUtility;
using Pub_Class;
namespace Kanban
{
@@ -72,11 +73,18 @@
            ClsCN SubCn = new ClsCN();
            string sSql = "";
            string sWhere = "";
            ClsIni oIni = new ClsIni();
            string sHWhName = ClsIni.ReadIni("Warehouse", "HWhName", Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini");
            if (sHWhName == "没有找到!")
            {
                sHWhName = "";
            }
            //过滤条件
            //if (frmCondition.SqlStr.Trim().Length == 0)
            //    return;
            //sSql = frmCondition.SqlStr + sWhere + " order by HStatus,HDate   ";
            sSql = "exec h_p_Sc_WGJCKKB";
            sSql = "exec h_p_Sc_WGJCKKB_New  '" + sHWhName + "'";
            //sSql = "exec h_p_Sc_WGJCKKB_New " + DBUtility.ClsPub.isLong(sHWhID) + ",'" + sHWhName + "'";
            //
            DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo);
            //生成首行标题