public ActionResult SaveSql(int id, string runSql) { var data = new ProductPublishSql() { Id = id, RunSql = runSql }; var re = ProductPublishVerService.SaveData(data); return(new OpActionResult(re)); }
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)); }