提交代码
This commit is contained in:
@@ -79,7 +79,7 @@ namespace WebAPI.Controllers
|
||||
var getTasks = new Model.SGGLDB(Funs.ConnString).Training_Task.FirstOrDefault(x => x.PlanId == trainingPlanId);
|
||||
if (getTasks != null)
|
||||
{
|
||||
if (CommonService.IsMainUnitOrAdmin(userId))
|
||||
if (CommonService.IsMainUnitOrAdmin2(userId))
|
||||
{
|
||||
responeData.data = APITestPlanService.SaveTestPlanByTrainingPlanId(trainingPlanId, userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user