| | |
| | | 锘縰sing OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; |
| | | 锘縰sing Microsoft.AspNetCore.Mvc.RazorPages; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | { |
| | | return BaseDal.QueryData(x => x.LocationCode == LocationCode).FirstOrDefault(); |
| | | } |
| | | |
| | | public WebResponseContent UpdateStatus(List<string> locationCodes, int Statu) |
| | | { |
| | | List<Dt_LocationInfo> locationInfos = Repository.QueryData(x => locationCodes.Contains(x.LocationCode)); |
| | | locationInfos.ForEach(x => |
| | | { |
| | | x.LocationStatus = Statu; |
| | | }); |
| | | return UpdateData(locationInfos); |
| | | } |
| | | /// <summary> |
| | | /// 鍒嗛厤璐т綅 |
| | | /// </summary> |