qinchulong
2024-10-12 b17d60113095491a95557f6f785cb1c0e744e8cc
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
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_IRepository;
using WIDESEA_IServices;
using WIDESEA_Model.Models;
 
namespace WIDESEA_Services
{
    public class Dt_OutOrderAndStock_HtyService : ServiceBase<Dt_OutOrderAndStock_Hty, IDt_OutOrderAndStock_HtyRepository>, IDt_OutOrderAndStock_HtyService
    {
        private readonly IUnitOfWorkManage _unitOfWorkManage;
 
        public Dt_OutOrderAndStock_HtyService(IDt_OutOrderAndStock_HtyRepository BaseDal,
                                  IUnitOfWorkManage unitOfWorkManage) : base(BaseDal)
        {
            _unitOfWorkManage = unitOfWorkManage;
        }
 
        /// <summary>
        /// 导航添加(添加库存主从历史,订单主从历史)
        /// </summary>
        /// <param name="stock">出库物料信息历史</param>
        /// <returns>成功/失败</returns>
        public bool InsertNav(Dt_OutOrderAndStock_Hty stock)
        {
            return BaseDal.InsertNav(stock);
        }
    }
}