BLL/BLLAccountday.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common;
using DA;
using System.Data;
namespace BLL
{
   public class BLLAccountday
    {

       public static int T_Account_date_Insert(CTaccount_date cacc, out string message)
       {
           int ret = 0;
           message = string.Empty;
           DBAccountday dbacc = new DBAccountday();
           try
           {
               using (dbacc)
               {
                   ret = dbacc.T_Account_date_Insert(cacc);
               }           
           }
           catch (Exception ex)
           {
               dbacc.Dispose();
               message = ex.Message;
           }
        
           return ret;
       }


       public static DataTable GetAccountByDate(DateTime startdate, DateTime enddate, out string message)
       {
           DataTable dtret = new DataTable();
           message = string.Empty;
           DBAccountday dbacc = new DBAccountday();
           try
           {
               using (dbacc)
               {
                   dtret = dbacc.GetAccountByDate(startdate,enddate,out message);
               }           
           }
           catch (Exception ex)
           {
               dbacc.Dispose();
               message = ex.Message;
 
           }
           return dtret;
       }

       public static bool DelAccountDayByID(int id, out string message)
       {
           bool dtret=false;
           message = string.Empty;
           DBAccountday dbacc = new DBAccountday();
后面还有 17 行代码,购买后查看完整代码

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

AI 解读 AI

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

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