| | |
| | | if (dialogResult == DialogResult.OK) |
| | | { |
| | | string _folder = folderBrowserDialog.SelectedPath; |
| | | var _obj = new Gs.DevApp.Entity.XlsOutModel("xlsOut_shjh"); |
| | | var _params = new |
| | | { |
| | | orgId = ucLookOrg1.GetId(),//主建 |
| | | beginDate = dateEdit1.EditValue.ToString(), |
| | | endDate = dateEdit2.EditValue.ToString() |
| | | }; |
| | | var _obj = new Gs.DevApp.Entity.XlsOutModel("xlsOut_shjh","","","", _params); |
| | | try |
| | | { |
| | | string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutView", JsonConvert.SerializeObject(_obj)); |
| | | string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutView_NEW", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | |
| | | /// <param name="_outSortName">排序字段</param> |
| | | /// <param name="_outSortOrder">排序</param> |
| | | public XlsOutModel(string _outParameter = "", string _outWhere = "", |
| | | string _outSortName = "", string _outSortOrder = "") |
| | | string _outSortName = "", string _outSortOrder = "", object outParams = null) |
| | | { |
| | | outParameter = _outParameter; |
| | | outWhere = _outWhere; |
| | | outSortName = _outSortName; |
| | | outSortOrder = _outSortOrder; |
| | | this.outParams = outParams; |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | public string outSortOrder { get; set; } |
| | | |
| | | public object outParams { get; set; } |
| | | } |
| | | } |