啊鑫
2024-08-21 70f330ed92609309b73a3d7f2ad8d8f70c5df316
修正版本
已修改12个文件
135 ■■■■■ 文件已修改
MES.Service/Modes/MesInvBusiness2.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/Modes/MesInvItemBarcodes.cs 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/Modes/MesInvItemInCDetails.cs 86 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/Modes/MesInvItemStocks.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/bin/Debug/net8.0/MES.Service.dll 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/bin/Debug/net8.0/MES.Service.pdb 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/service/Warehouse/OpeningReceiptServer.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MESApplication/bin/Debug/net8.0/MES.Service.dll 补丁 | 查看 | 原始文档 | blame | 历史
MESApplication/bin/Debug/net8.0/MES.Service.pdb 补丁 | 查看 | 原始文档 | blame | 历史
MESApplication/bin/Debug/net8.0/MESApplication.dll 补丁 | 查看 | 原始文档 | blame | 历史
MESApplication/bin/Debug/net8.0/MESApplication.exe 补丁 | 查看 | 原始文档 | blame | 历史
MESApplication/bin/Debug/net8.0/MESApplication.pdb 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/Modes/MesInvBusiness2.cs
@@ -229,5 +229,5 @@
    ///     物料id
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_ID")]
    public decimal ItemId { get; set; }
    public decimal? ItemId { get; set; }
}
MES.Service/Modes/MesInvItemBarcodes.cs
@@ -1,7 +1,10 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace MES.Service.Modes;
namespace MES.Service.Modes
{
/// <summary>
///     物料条码表
/// </summary>
@@ -456,24 +459,42 @@
     ///     报工时间
     /// </summary>
    [SugarColumn(ColumnName = "WORK_FLGTIME")]
    public string? WorkFlgtime { get; set; }
        public string WorkFlgtime { get; set; }
    /// <summary>
    ///     报工时间
        /// 采购订单ID
    /// </summary>
    [SugarColumn(ColumnName = "EBELN_K3ID")]
    public string? EbelnK3id { get; set; }
        public decimal? EbelnK3id { get; set; }
    /// <summary>
    ///     报工时间
        /// 采购订单行ID
    /// </summary>
    [SugarColumn(ColumnName = "LINE_K3ID")]
    public string? LineK3id { get; set; }
        public decimal? LineK3id { get; set; }
    /// <summary>
    ///     物料id
        ///
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_ID")]
    public decimal ItemId { get; set; }
        public decimal? ItemId { get; set; }
        /// <summary>
        /// 生产工序ID
        ///</summary>
        [SugarColumn(ColumnName = "GX_ID")]
        public decimal? GxId { get; set; }
        /// <summary>
        /// 组织id
        ///</summary>
        [SugarColumn(ColumnName = "ORG_NAME")]
        public string OrgName { get; set; }
        /// <summary>
        /// 货主id
        ///</summary>
        [SugarColumn(ColumnName = "ORG_OWNER")]
        public string OrgOwner { get; set; }
    }
}
MES.Service/Modes/MesInvItemInCDetails.cs
@@ -13,31 +13,31 @@
    /// </summary>
    [SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_INV_ID",
        IsPrimaryKey = true)]
    public decimal Id { get; set; }
    public decimal? Id { get; set; }
    /// <summary>
    ///     入库单id
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_IN_ID", IsPrimaryKey = true)]
    public decimal ItemInId { get; set; }
    public decimal? ItemInId { get; set; }
    /// <summary>
    ///     物料条码PSN
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_BARCODE")]
    public string ItemBarcode { get; set; }
    public string? ItemBarcode { get; set; }
    /// <summary>
    ///     客户物料编码(无条码手工录入,有条码为冗余字段)
    /// </summary>
    [SugarColumn(ColumnName = "C_ITEM_CODE")]
    public string CItemCode { get; set; }
    public string? CItemCode { get; set; }
    /// <summary>
    ///     客户物料条码
    /// </summary>
    [SugarColumn(ColumnName = "C_ITEM_BARCODE")]
    public string CItemBarcode { get; set; }
    public string? CItemBarcode { get; set; }
    /// <summary>
    ///     验收数量
@@ -61,7 +61,7 @@
    ///     创建人
    /// </summary>
    [SugarColumn(ColumnName = "CREATE_BY")]
    public string CreateBy { get; set; }
    public string? CreateBy { get; set; }
    /// <summary>
    ///     创建时间
@@ -73,7 +73,7 @@
    ///     最后更新人
    /// </summary>
    [SugarColumn(ColumnName = "LASTUPDATE_BY")]
    public string LastupdateBy { get; set; }
    public string? LastupdateBy { get; set; }
    /// <summary>
    ///     最后更新时间
@@ -91,13 +91,13 @@
    ///     本司物料编码(无条码手工录入,有条码为冗余字段)
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_NO")]
    public string ItemNo { get; set; }
    public string? ItemNo { get; set; }
    /// <summary>
    ///     厂家批次
    /// </summary>
    [SugarColumn(ColumnName = "LOT_NO")]
    public string LotNo { get; set; }
    public string? LotNo { get; set; }
    /// <summary>
    ///     是否共管物料(0:否,1:是)
@@ -109,13 +109,13 @@
    ///     客户编码
    /// </summary>
    [SugarColumn(ColumnName = "CUST_NO")]
    public string CustNo { get; set; }
    public string? CustNo { get; set; }
    /// <summary>
    ///     检验结果
    /// </summary>
    [SugarColumn(ColumnName = "CHECK_RES")]
    public string CheckRes { get; set; }
    public string? CheckRes { get; set; }
    /// <summary>
    ///     进货数量
@@ -127,7 +127,7 @@
    ///     检验状态
    /// </summary>
    [SugarColumn(ColumnName = "CHECK_STATES")]
    public string CheckStates { get; set; }
    public string? CheckStates { get; set; }
    /// <summary>
    ///     强制入库标记0无,1-强制入库  退料单使用
@@ -139,31 +139,31 @@
    ///     仓库编码
    /// </summary>
    [SugarColumn(ColumnName = "DEPOT_CODE")]
    public string DepotCode { get; set; }
    public string? DepotCode { get; set; }
    /// <summary>
    ///     货位编码
    /// </summary>
    [SugarColumn(ColumnName = "DEPOT_SECTION_CODE")]
    public string DepotSectionCode { get; set; }
    public string? DepotSectionCode { get; set; }
    /// <summary>
    ///     特记事项
    /// </summary>
    [SugarColumn(ColumnName = "REMARK")]
    public string Remark { get; set; }
    public string? Remark { get; set; }
    /// <summary>
    ///     物料条码
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_BARCODE2")]
    public string ItemBarcode2 { get; set; }
    public string? ItemBarcode2 { get; set; }
    /// <summary>
    ///     新条码
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_BARCODE3")]
    public string ItemBarcode3 { get; set; }
    public string? ItemBarcode3 { get; set; }
    /// <summary>
    ///     使用数量
@@ -181,7 +181,7 @@
    ///     物料简称
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_SNAME")]
    public string ItemSname { get; set; }
    public string? ItemSname { get; set; }
    /// <summary>
    ///     档位低值
@@ -205,7 +205,7 @@
    ///     单位
    /// </summary>
    [SugarColumn(ColumnName = "UNIT")]
    public string Unit { get; set; }
    public string? Unit { get; set; }
    /// <summary>
    ///     是否检验
@@ -217,19 +217,19 @@
    ///     采购订单
    /// </summary>
    [SugarColumn(ColumnName = "EBELN")]
    public string Ebeln { get; set; }
    public string? Ebeln { get; set; }
    /// <summary>
    ///     生产日期
    /// </summary>
    [SugarColumn(ColumnName = "LOT_DATE")]
    public string LotDate { get; set; }
    public string? LotDate { get; set; }
    /// <summary>
    ///     入库单号
    /// </summary>
    [SugarColumn(ColumnName = "BILL_NO")]
    public string BillNo { get; set; }
    public string? BillNo { get; set; }
    /// <summary>
    ///     入库审核标志
@@ -241,25 +241,25 @@
    ///     分厂编码
    /// </summary>
    [SugarColumn(ColumnName = "FACTORY")]
    public string Factory { get; set; }
    public string? Factory { get; set; }
    /// <summary>
    ///     公司代码
    /// </summary>
    [SugarColumn(ColumnName = "COMPANY")]
    public string Company { get; set; }
    public string? Company { get; set; }
    /// <summary>
    ///     卡板编码
    /// </summary>
    [SugarColumn(ColumnName = "CB_NO")]
    public string CbNo { get; set; }
    public string? CbNo { get; set; }
    /// <summary>
    ///     箱号
    /// </summary>
    [SugarColumn(ColumnName = "BOX_NO")]
    public string BoxNo { get; set; }
    public string? BoxNo { get; set; }
    /// <summary>
    ///     仓库ID
