Commit d10d2240 authored by 黄奎's avatar 黄奎

页面修改

parent 2150cb5f
...@@ -225,11 +225,12 @@ namespace Mall.Module.TradePavilion ...@@ -225,11 +225,12 @@ namespace Mall.Module.TradePavilion
/// <returns></returns> /// <returns></returns>
public bool RemoveTrdceConsultModule(int Id) public bool RemoveTrdceConsultModule(int Id)
{ {
Dictionary<string, object> fileds = new Dictionary<string, object>() //Dictionary<string, object> fileds = new Dictionary<string, object>()
{ //{
{nameof(RB_Commerce_Consult_Extend.Status),(int)DateStateEnum.Delete }, // {nameof(RB_Commerce_Consult_Extend.Status),(int)DateStateEnum.Delete },
}; //};
bool flag = consultRepository.Update(fileds, new WhereHelper(nameof(RB_Commerce_Consult_Extend.Id), Id)); bool flag = consultRepository.DeleteOne(new WhereHelper(nameof(RB_Commerce_Consult_Extend.Id), Id));
// consultRepository.Update(fileds, new WhereHelper(nameof(RB_Commerce_Consult_Extend.Id), Id));
return flag; return flag;
} }
......
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