yangle
2025-04-08 b0688c1efd606284fd5bc31f2d60a1fec9aef968
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
49
50
51
52
53
54
55
56
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
 
namespace BLL
{
    public class ClsSc_PackSplitBill
    {
        //生成拆包单临时记录
        /// <summary>
        /// 生成拆包单临时记录
        /// </summary>
        /// <param name="sWhere">过滤条件</param>
        /// <returns></returns> 
        public DataSet GetSc_PackSplitBillSub_Temp(long HInterID, string sWhere)
        {
            DAL.ClsSc_PackSplitBill dal = new DAL.ClsSc_PackSplitBill();
            return dal.GetInfoByID_View(HInterID, sWhere);
        }
 
        //生成拆包单临时记录 
        public bool set_SavePackSplitBill_Temp(Model.ClsSc_PackSplitBillSub oEntry, ref string sErrMsg)
        {
            DAL.ClsSc_PackSplitBill dal = new DAL.ClsSc_PackSplitBill();
            if (dal.AddBill_PDA(oEntry, ref sErrMsg))
            {
                //sErrMsg = "保存成功!";
                return true;
            }
            else
            {
                //sErrMsg = "保存失败!";
                return false;
            }
        }
 
        //生成拆包单 
        public bool set_SavePackSplitBill(Model.ClsSc_PackSplitBillMain oMain, ref string sErrMsg)
        {
            DAL.ClsSc_PackSplitBill dal = new DAL.ClsSc_PackSplitBill();
            if (dal.AddBill_PDA(oMain, ref sErrMsg))
            {
                //sErrMsg = "保存成功!";
                return true;
            }
            else
            {
                //sErrMsg = "保存失败!";
                return false;
            }
        }
 
 
    }
}