xwt
7 天以前 4fe0fa8f1703a5d815e310d2084e69481c19273d
OQC加字段
已修改3个文件
22 ■■■■■ 文件已修改
MES.Service/Dto/service/XJPageResult.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/Modes/MesOqcItemsDetect02.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/service/QC/MesOqcItemsDetect02Manager.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/Dto/service/XJPageResult.cs
@@ -23,4 +23,8 @@
    public string? ReleaseNo { get; set; }
    
    public decimal? SearchIndex { get; set; }
    public string? Sjxb { get; set; }
    public string? XsDdh { get; set; }
}
MES.Service/Modes/MesOqcItemsDetect02.cs
@@ -134,7 +134,19 @@
        ///</summary>
        [SugarColumn(ColumnName = "DEPOT_ID")]
        public decimal? DepotId { get; set; }
        /// <summary>
        /// 生产线组
        ///</summary>
        [SugarColumn(ColumnName = "SJXB")]
        public string? Sjxb { get; set; }
        /// <summary>
        /// 销售订单号
        ///</summary>
        [SugarColumn(ColumnName = "XS_DDH")]
        public string? XsDdh { get; set; }
        [SugarColumn(IsIgnore = true)]
        public string? ItemName{ get; set; }
    
MES.Service/service/QC/MesOqcItemsDetect02Manager.cs
@@ -54,6 +54,10 @@
                (a, b, c, d, e) => b.ItemName.Contains(queryObj.ItemName))
            .WhereIF(StringUtil.IsNotNullOrEmpty(queryObj.ReleaseNo), 
                (a, b, c, d, e) => a.ReleaseNo.Contains(queryObj.ReleaseNo))
            .WhereIF(StringUtil.IsNotNullOrEmpty(queryObj.Sjxb),
                (a, b, c, d, e) => a.Sjxb.Contains(queryObj.Sjxb))
            .WhereIF(StringUtil.IsNotNullOrEmpty(queryObj.XsDdh),
                (a, b, c, d, e) => a.XsDdh.Contains(queryObj.XsDdh))
            .OrderByDescending((a, b, c, d, e) => a.Id)
            .Select((a, b, c, d, e) => new MesOqcItemsDetect02()
            {