示例#1
0
        public JsonResult AccMassInsertUpdate(string updateAccmacc, string newAccmacc, string AccKy)
        {
            var UsrKy = HTNSession.UsrKy;
            var CKy   = HTNSession.CKy;

            var AccMassInsertUpdate = apiOpr.AccMassInsertUpdate(HTNSession.Environment, CKy, UsrKy,
                                                                 newAccmacc, updateAccmacc);

            if (AccMassInsertUpdate)
            {
                HTNCache.ClearCacheItems("AccID", "CKy:" + CKy.ToString());
                HTNCache.ClearCacheItems("AccNm", "CKy:" + CKy.ToString());
            }
            return(Json(AccMassInsertUpdate, JsonRequestBehavior.AllowGet));
        }