调整权限

This commit is contained in:
18942506660
2024-11-01 13:52:37 +08:00
parent 9f62fad756
commit a5b28bbb47
3 changed files with 15 additions and 13 deletions

View File

@@ -105,8 +105,10 @@ namespace WMS.Web.Repositories
public async Task<(List<ProductInventoryQueryResponse> list, int total, List<decimal> details)> GetListAsync(ProductInventoryQueryRequest dto, int companyId = 0)
{
if (companyId == 0)
companyId = _loginRepositories.CompanyId;
//因为要开放给别的系统用 固定死
companyId = 1;
//if (companyId == 0)
// companyId = _loginRepositories.CompanyId;
#region erp基础资料
List<string> mNumber = new List<string>();
var materials_result = await _erpService.BillQueryForMaterial();