示例#1
0
        public void View()
        {
            string key = Request["key"];

            if (!key.IsNullOrEmpty())
            {
                var vm = FHRIS424Service.Get(key, out this.GUID);
                return;
            }
        }
示例#2
0
        public void Edit()
        {
            string key = Request["key"];

            this.AssertNoNull(key);
            var vm = FHRIS424Service.Get(key, out this.GUID);

            try
            {
                // 编辑时加锁
                GlobalService.SetLock(vm.RID, 2);
            }
            catch (Exception ex)
            {
                this.FlashMessage += ex.Message;
                this.Action        = "VIEW";
                throw ex;
            }
        }
示例#3
0
 public void Create()
 {
     var vm = FHRIS424Service.Get("", out this.GUID);
 }