Exemplo n.º 1
0
        public void View()
        {
            string key = Request["key"];

            if (!key.IsNullOrEmpty())
            {
                var vm = FHRIS424Service.Get(key, out this.GUID);
                return;
            }
        }
Exemplo n.º 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;
            }
        }
Exemplo n.º 3
0
 public void Create()
 {
     var vm = FHRIS424Service.Get("", out this.GUID);
 }