zhaoy 8ヶ月前
コミット
cff2de9357
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs

+ 2
- 2
BPA.SAAS.Manage.Application/Device/Services/DeviceService.cs ファイルの表示

@@ -27,7 +27,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services
public class DeviceService: IDeviceService, ITransient
{
ISqlSugarClient _db;
StoreServers _storeServers;
StoreServers storeServer = new();
public DeviceService(ISqlSugarClient db)
{
_db=db;
@@ -40,7 +40,7 @@ namespace BPA.SAAS.Manage.Application.Device.Services
public async Task<PageUtil> GetDeviceInfoPage(DeviceQueryInputDto inputDto)
{
RefAsync<int> total =0;
var dataStore=await _storeServers.GetStop();
var dataStore=await storeServer.GetStop();
var data = await _db.Queryable<BPA_DeviceInfo, BPA_Product>((a, b) => new JoinQueryInfos(JoinType.Left, a.ProductId == b.Id))

.WhereIF(!string.IsNullOrWhiteSpace(inputDto.StoreId), (a, b) => a.StopId == inputDto.StoreId)


読み込み中…
キャンセル
保存