|
|
|
@ -83,7 +83,15 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
|
.First();
|
|
|
|
|
return DataResult<OpBusinessYardRes>.Success(data, MultiLanguageConst.DataQuerySuccess);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DataResult<OpBusinessYardRes> GetBusinessYardByKeyId(string id)
|
|
|
|
|
{
|
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|
var data = tenantDb.Queryable<BusinessYard>()
|
|
|
|
|
.Where(a => a.BusinessId == long.Parse(id))
|
|
|
|
|
.Select<OpBusinessYardRes>()
|
|
|
|
|
.First();
|
|
|
|
|
return DataResult<OpBusinessYardRes>.Success(data, MultiLanguageConst.DataQuerySuccess);
|
|
|
|
|
}
|
|
|
|
|
public DataResult BatchDelOpBusinessYard(IdModel req)
|
|
|
|
|
{
|
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
|