@@ -277,7 +277,7 @@
    ///     行号
    /// </summary>
    [SugarColumn(ColumnName = "LINE_NUM")]
    public string LineNum { get; set; }
    public string? LineNum { get; set; }
    /// <summary>
    ///     扫码数量
@@ -289,7 +289,7 @@
    ///     销售订单
    /// </summary>
    [SugarColumn(ColumnName = "VGBEL")]
    public string Vgbel { get; set; }
    public string? Vgbel { get; set; }
    /// <summary>
    ///     销售订单行号
@@ -301,7 +301,7 @@
    ///     任务单号
    /// </summary>
    [SugarColumn(ColumnName = "WORK_NO")]
    public string WorkNo { get; set; }
    public string? WorkNo { get; set; }
    /// <summary>
    ///     行号
@@ -313,7 +313,7 @@
    ///     到货单号
    /// </summary>
    [SugarColumn(ColumnName = "CBILL_NO")]
    public string CbillNo { get; set; }
    public string? CbillNo { get; set; }
    /// <summary>
    ///     急料标识
@@ -325,7 +325,7 @@
    ///     产品型号
    /// </summary>
    [SugarColumn(ColumnName = "BOARD_STYLE")]
    public string BoardStyle { get; set; }
    public string? BoardStyle { get; set; }
    /// <summary>
    ///     任务单行号
@@ -337,19 +337,37 @@
    ///     生产工单
    /// </summary>
    [SugarColumn(ColumnName = "TASK_NO")]
    public string TaskNo { get; set; }
    public string? TaskNo { get; set; }
    /// <summary>
    ///     供应商
    /// </summary>
    [SugarColumn(ColumnName = "SUPP_NO")]
    public string SuppNo { get; set; }
    public string? SuppNo { get; set; }
    /// <summary>
    ///     任务汇报单
    /// </summary>
    [SugarColumn(ColumnName = "RBILL_NO")]
    public string RbillNo { get; set; }
    public string? RbillNo { get; set; }
    /// <summary>
    ///     采购订单id
    /// </summary>
    [SugarColumn(ColumnName = "EBELN_K3ID")]
    public decimal? EbelnK3id { get; set; }
    /// <summary>
    ///     采购订单行id
    /// </summary>
    [SugarColumn(ColumnName = "LINE_K3ID")]
    public decimal? LineK3id { get; set; }
    /// <summary>
    ///     物料id
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_ID")]
    public decimal? ItemId { get; set; }
    /// <summary>
    ///     采购订单id
MES.Service/Modes/MesInvItemStocks.cs
@@ -205,5 +205,5 @@
    ///     采购订单行id
    /// </summary>
    [SugarColumn(ColumnName = "ITEM_ID")]
    public decimal ItemId { get; set; }
    public decimal? ItemId { get; set; }
}
MES.Service/bin/Debug/net8.0/MES.Service.dll
Binary files differ
MES.Service/bin/Debug/net8.0/MES.Service.pdb
Binary files differ
MES.Service/service/Warehouse/OpeningReceiptServer.cs
@@ -77,13 +77,13 @@
        return entity;
    }
    public MesInvItemIns GetMesInvItemIns(decimal id)
    public MesInvItemIns GetMesInvItemIns(decimal? id)
    {
        return Db.Queryable<MesInvItemIns>()
            .Where(s => s.Id == id).Single();
    }
    public List<MesInvItemInCDetails> GetMesInvItemInCDetailsList(decimal id)
    public List<MesInvItemInCDetails> GetMesInvItemInCDetailsList(decimal? id)
    {
        return Db.Queryable<MesInvItemInCDetails, MesUnit>((a, b) =>
                new JoinQueryInfos(JoinType.Inner, a.Unit == b.Id.ToString()))
MESApplication/bin/Debug/net8.0/MES.Service.dll
Binary files differ
MESApplication/bin/Debug/net8.0/MES.Service.pdb
Binary files differ
MESApplication/bin/Debug/net8.0/MESApplication.dll
Binary files differ
MESApplication/bin/Debug/net8.0/MESApplication.exe
Binary files differ
MESApplication/bin/Debug/net8.0/MESApplication.pdb
Binary files differ