示例#1
0
        public string getFund(string fund)
        {
            info_fundModel fd = new info_fundModel();

            fd.selectFund_id(fund);

            return(fd.fund_name + "^" + fd.fund_code);
        }
示例#2
0
        public string data_fund_new(string id)
        {
            info_fundModel fn = new info_fundModel();

            fn.selectFund_id(id);

            return(fn.fund_code + "^" + fn.fund_name);
        }
示例#3
0
        public void del_fund(string id)
        {
            info_fundModel fd = new info_fundModel();

            fd.selectFund_id(id);
            fd.insertFundLOG();

            fd.event_status = "D";
            fd.fund_id      = id;
            fd.updateFund();
        }
示例#4
0
        public IActionResult editFund(string fund_id, string fund_edit, string fund_code_edit)
        {
            info_fundModel fd = new info_fundModel();

            fd.selectFund_id(fund_id);
            fd.insertFundLOG();

            fd.fund_code    = fund_code_edit;
            fd.fund_name    = fund_edit;
            fd.event_status = "U";
            fd.updateFund();

            return(RedirectToAction("fund", "Information"));
        }