sjz
2025-09-12 0c1a03e880bbf795b771a9c8ee4b7b271c262b58
MES.Service/service/BasicData/MesRohInManager.cs
@@ -23,12 +23,8 @@
        {
            return rohInErpRohIn.Type switch
            {
                "2" or "4" or "5" => SaveOrUpdateData(db, mesRohIn,
                    mesRohInDatas)
                    ? 1
                    : 0,
                "3" => UpdateData(db, mesRohIn, mesRohInDatas) ? 1 : 0,
                _ => throw new NotImplementedException(
                "2" or "4" or "5" => SaveOrUpdateData(db, mesRohIn,  mesRohInDatas)  ? 1   : 0,
                "3" => UpdateData(db, mesRohIn, mesRohInDatas) ? 1 : 0, _ => throw new NotImplementedException(
                    $"type没有{rohInErpRohIn.Type}这个类型")
            };
        }) > 0;