WELOA.BLL/Attendance/KQ_Privileges.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WELOA.Model;
using LSBLL;
using KQDAL_SQL;
namespace KQBLL
{
public class KQ_Privileges
{
private kq_privilegesDAO privilegesDAO = new kq_privilegesDAO();
public DateSetInformation postPrivileges()
{
bool flag;
int num2;
Polytechnic Polytechnic;
bool flag2;
DateSetInformation DateSetInformation = new DateSetInformation();
DateSetInformation DateSetInformation2 = this.privilegesDAO.selectDepartment();
LS_Departmentandpost departmentandpost = new LS_Departmentandpost();
DateSetInformation DateSetInformation3 = departmentandpost.selectdepartment();
int num = 0;
while (num < DateSetInformation3.ds.Tables[0].Rows.Count)
{
flag = false;
for (num2 = 0; num2 < DateSetInformation2.ds.Tables[0].Rows.Count; num2++)
{
if (DateSetInformation3.ds.Tables[0].Rows[num][0].ToString() == DateSetInformation2.ds.Tables[0].Rows[num2][0].ToString())
{
flag = true;
}
}
if (!flag)
{
Polytechnic = this.privilegesDAO.insDepartment(DateSetInformation3.ds.Tables[0].Rows[num][0].ToString());
if (Polytechnic.nException > 0)
{
DateSetInformation.nException = Polytechnic.nException;
return DateSetInformation;
}
}
num++;
}
num2 = 0;
while (num2 < DateSetInformation2.ds.Tables[0].Rows.Count)
{
flag = false;
for (num = 0; num < DateSetInformation3.ds.Tables[0].Rows.Count; num++)
{
if (DateSetInformation2.ds.Tables[0].Rows[num2][0].ToString() == DateSetInformation3.ds.Tables[0].Rows[num][0].ToString())
{
flag = true;
}
}
if (!flag)
后面还有 80 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
