Пример #1
0
        //记/挂账,明细详细分析
        public static DataSet GetFXData_j_g_Mx_xx(string yydh, string qymc, string cssj, string jssj, string sel_cond, string type, string czy, string jzzt, string czsj, string xxzs)
        {
            //yydh, qymc, cssj, jssj, other_cond, type, jzzt, czy_temp, czsj, xxzs
            DataSet ds = null;

            BLL.Common B_common = new Hotel_app.BLL.Common();
            string     url      = common_file.common_app.service_url + "BBfx/BBfx_app.asmx";

            object[] args = new object[10];
            args[0] = common_file.common_app.yydh;
            args[1] = common_file.common_app.qymc;
            args[2] = cssj.ToString();
            args[3] = jssj.ToString();
            args[4] = sel_cond;
            args[5] = type;
            args[6] = jzzt;
            args[7] = common_file.common_app.czy;
            args[8] = DateTime.Now.ToString();
            args[9] = common_file.common_app.xxzs;

            Hotel_app.Server.BBfx.B_g_j_fx B_g_j_fx_services = new Hotel_app.Server.BBfx.B_g_j_fx();
            string result = B_g_j_fx_services.get_g_j_mxfxData(args[0].ToString(), args[1].ToString(), args[2].ToString(), args[3].ToString(), args[4].ToString(), args[5].ToString(), args[6].ToString(), args[7].ToString(), args[8].ToString(), args[9].ToString());

            //object result = Hotel_app.我的替换DynamicWebServiceCall.InvokeWebService(url, "get_g_j_mxfx_app", args);
            if (result == common_file.common_app.get_suc)
            {
                string select_str = " id>=0  and  jzzt!=''   and   czy_temp='" + czy + "'  and  yydh='" + common_file.common_app.yydh + "'  order by  jzzt  desc,xfsj  desc ";
                //if (sel_cond.Trim() != "")
                //{
                //    select_str += sel_cond;
                //}
                ds = B_common.GetList(" select * from  BB_g_j_mxfx_ls  ", select_str);
            }
            return(ds);
        }
Пример #2
0
        internal static DataSet GetFXData_j_g_ye(string yydh, string qymc, string type, string czy_temp, string ls_cond, string czsj, string xxzs)
        {
            DataSet ds = null;

            BLL.Common B_common = new Hotel_app.BLL.Common();
            string     url      = common_file.common_app.service_url + "BBfx/BBfx_app.asmx";

            object[] args = new object[7];
            args[0] = common_file.common_app.yydh;
            args[1] = common_file.common_app.qymc;
            args[2] = type;
            args[3] = common_file.common_app.czy;
            args[4] = ls_cond;
            args[5] = DateTime.Now.ToString();
            args[6] = xxzs;

            Hotel_app.Server.BBfx.B_g_j_fx B_g_j_fx_services = new Hotel_app.Server.BBfx.B_g_j_fx();
            string result = B_g_j_fx_services.get_g_j_ye(args[0].ToString(), args[1].ToString(), args[2].ToString(), args[3].ToString(), args[4].ToString(), args[5].ToString(), args[6].ToString());

            //object result = Hotel_app.我的替换DynamicWebServiceCall.InvokeWebService(url, "get_g_j_ye", args);
            if (result != null && result == common_file.common_app.get_suc)
            {
                string select_str = " id>=0    and   czy_temp='" + czy_temp + "'  and  yydh='" + common_file.common_app.yydh + "' ";
                if (ls_cond.Trim() != "")
                {
                    select_str += ls_cond;
                }
                ds = B_common.GetList(" select * from  BBfx_s_g_j_ye_ls  ", select_str);
            }
            return(ds);
        }
Пример #3
0
        //记账,挂账统计分析   //Type是common_bb中的固定值
        public static DataSet GetFXData_j_g(string yydh, string qymc, string cssj, string jssj, string sel_cond, string type, string czy, string czsj, string xxzs)
        {
            DataSet ds = null;

            BLL.Common B_common = new Hotel_app.BLL.Common();
            string     url      = common_file.common_app.service_url + "BBfx/BBfx_app.asmx";

            object[] args = new object[9];
            args[0] = common_file.common_app.yydh;
            args[1] = common_file.common_app.qymc;
            args[2] = cssj.ToString();
            args[3] = jssj.ToString();
            args[4] = sel_cond;
            args[5] = type;
            args[6] = czy;
            args[7] = czsj;
            args[8] = xxzs;

            Hotel_app.Server.BBfx.B_g_j_fx B_g_j_fx_services = new Hotel_app.Server.BBfx.B_g_j_fx();
            string result = B_g_j_fx_services.get_g_j_fx_app(args[0].ToString(), args[1].ToString(), args[2].ToString(), args[3].ToString(), args[4].ToString(), args[5].ToString(), args[6].ToString(), args[7].ToString(), args[8].ToString());

            //object result = Hotel_app.我的替换DynamicWebServiceCall.InvokeWebService(url, "get_g_j_fx_app", args);
            if (result != null && result == common_file.common_app.get_suc)
            {
                string select_str = " id>=0  and  type='" + type + "'  and   czy_temp='" + czy + "'  and  yydh='" + common_file.common_app.yydh + "' ";
                if (sel_cond.Trim() != "")
                {
                    select_str += sel_cond;
                }
                ds = B_common.GetList(" select * from  BS_g_j_fx  ", select_str);
            }
            return(ds);
        }