public void Update(WMS_MatConsume_ActMatMouthCheck WMS_MatConsume_ActMatMouthCheck)
        {
            tb_Sys_User tempUser = appCacheService.GetItem("user") as tb_Sys_User;

            WMS_MatConsume_ActMatMouthCheck.Validate();
            var existstb_Sys_Menu = this.GetById(WMS_MatConsume_ActMatMouthCheck.Id);

            this.WMS_MatConsume_ActMatMouthCheckRepository.SetValues(WMS_MatConsume_ActMatMouthCheck, existstb_Sys_Menu);
            this.runtimeService.Commit();
        }
        public void Create(WMS_MatConsume_ActMatMouthCheck WMS_MatConsume_ActMatMouthCheck)
        {
            WMS_MatConsume_ActMatMouthCheck.CreateDt = DateTime.Now;
            tb_Sys_User tempUser = appCacheService.GetItem("user") as tb_Sys_User;

            WMS_MatConsume_ActMatMouthCheck.CreateUser = tempUser.UserName;
            WMS_MatConsume_ActMatMouthCheck.Validate();
            this.WMS_MatConsume_ActMatMouthCheckRepository.Add(WMS_MatConsume_ActMatMouthCheck);
            this.runtimeService.Commit();
        }