Commit 43832651 authored by 黄奎's avatar 黄奎

页面修改

parent 62cd468e
...@@ -676,13 +676,15 @@ namespace Edu.Module.Customer ...@@ -676,13 +676,15 @@ namespace Edu.Module.Customer
{ {
bool flag = false; bool flag = false;
var list = customerRepository.GetCustomerListRepository(new RB_Customer_Extend() { CategoryId = CategoryId }); var list = customerRepository.GetCustomerListRepository(new RB_Customer_Extend() { CategoryId = CategoryId });
var cateModel = GetCustomerCategoryModule(NewCategoryId);
if (list != null && list.Count > 0) if (list != null && list.Count > 0)
{ {
foreach (var item in list) foreach (var item in list)
{ {
Dictionary<string, object> fileds = new Dictionary<string, object>() Dictionary<string, object> fileds = new Dictionary<string, object>()
{ {
{nameof(RB_Customer_Extend.CategoryId),NewCategoryId} {nameof(RB_Customer_Extend.CategoryId),NewCategoryId},
{nameof(RB_Customer_Extend.CustomerType),(int)cateModel.CatetoryType},
}; };
customerRepository.Update(fileds, new WhereHelper(nameof(RB_Customer_Extend.CustomerId), item.CustomerId)); customerRepository.Update(fileds, new WhereHelper(nameof(RB_Customer_Extend.CustomerId), item.CustomerId));
} }
......
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