WELOA.BLL/Attendance/KQ_Install.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WELOA.Model;
using WELOA.Common;
using KQDAL_SQL;
using LSDAL_SQL;
namespace KQBLL
{
public class KQ_Install
{
private kq_install kq_installDAO = new kq_install();
private ls_install LS_installDAO = new ls_install();
private Polytechnic trinfo = new Polytechnic();
public Polytechnic createTable_AttendanceDetails()
{
string strTableName = "kq_attendancedetails";
this.trinfo = this.LS_installDAO.selectTable(strTableName);
if (this.trinfo.nException <= 0)
{
if (this.trinfo.rowsnum > 0)
{
this.trinfo = this.LS_installDAO.delTable(strTableName);
if (this.trinfo.nException > 0)
{
return this.trinfo;
}
}
this.trinfo = this.kq_installDAO.createTable_AttendanceDetails();
}
return this.trinfo;
}
public Polytechnic createTable_KQ()
{
WELOAInfoParameter ls_oa = new WELOAInfoParameter();
if (!ls_oa.componentsBL().Contains<string>("kq"))
{
this.trinfo.strFail = "不用安装";
return this.trinfo;
}
this.trinfo = this.createTable_AttendanceDetails();
if (this.trinfo.nException <= 0)
{
this.trinfo = this.createTable_postanddepartment();
}
return this.trinfo;
}
public Polytechnic createTable_postanddepartment()
{
this.trinfo = new Polytechnic();
string strTableName = "kq_postanddepartment";
this.trinfo.nException = -1;
this.trinfo = this.LS_installDAO.selectTable(strTableName);
后面还有 30 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
