Exemplo n.º 1
0
 public int Insert(ReportDataItem item)
 {
     return _dataItemDao.Insert(item);
 }
Exemplo n.º 2
0
 public int Remove(ReportDataItem item)
 {
     return _dataItemDao.Remove(item);
 }
Exemplo n.º 3
0
 public ReportDataItem Get(ReportDataItem item)
 {
     return _dataItemDao.Get(item);
 }
Exemplo n.º 4
0
 public ActionResult SaveItemsConfig(int code, string items)
 {
     ReportDataItem item = new ReportDataItem() { id = code, name = items };
     ReportDataItemService service = ReportDataItemService.GetInstance();
     service.Remove(item);
     service.Insert(item);
     return Content("修改成功");
 }