更改FTP文件导入

This commit is contained in:
2026-01-28 15:04:16 +08:00
parent f65fa21760
commit b940170607
44 changed files with 2748 additions and 271 deletions

View File

@@ -23,7 +23,7 @@ namespace FATrace.WPLApp.ViewModels
_fsql = fsql;
_log = log;
Items = new ObservableCollection<OEMInventoryTransaction>();
Items = new ObservableCollection<OEMInOutbound>();
SearchCommand = new DelegateCommand(async () => await SearchAsync(), () => !IsBusy)
.ObservesProperty(() => IsBusy);
@@ -67,7 +67,7 @@ namespace FATrace.WPLApp.ViewModels
#endregion
#region
public ObservableCollection<OEMInventoryTransaction> Items { get; }
public ObservableCollection<OEMInOutbound> Items { get; }
private bool _isBusy;
public bool IsBusy { get => _isBusy; set { _isBusy = value; RaisePropertyChanged(); } }
@@ -125,7 +125,7 @@ namespace FATrace.WPLApp.ViewModels
var data = await Task.Run(() =>
{
var q = _fsql.Select<OEMInventoryTransaction>();
var q = _fsql.Select<OEMInOutbound>();
if (!string.IsNullOrWhiteSpace(Origin))
q = q.Where(a => a.Origin != null && a.Origin.Contains(Origin));