WELOA.BLL/Wage/GZ_Wage.cs

(开头部分) 20KB

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

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

namespace GZBLL
{
    public class GZ_Wage
    {
        
        private DateSetInformation dsinfo = new DateSetInformation();
        private ls_exception exlog = new ls_exception();
        private gz_projectDAO projectDAO = new gz_projectDAO();
        private ls_staffDAO staffDAO = new ls_staffDAO();
        private Polytechnic trinfo = new Polytechnic();
        private gz_wageDAO wageDAO = new gz_wageDAO();

        
        public Polytechnic delData(string strProjectA, string strDate)
        {
            Polytechnic Polytechnic = this.projectDAO.selectTableName(strProjectA);
            if (Polytechnic.nException > 0)
            {
                this.trinfo.nException = 1;
                return this.trinfo;
            }
            string strTable = Polytechnic.strTable;
            int nDate = Convert.ToInt32(strDate.Replace("-", ""));
            this.trinfo = this.wageDAO.delData(strTable, nDate);
            return this.trinfo;
        }

        public Polytechnic delData(int nIdStar, int nIdEnd, string strStaff, string strDepartment, string strDateStar, string strDateEnd, string strProjectA)
        {
            this.trinfo.nException = -1;
            int nDateStar = Convert.ToInt32(strDateStar.Replace("-", ""));
            int nDateEnd = Convert.ToInt32(strDateEnd.Replace("-", ""));
            Polytechnic Polytechnic = this.projectDAO.selectTableName(strProjectA);
            if (Polytechnic.nException > 0)
            {
                this.trinfo.nException = Polytechnic.nException;
                return this.trinfo;
            }
            string strTable = Polytechnic.strTable;
            this.trinfo = this.wageDAO.delData(nIdStar, nIdEnd, strStaff, strDepartment, nDateStar, nDateEnd, strTable);
            return this.trinfo;
        }

        public Polytechnic delproject(string strProjectA, string strProject)
        {
            this.trinfo.nException = -1;
            Polytechnic Polytechnic = this.projectDAO.selectTableName(strProjectA);
            if (Polytechnic.nException > 0)
            {
                return Polytechnic;
后面还有 429 行代码,解锁后查看完整代码

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

AI 解读

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

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