This commit is contained in:
parent
a7044c64ea
commit
eaa0147cb1
|
|
@ -30,6 +30,9 @@ namespace BLL
|
|||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string personId, Grid Grid1)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var getDataLists = from x in db.Person_Duty
|
||||
select x;
|
||||
IQueryable<Model.Person_Duty> getDataList = getDataLists.Where(x => x.DutyPersonId == personId);
|
||||
count = getDataList.Count();
|
||||
if (count == 0)
|
||||
|
|
@ -46,7 +49,7 @@ namespace BLL
|
|||
x.CompilePersonId,
|
||||
x.CompileTime,
|
||||
x.WorkPostId,
|
||||
WorkPostName = Funs.DB.Base_WorkPost.First(U => U.WorkPostId == x.WorkPostId).WorkPostName,
|
||||
WorkPostName = db.Base_WorkPost.First(U => U.WorkPostId == x.WorkPostId).WorkPostName,
|
||||
x.ApprovePersonId,
|
||||
x.ApproveTime,
|
||||
x.State,
|
||||
|
|
|
|||
Loading…
Reference in New Issue