mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
fix 取值异常
This commit is contained in:
@@ -87,13 +87,8 @@ namespace OpenAuth.App
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public IEnumerable<SysPrinterPlan> LoadPrinterPlans(string moduleId)
|
public IEnumerable<SysPrinterPlan> LoadPrinterPlans(string moduleId)
|
||||||
{
|
{
|
||||||
var elementIds = _revelanceApp.Get(Define.MODULEPRINTERPLAN, true, moduleId);
|
var planids = _revelanceApp.Get(Define.MODULEPRINTERPLAN, true, moduleId);
|
||||||
var query = UnitWork.Find<SysPrinterPlan>(u => elementIds.Contains(u.Id));
|
var query = UnitWork.Find<SysPrinterPlan>(u => planids.Contains(u.Id));
|
||||||
if (!string.IsNullOrEmpty(moduleId))
|
|
||||||
{
|
|
||||||
query = query.Where(u => u.Id == moduleId);
|
|
||||||
}
|
|
||||||
|
|
||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user