现在的位置: 首页 > 综合 > 正文

彻底被你征服

2014年02月12日 ⁄ 综合 ⁄ 共 3105字 ⁄ 字号 评论关闭

什么也不说了,上一段征服你的代码看看!我仅仅改了一下格式,没有增删任何东东.

public System.Data.DataSet GetBatchHelpIss(
                    string psCompanyID, 
                    string psOrgID, 
                    string psWareHouseID, 
                    string psLocationCode, 
                    string psLocationID, 
                    string psBatchCode, 
                    string psBatchID, 
                    string psMaterialID, 
                    string psFiscalYear, 
                    string psFiscalPeriod, 
                    string psInvState, 
                    string psSpeStock, 
                    string psofObject, 
                    string psBatchNumCode, 
                    string psFlexField1, 
                    string psFlexField2, 
                    string psFlexField3, 
                    string psFlexField4, 
                    string psFlexField5, 
                    int psPage, 
                    int psSize, 
                    string psCurDate, 
                    string psBillID, 
                    string psShowType, 
                    string psBatchOrLocation, 
                    string psIfBatchMgr, 
                    string psIfLocationMgr, 
                    out int count) {
            object[] results = this.Invoke("GetBatchHelpIss", new object[] {
                        psCompanyID,
                        psOrgID,
                        psWareHouseID,
                        psLocationCode,
                        psLocationID,
                        psBatchCode,
                        psBatchID,
                        psMaterialID,
                        psFiscalYear,
                        psFiscalPeriod,
                        psInvState,
                        psSpeStock,
                        psofObject,
                        psBatchNumCode,
                        psFlexField1,
                        psFlexField2,
                        psFlexField3,
                        psFlexField4,
                        psFlexField5,
                        psPage,
                        psSize,
                        psCurDate,
                        psBillID,
                        psShowType,
                        psBatchOrLocation,
                        psIfBatchMgr,
                        psIfLocationMgr});
            count = ((int)(results[1]));
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public void GetBatchHelpIssAsync(
                    string psCompanyID, 
                    string psOrgID, 
                    string psWareHouseID, 
                    string psLocationCode, 
                    string psLocationID, 
                    string psBatchCode, 
                    string psBatchID, 
                    string psMaterialID, 
                    string psFiscalYear, 
                    string psFiscalPeriod, 
                    string psInvState, 
                    string psSpeStock, 
                    string psofObject, 
                    string psBatchNumCode, 
                    string psFlexField1, 
                    string psFlexField2, 
                    string psFlexField3, 
                    string psFlexField4, 
                    string psFlexField5, 
                    int psPage, 
                    int psSize, 
                    string psCurDate, 
                    string psBillID, 
                    string psShowType, 
                    string psBatchOrLocation, 
                    string psIfBatchMgr, 
                    string psIfLocationMgr) {
            this.GetBatchHelpIssAsync(psCompanyID, 
             psOrgID,
             psWareHouseID, 
             psLocationCode, 
             psLocationID, 
             psBatchCode,
             psBatchID, 
             psMaterialID,
             psFiscalYear, 
             psFiscalPeriod,
             psInvState, 
             psSpeStock, 
             psofObject, 
             psBatchNumCode, 
             psFlexField1, 
             psFlexField2, 
             psFlexField3, 
             psFlexField4, 
             psFlexField5, 
             psPage, 
             psSize, 
             psCurDate,
             psBillID, 
             psShowType, 
             psBatchOrLocation,
             psIfBatchMgr, 
             psIfLocationMgr,
             null);
        }
        
        /// <remarks/>
        public void GetBatchHelpIssAsync(
                    string psCompanyID, 
                    string psOrgID, 
                    string psWareHouseID, 
                    string psLocationCode, 
                    string psLocationID, 
                    string psBatchCode, 
                    string psBatchID, 
                    string psMaterialID, 
                    string psFiscalYear, 
                    string psFiscalPeriod, 
                    string psInvState, 
                    string psSpeStock, 
                    string psofObject, 
                    string psBatchNumCode, 
                    string psFlexField1, 
                    string psFlexField2, 
                    string psFlexField3, 
                    string psFlexField4, 
                    string psFlexField5, 
                    int psPage, 
                    int psSize, 
                    string psCurDate, 
                    string psBillID, 
                    string psShowType, 
                    string psBatchOrLocation, 
                    string psIfBatchMgr, 
                    string psIfLocationMgr, 
                    object userState) {
            if ((this.GetBatchHelpIssOperationCompleted == null)) {
                this.GetBatchHelpIssOperationCompleted = 
new System.Threading.SendOrPostCallback(this.OnGetBatchHelpIssOperationCompleted);
            }
            this.InvokeAsync("GetBatchHelpIss", new object[] {
                        psCompanyID,
                        psOrgID,
                        psWareHouseID,
                        psLocationCode,
                        psLocationID,
                        psBatchCode,
                        psBatchID,
                        psMaterialID,
                        psFiscalYear,
                        psFiscalPeriod,
                        psInvState,
                        psSpeStock,
                        psofObject,
                        psBatchNumCode,
                        psFlexField1,
                        psFlexField2,
                        psFlexField3,
                        psFlexField4,
                        psFlexField5,
                        psPage,
                        psSize,
                        psCurDate,
                        psBillID,
                        psShowType,
                        psBatchOrLocation,
                        psIfBatchMgr,
                        psIfLocationMgr}, this.GetBatchHelpIssOperationCompleted, userState);
        }

调用另一个库中的这样的函数出错了,你能告诉我是那个参数出错了吗?

抱歉!评论已关闭.