供应商管理中的供应商账号 将供应商账号禁用后还能正常登录

dev
schry 2 years ago
parent 0f1d57bcfa
commit 58bd268f47

@ -113,6 +113,10 @@ public class CustomerController {
List<AuthRoleAdmin> objects = new ArrayList<>();
if( byCustomerld !=null && byCustomerld.size()>0){
for (AuthAdmin authAdmin : byCustomerld) {
//修改关联的用户状态
authAdmin.setUserFlag(customerDetailEntity.getUserFlag());
authAdminService.updateAuthAdmin(authAdmin);
List<AuthRoleAdmin> authRoleAdmins = authRoleAdminService.listByAdminId(authAdmin.getId());
if(authRoleAdmins!=null && authRoleAdmins.size()>0) {
authRoleAdmin.setRole_id(Long.valueOf(customerDetailEntity.getRoleId()));

@ -509,7 +509,6 @@
basic_products.sfwblztlcp,
basic_products.cgzmraqxgxx,
basic_products.sfbjwycxsy,
basic_products.zdcfsycs,
basic_products.sfwwjbz,
basic_products.syqsfxyjxmj,
basic_products.mjfs,

Loading…
Cancel
Save