1
王 垚
2022-11-28 ae68ef5d4843c8ea0558e607a7f7b97f78b29b79
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
 
namespace BLL
{
    public class ClsGy_Factory_Ctl
    {
        public DAL.ClsGy_Factory_Ctl dal = new DAL.ClsGy_Factory_Ctl();
        //新增
        public bool AddNew()
        {
            return dal.AddNew();
        }
 
        //修改
        public bool ModifyByID(long sItemID)
        {
            return dal.ModifyByID(sItemID);
            
        }
 
        //是否有子项目
        public bool HavChildCodes(long sItemID)
        {
            return dal.HavChildCodes(sItemID);
        }
 
        //是否有上级项目
        public bool HavParentCode(string sCode, long sItemID)
        {
            return dal.HavParentCode(sCode, sItemID);
        }
 
        //重复代码
        public bool HavSameNumber(long sItemID, string sNumber)
        {
            return dal.HavSameNumber(sItemID, sNumber);
        }
 
        //删除
        public bool DeleteByID(long sItemID)
        {
            return dal.DeleteByID(sItemID);
        }
    }
}