示例#1
0
        //签到记录
        public ActionResult Acttendance(string peo_ID)
        {
            AttendanceService attendanceService = new AttendanceService();

            if (attendanceService.AddNew(peo_ID) == true)
            {
                return(Json(attendanceService.GetTimes(peo_ID, true)));
            }
            else
            {
                return(Json(attendanceService.GetTimes(peo_ID, false)));
            }
        }