hao
2025-06-07 867590e1ad3ead0e4aa449671a526ea127722a24
即使库存,生产订单新字段
已修改4个文件
71 ■■■■■ 文件已修改
StandardInterface/MES.Service/Dto/webApi/ErpCAA.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/Modes/Womcaa.cs 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/service/CgthSqManager.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/service/WomcaaManager.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/Dto/webApi/ErpCAA.cs
@@ -64,7 +64,15 @@
    public string? RCN { get; set; }               //日产能
    public string? CG_LINE_ID { get; set; }               //采购订单行id
  public string? KH { get; set; }  //客户
  public string? KH_JCZL { get; set; }  //客户基础资料
  public string? SC_PH { get; set; }  //生产批号
  public string? MOLd_no { get; set; }  //模具号
  public string? Old_mold_no { get; set; }  //旧模具号
  public string? JT { get; set; }  //机台号
  public string? XS_CN { get; set; }  //小时产能
  public string? SJ_xs { get; set; }  //实际穴数
    public string? NEXT_Gx { get; set; }  //下道工序
    ////委外字段
    //public string? F_ZJXF_DATETIME_YHRQ { get; set; }
    //public string? F_ZJXF_BASE_KH { get; set; }
StandardInterface/MES.Service/Modes/Womcaa.cs
@@ -441,7 +441,50 @@
        ///</summary>
        [SugarColumn(ColumnName = "SUPP_ID")]
        public string SuppId { get; set; }
        /// <summary>
        /// 客户
        ///</summary>
        [SugarColumn(ColumnName = "KH")]
        public string Kh { get; set; }
        /// <summary>
        /// 客户基础资料
        ///</summary>
        [SugarColumn(ColumnName = "KH_JC")]
        public string Khjc { get; set; }
        /// <summary>
        /// 生产批号
        ///</summary>
        [SugarColumn(ColumnName = "SC_PH")]
        public string Scph { get; set; }
        /// <summary>
        /// 模具号
        ///</summary>
        [SugarColumn(ColumnName = "MOLD_NO")]
        public string Moldno { get; set; }
        /// <summary>
        /// 旧模具号
        ///</summary>
        [SugarColumn(ColumnName = "OLD_MOLD_NO")]
        public string Oldmoldno { get; set; }
        /// <summary>
        /// 机台号
        ///</summary>
        [SugarColumn(ColumnName = "JT")]
        public string Jt { get; set; }
        /// <summary>
        /// 小时产能
        ///</summary>
        [SugarColumn(ColumnName = "XS_CN")]
        public string Xscn { get; set; }
        /// <summary>
        /// 实际穴数
        ///</summary>
        [SugarColumn(ColumnName = "SJ_XS")]
        public string Sjxs { get; set; }
        /// <summary>
        /// 下道工序
        ///</summary>
        [SugarColumn(ColumnName = "NEXT_GX")]
        public string Nextgx { get; set; }
    }
}
StandardInterface/MES.Service/service/CgthSqManager.cs
@@ -116,6 +116,10 @@
      List<CgthSqDetail> mesWomcabs)
        {
            var decimals = mesWomcabs.Select(s => s.Id).ToArray();
            //扫码不允许删除
            throw new NotImplementedException("扫码不允许删除");
            var update = base.DeleteById(mesWomCgth.Id);
            var insertOrUpdate = db
                .Deleteable<CgthSqDetail>().In(decimals)
StandardInterface/MES.Service/service/WomcaaManager.cs
@@ -202,7 +202,15 @@
            RkOrg = dto.RK_ORG,           //入库组织
            Rcn=dto.RCN,                 //日产能
            Cglineid=dto.CG_LINE_ID, //采购订单行id
            Kh=dto.KH,
            Khjc=dto.KH_JCZL,
            Scph=dto.SC_PH,
            Moldno=dto.MOLd_no,
            Oldmoldno=dto.Old_mold_no,
            Jt=dto.JT,
            Xscn=dto.XS_CN,
            Sjxs=dto.SJ_xs,
            Nextgx=dto.NEXT_Gx
            //沃尔新增
            // WR_F_SCDD_SCTZD = dto.F_SCDD_SCTZD
            //WR_F_SCDD_XH = dto.F_SCDD_XH