hao
2025-05-08 536ebd729a57106099f221ca3d8e7f6cf09bd727
采购反审+route,物料新增字段,
已修改6个文件
30 ■■■■■ 文件已修改
StandardInterface/MES.Service/Dto/webApi/ErpItems.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/MES.Service.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/Modes/MesItems.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/service/BasicData/Material/MesItemsManager.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/service/BasicData/RawMaterial/MesRohInManager.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MESApplication/Controllers/BasicData/MesRohInController.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
StandardInterface/MES.Service/Dto/webApi/ErpItems.cs
@@ -80,4 +80,7 @@
    public string? F_BZGS { get; set; }    //标准工时
    public string? F_FZMC { get; set; }    //物料分组名称(类型名称)
    public string? MJBM { get; set; }    //模具编码(名称)
      public string? KHWLBM { get; set; }   //客户物料编码
    public string? YS { get; set; }      //颜色
    public string? NEXT_GX { get; set; }      //下道工序
}
StandardInterface/MES.Service/MES.Service.csproj
@@ -19,6 +19,7 @@
    <ItemGroup>
      <Folder Include="Dto\webApi\SRM\" />
      <Folder Include="Dto\webApi\新文件夹\" />
      <Folder Include="Modes\SRM\" />
      <Folder Include="service\SRM\" />
    </ItemGroup>
StandardInterface/MES.Service/Modes/MesItems.cs
@@ -488,4 +488,20 @@
    [SugarColumn(ColumnName = "MJBM")]
    public string? MJBM { get; set; }
    /// <summary>
    ///     客户物料编码
    /// </summary>
    [SugarColumn(ColumnName = "KHWLBM")]
    public string? KHWLBM { get; set; }
    /// <summary>
    ///     颜色
    /// </summary>
    [SugarColumn(ColumnName = "YS")]
    public string? YS { get; set; }
    /// <summary>
    ///     下道工序
    /// </summary>
    [SugarColumn(ColumnName = "NEXT_GX")]
    public string? Next_Gx { get; set; }
}
StandardInterface/MES.Service/service/BasicData/Material/MesItemsManager.cs
@@ -219,6 +219,9 @@
            F_BZGS     =item.F_BZGS,
            WLFZMC=item.F_FZMC,
            MJBM =item.MJBM,
            KHWLBM =item.KHWLBM,
            YS=item.YS,
            Next_Gx = item.NEXT_GX,
        };
    }
StandardInterface/MES.Service/service/BasicData/RawMaterial/MesRohInManager.cs
@@ -94,9 +94,9 @@
            .Deleteable<MesRohInData>()
            .Where(s => decimals.Contains(s.Id))
            .ExecuteCommand() > 0;
        if (update && insertOrUpdate) return true;
        throw new NotImplementedException("更新失败");
        return true;
     /*   if (update && insertOrUpdate) return true;
        throw new NotImplementedException("更新失败");*/
    }
    // 插入或更新数据的方法
StandardInterface/MESApplication/Controllers/BasicData/MesRohInController.cs
@@ -34,6 +34,7 @@
        entity.Data = JsonConvert.SerializeObject(rohIn);
        entity.Status = 1;
        entity.CreateBy = "PL017";
        entity.Route= rohIn.ErpRohIn.FBillNo;
        try
        {
            dynamic resultInfos = new ExpandoObject();