tangxu
2024-10-08 5b4d8149f7a26042182b2a5f3e84eb765ec71e2f
WebApi/Controllers/ZyPrjController.cs
@@ -474,7 +474,8 @@
            dto_prj.Switchs = new List<SubmitPrjSwitchInfo>();
            if (defaultPrj.PumpSwitchs != null)
            {
                foreach (var bt in defaultPrj.PumpSwitchs)
                var fi_PumpSwitchs = from x in defaultPrj.PumpSwitchs orderby x.Time select x;
                foreach (var bt in fi_PumpSwitchs)
                {
                    ZyDto.SubmitPrjSwitchInfo dto_item = new ZyDto.SubmitPrjSwitchInfo();
                    dto_item.Index = bt.Index;