Beispiel #1
0
        public ActionResult SaveSql(int id, string runSql)
        {
            var data = new ProductPublishSql()
            {
                Id     = id,
                RunSql = runSql
            };
            var re = ProductPublishVerService.SaveData(data);

            return(new OpActionResult(re));
        }
Beispiel #2
0
        public ActionResult AppendSql(int menuId, string runSql, int verId)
        {
            var data = new ProductPublishSql()
            {
                MenuId    = menuId,
                PublishId = verId,
                RunSql    = runSql
            };
            var re = ProductPublishVerService.SaveData(data);

            return(new OpActionResult(re));
        }