去掉IDE1006警告,修改BaseEntity
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Tnb.BasicData
|
||||
// }
|
||||
|
||||
var ebom = await db.Queryable<BasEbomH>()
|
||||
.LeftJoin<BasRoute>((a,b)=>a.route_id==b.Id)
|
||||
.LeftJoin<BasRoute>((a,b)=>a.route_id==b.id)
|
||||
.Where((a,b) => a.material_id == materialId)
|
||||
.Select((a,b)=>new
|
||||
{
|
||||
@@ -67,7 +67,7 @@ namespace Tnb.BasicData
|
||||
string typeId = type?.Id;
|
||||
var queryable1 = db.Queryable<BasMaterial>()
|
||||
.LeftJoin<DictionaryDataEntity>((a,b)=>a.unit_id==b.EnCode && b.DictionaryTypeId==typeId)
|
||||
.Where((a,b) => a.Id == materialId)
|
||||
.Where((a,b) => a.id == materialId)
|
||||
.Select((a,b)=> new ElementSelectDto
|
||||
{
|
||||
value = b.EnCode,
|
||||
@@ -75,7 +75,7 @@ namespace Tnb.BasicData
|
||||
});
|
||||
var queryable2 = db.Queryable<BasMaterial>()
|
||||
.LeftJoin<DictionaryDataEntity>((a,b)=>a.pickunit_id==b.EnCode && b.DictionaryTypeId==typeId)
|
||||
.Where((a,b) => a.Id == materialId)
|
||||
.Where((a,b) => a.id == materialId)
|
||||
.Select((a,b)=> new ElementSelectDto
|
||||
{
|
||||
value = b.EnCode,
|
||||
|
||||
Reference in New Issue
Block a user