|
@@ -6,7 +6,6 @@ import com.qmth.distributed.print.business.backup.MySQLDatabaseBackup;
|
|
import com.qmth.distributed.print.business.bean.params.SysAdminSetParam;
|
|
import com.qmth.distributed.print.business.bean.params.SysAdminSetParam;
|
|
import com.qmth.distributed.print.business.bean.result.CustomPrivilegeResult;
|
|
import com.qmth.distributed.print.business.bean.result.CustomPrivilegeResult;
|
|
import com.qmth.distributed.print.business.bean.result.SysAdminSetResult;
|
|
import com.qmth.distributed.print.business.bean.result.SysAdminSetResult;
|
|
-import com.qmth.teachcloud.common.annotation.EditKey;
|
|
|
|
import com.qmth.teachcloud.common.annotation.OperationLogDetail;
|
|
import com.qmth.teachcloud.common.annotation.OperationLogDetail;
|
|
import com.qmth.teachcloud.common.bean.dto.PrivilegeDto;
|
|
import com.qmth.teachcloud.common.bean.dto.PrivilegeDto;
|
|
import com.qmth.teachcloud.common.bean.result.SysConfigResult;
|
|
import com.qmth.teachcloud.common.bean.result.SysConfigResult;
|
|
@@ -350,7 +349,7 @@ public class SysAdminSetController {
|
|
if (bindingResult.hasErrors()) {
|
|
if (bindingResult.hasErrors()) {
|
|
return ResultUtil.error(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
|
return ResultUtil.error(bindingResult.getAllErrors().get(0).getDefaultMessage());
|
|
}
|
|
}
|
|
- Set<Long> userSetIds = null;
|
|
|
|
|
|
+ Set<Long> userSetIds = new HashSet<>();
|
|
QueryWrapper<TSchoolRole> tSchoolRoleQueryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<TSchoolRole> tSchoolRoleQueryWrapper = new QueryWrapper<>();
|
|
tSchoolRoleQueryWrapper.lambda().eq(TSchoolRole::getSchoolId, tSchoolPrivilegeParam.getSchoolId());
|
|
tSchoolRoleQueryWrapper.lambda().eq(TSchoolRole::getSchoolId, tSchoolPrivilegeParam.getSchoolId());
|
|
List<TSchoolRole> tSchoolRoles = tSchoolRoleService.list(tSchoolRoleQueryWrapper);
|
|
List<TSchoolRole> tSchoolRoles = tSchoolRoleService.list(tSchoolRoleQueryWrapper);
|