Example #1
0
        public H_CZ_HELP02(HelpParam helpParam) : base(helpParam)
        {
            InitializeComponent();
            base.SetIHelp = this as IHelp;
            InitGrid();

            SetDefault(base.Get타이틀명, flex, btn확인, btn검색, btn취소, txt검색);
            helpParam.QueryAction = QueryAction.RealTime;
            helpParam.IsCheck     = true;
            helpParam.MultiHelp   = true;
            txt검색.Text            = helpParam.P92_DETAIL_SEARCH_CODE;
        }
Example #2
0
        public H_CZ_HELP01(HelpParam helpParam)
            : base(helpParam)
        {
            InitializeComponent();

            base.SetIHelp = this as IHelp;
            InitGrid();

            SetDefault(base.Get타이틀명, flex, _bnOk, _bnSearch, _bnCancel, _txt검색);
            helpParam.QueryAction = QueryAction.RealTime;
            _txt검색.Text           = helpParam.P92_DETAIL_SEARCH_CODE;
        }
        public async Task <string> QueryPagedAsync([FromQuery] HelpParam param)
        {
            var filter = param.SearchLambda <Help, HelpParam>();
            var result = await _helpRepository.QueryPagedAsync(param.PageNum, param.PageSize, null, filter);

            var pageData = new PagedDto <Help>
            {
                Code     = 200,
                Msg      = "获取数据成功",
                Total    = result.TotalResults,
                PageSize = param.PageSize,
                Data     = result.Items.ToList()
            };
            var json = pageData.ToString();

            return(json);
        }
Example #4
0
        public H_CZ_CP_SUB(HelpParam helpParam) : base(helpParam)
        {
            InitializeComponent();
            base.SetIHelp = this as IHelp;

            InitGrid();

            DateTime time = Global.MainFrame.GetDateTimeToday();
            string   year = "";

            year = time.ToString("yyyy") + "0101";

            dt일자.StartDate = DateTime.ParseExact(year, "yyyyMMdd", System.Globalization.CultureInfo.InvariantCulture);
            dt일자.EndDate   = Global.MainFrame.GetDateTimeToday();

            SetDefault(base.Get타이틀명, flex, btn확인, btn검색, btn취소, txt검색);
            helpParam.QueryAction = QueryAction.RealTime;

            txt검색.Text = helpParam.P92_DETAIL_SEARCH_CODE;
        }
Example #5
0
        public H_CZ_CARD_SUB(HelpParam helpParam) : base(helpParam)
        {
            InitializeComponent();
            base.SetIHelp = this as IHelp;

            InitGrid();

            DataSet ds = Global.MainFrame.GetComboData("S;FI_B000016", "S;MA_B000057");

            SetControl st = new SetControl();

            st.SetCombobox(cbo신용카드구분, ds.Tables[0]);
            st.SetCombobox(cbo사용여부, ds.Tables[1]);

            cbo사용여부.SelectedValue = "Y";

            SetDefault(base.Get타이틀명, flex, btn확인, btn검색, btn취소, txt검색);
            helpParam.QueryAction = QueryAction.RealTime;

            txt검색.Text = helpParam.P92_DETAIL_SEARCH_CODE;
        }
Example #6
0
 private void Init(HelpParam helpParam)
 {
     //파라미터List로변환
     SetHelpParam(helpParam.UserParams);
 }
Example #7
0
 public HelpBase(HelpParam helpParam)
     : base(helpParam)
 {
     Init(helpParam);
 }
Example #8
0
        //获取数据
        public JsonResult GetHelplist(HelpParam param)
        {
            var result = new HelpLogic().GetHelpList(param);

            return(Json(result));
        }
Example #9
0
 //获取数据
 public JsonResult GetHelplist(HelpParam param)
 {
     var result = new HelpLogic().GetHelpList(param);
     return Json(result);
 }