WELOA.BLL/Wage/GZ_ProjectB.cs

(开头部分) 11KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WELOA.Model;
using LSDAL_SQL;
using GZDAL_SQL;

namespace GZBLL
{
    public class GZ_ProjectB
    {
        
        private ls_departmentDAO departmentDAO = new ls_departmentDAO();
        private DateSetInformation dsinfo = new DateSetInformation();
        private gz_projectB_DAO projectB_DAO = new gz_projectB_DAO();
        private gz_projectDAO projectDAO = new gz_projectDAO();
        private ls_publicclass publicclassDAO = new ls_publicclass();
        private Polytechnic trinfo = new Polytechnic();

        
        public Polytechnic delField(string strProjectA, string strField)
        {
            this.trinfo = this.projectB_DAO.delField(strProjectA, strField);
            return this.trinfo;
        }

        public Polytechnic insField(string strProjectA, string strField)
        {
            this.trinfo.nException = -1;
            Polytechnic Polytechnic = this.publicclassDAO.selectMaxId("[序号]", "[gz_project_b]", "[所属模块]='" + strProjectA + "'");
            if (Polytechnic.nException > 0)
            {
                this.trinfo.nException = Polytechnic.nException;
                return this.trinfo;
            }
            int nid = Polytechnic.rowscount + 10;
            Polytechnic Polytechnic2 = this.projectB_DAO.selectFieldrows(strProjectA, strField);
            if (Polytechnic2.nException > 0)
            {
                this.trinfo.nException = Polytechnic2.nException;
                return this.trinfo;
            }
            if (Polytechnic2.rowscount > 0)
            {
                this.trinfo.rowscount = Polytechnic2.rowscount;
                return this.trinfo;
            }
            this.trinfo = this.projectB_DAO.insField(nid, strProjectA, strField);
            return this.trinfo;
        }

        public DateSetInformation selectField()
        {
            this.dsinfo = this.projectB_DAO.selectField();
            return this.dsinfo;
        }

        public DateSetInformation selectField(string strProjectA, string strDepartment)
        {
后面还有 215 行代码,解锁后查看完整代码

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

AI 解读

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

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