コード例 #1
0
        /// <summary>
        /// 删除其他入库
        /// </summary>
        /// <param name="otherIn"></param>
        /// <returns></returns>
        public int RemoveOtherIn(WOtherIn otherIn)
        {
            //删除其他入库
            int result = oiRepository.RemoveOtherInByStatus(otherIn.ID, StockStatusEnum.New);

            if (result > 0)
            {
                oilRepository.RemoveLinesByParentId(otherIn.ID);
            }
            return(result);
        }