WELOA.BLL/Attendance/KQ_Attendancedetails.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WELOA.Model;
using System.Data;
using KQDAL_SQL;
using LSDAL_SQL;
using LSBLL;
namespace KQBLL
{
public class KQ_Attendancedetails
{
private LS_IsPage Allowpages = new LS_IsPage();
private kq_attendancedetailsDAO attendancedetailsDAO = new kq_attendancedetailsDAO();
private DateSetInformation dsinfo = new DateSetInformation();
private ls_exception exlog = new ls_exception();
private kq_privilegesDAO privilegesDAO = new kq_privilegesDAO();
private ls_staffDAO staffDAO = new ls_staffDAO();
private Polytechnic trinfo = new Polytechnic();
public Polytechnic delAttendancedetails(int nIdStar, int nIdEnd, string strStaff, string strDepartment, string strDateStar, string strDateEnd)
{
this.trinfo.nException = -1;
try
{
DateTime dtDateStar = Convert.ToDateTime(strDateStar);
DateTime dtDateEnd = Convert.ToDateTime(strDateEnd).AddSeconds(86399.0);
this.trinfo = this.attendancedetailsDAO.delData(nIdStar, nIdEnd, strStaff, strDepartment, dtDateStar, dtDateEnd);
}
catch (Exception exception)
{
this.exlog.insexception("KQ_Attendancedetails.cs delAttendancedetails", exception.Message);
this.trinfo.nException = 1;
return this.trinfo;
}
return this.trinfo;
}
public DateSetInformation insAttendancedetails(DataSet ds)
{
this.dsinfo = this.attendancedetailsDAO.insAttendancedetails(ds);
return this.dsinfo;
}
public IsPage PageHtml(int Record_Per_Page, int nPage, string strPageName, string strcodeStaff, string strcodeDepartment, string strDateStar, string strDateEnd)
{
string strDepartment = strcodeDepartment.Replace("^", "");
string strStaff = strcodeStaff.Replace("^", "");
IsPage IsPage = new IsPage
{
nException = -1
};
try
{
DateTime dtDateStar = Convert.ToDateTime(strDateStar);
DateTime dtDateEnd = Convert.ToDateTime(strDateEnd).AddSeconds(86399.0);
后面还有 98 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
