Commit 5ea55f63 authored by 黄奎's avatar 黄奎

页面修改

parent 7f718200
......@@ -142,5 +142,10 @@ namespace Edu.Model.Entity.StudyAbroad
/// 产品类型
/// </summary>
public StudyAbroadProductTypeEnum ProductType { get; set; }
/// <summary>
/// 特色
/// </summary>
public string StudyFeature { get; set; }
}
}
......@@ -153,6 +153,7 @@ namespace Edu.Module.StudyAbroad
{ nameof(RB_StudyAbroad_ViewModel.School_Id),model.School_Id},
{ nameof(RB_StudyAbroad_ViewModel.ImgCover),model.ImgCover},
{ nameof(RB_StudyAbroad_ViewModel.ProductType),model.ProductType},
{ nameof(RB_StudyAbroad_ViewModel.StudyFeature),model.StudyFeature},
};
flag = studyAbroadRepository.Update(fileds, new WhereHelper(nameof(RB_StudyAbroad_ViewModel.Id), model.Id));
}
......
......@@ -279,6 +279,7 @@ namespace Edu.WebApi.Controllers.StudyAbroad
item.Status,
item.ProductType,
ProductTypeName=item.ProductType.ToName(),
item.StudyFeature,
});
}
pageModel.Count = rowsCount;
......@@ -419,6 +420,7 @@ namespace Edu.WebApi.Controllers.StudyAbroad
School_Id = base.ParmJObj.GetInt("School_Id"),
ImgCover=base.ParmJObj.GetStringValue("ImgCover"),
ProductType=(StudyAbroadProductTypeEnum)base.ParmJObj.GetInt("ProductType"),
StudyFeature=base.ParmJObj.GetStringValue("StudyFeature"),
};
extModel.SaleState =Common.Enum.Sale.SaleStateEnum.NoPerfect;
bool flag = studyAbroadModule.SetStudyAbroadModule(extModel);
......@@ -510,6 +512,7 @@ namespace Edu.WebApi.Controllers.StudyAbroad
extModel.PreferentialList,
extModel.ImgCover,
extModel.ProductType,
extModel.StudyFeature,
};
return ApiResult.Success(data: obj);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment