小程序接口修改
This commit is contained in:
@@ -498,7 +498,7 @@ namespace BLL
|
||||
}
|
||||
if (!string.IsNullOrEmpty(strPass))
|
||||
{
|
||||
int PassingScore = SysConstSetService.getPassScore();
|
||||
int PassingScore = SysConstSetService.getPassScoreForApi();
|
||||
if (strPass == "0")
|
||||
{
|
||||
getDataLists = getDataLists.Where(x => x.TestScores < PassingScore);
|
||||
@@ -556,7 +556,7 @@ namespace BLL
|
||||
}
|
||||
if (!string.IsNullOrEmpty(strPass))
|
||||
{
|
||||
int PassingScore = SysConstSetService.getPassScore();
|
||||
int PassingScore = SysConstSetService.getPassScoreForApi();
|
||||
if (strPass == "0")
|
||||
{
|
||||
getDataLists = getDataLists.Where(x => x.TestScores < PassingScore);
|
||||
@@ -592,14 +592,14 @@ namespace BLL
|
||||
var user = db.Sys_User.FirstOrDefault(x => x.UserId == testManId);
|
||||
if (user != null)
|
||||
{
|
||||
name = UnitService.GetUnitNameByUnitId(user.UnitId);
|
||||
name = UnitService.GetUnitNameByUnitIdForApi(user.UnitId);
|
||||
}
|
||||
else
|
||||
{
|
||||
var getPerson = db.SitePerson_Person.FirstOrDefault(x => x.PersonId == testManId);
|
||||
if (getPerson != null)
|
||||
{
|
||||
name = UnitService.GetUnitNameByUnitId(getPerson.UnitId);
|
||||
name = UnitService.GetUnitNameByUnitIdForApi(getPerson.UnitId);
|
||||
}
|
||||
}
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user