예제 #1
0
 public OpResult SaveReportAttendenceEntity(ReportsAttendenceModel entity)
 {
     if (DailyReportCrudFactory.ReportsAttendenceCrud.IsExist(entity))
     {
         entity.OpSign = "edit";
     }
     else
     {
         entity.OpSign = "add";
     }
     return(DailyReportCrudFactory.ReportsAttendenceCrud.Store(entity));
 }
        /// <summary>
        /// 保存出勤数据
        /// </summary>
        /// <param name="Data"></par am>
        /// <returns></returns>d
        public JsonResult SaveReportsAttendenceDatas(ReportsAttendenceModel entity)
        {
            var result = DailyReportService.InputManager.ReportAttendenceManager.SaveReportAttendenceEntity(entity);

            return(Json(result));
        }