BLL/TCWL_B_WorkingDay.cs

(完整代码) 1KB

namespace BLL
{
    using Common;
    using DAL;
    using Model;
    using System;
    using System.Data;

    public class TCWL_B_WorkingDay
    {
        private readonly TCWL_D_WorkingDay dal = new TCWL_D_WorkingDay();

        public bool Add(TCWL_M_WorkingDay model)
        {
            return this.dal.Add(model);
        }

        public DataTable GetByMonth(string month, string v, string srvID)
        {
            return this.dal.GetByMonth(month, v, srvID);
        }

        public string GetMonthByYear(string year, string v, string srvID)
        {
            DataTable dt = this.dal.GetMonthByYear(year, v, srvID);
            if (dt != null)
            {
                return JsonHelper.DataTableToJson(dt);
            }
            return "";
        }

        public int HasExist(string month, string v, string srvID)
        {
            return this.dal.HasExist(month, v, srvID);
        }

        public bool Update(TCWL_M_WorkingDay model)
        {
            return this.dal.Update(model);
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。