提交质量接口修改
This commit is contained in:
@@ -131,6 +131,7 @@ namespace BLL
|
||||
x.RealTrainPersons,
|
||||
x.CompileDate,
|
||||
x.CompileMan,
|
||||
x.AttachUrl,
|
||||
CompileManName = (from y in db.Person_Persons where y.PersonId == x.CompileMan select y.PersonName).First(),
|
||||
};
|
||||
List<Model.Train_TrainPlan> res = new List<Model.Train_TrainPlan>();
|
||||
@@ -152,6 +153,7 @@ namespace BLL
|
||||
cd.RealTrainPersons = item.RealTrainPersons;
|
||||
cd.CompileDate = item.CompileDate;
|
||||
cd.CompileMan = item.CompileMan + "$" + item.CompileManName;
|
||||
cd.AttachUrl = AttachFileService.getFileUrl(item.TrainPlanId);
|
||||
res.Add(cd);
|
||||
}
|
||||
return res;
|
||||
@@ -173,6 +175,7 @@ namespace BLL
|
||||
q.PlanTrainPersons = q.PlanTrainPersons + "$" + ConvertPlanTrainPersons(q.PlanTrainPersons);
|
||||
q.TrainTypeId = q.TrainTypeId + "$" + (from y in db.Base_CQMSTrainType where y.TrainTypeId == q.TrainTypeId select y.TrainTypeName).First();
|
||||
q.RealTrainPersons = q.RealTrainPersons + "$" + Person_PersonsService.getPersonsNamesPersonIds(q.RealTrainPersons);
|
||||
q.HostMan = q.HostMan + "$" + BLL.Person_PersonsService.getPersonsNamesPersonIds(q.HostMan);
|
||||
q.CompileMan = q.CompileMan + "$" + BLL.Person_PersonsService.GetPersonsNameById(q.CompileMan);
|
||||
q.AttachUrl = AttachFileService.getFileUrl(q.TrainPlanId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user