代码优化!
This commit is contained in:
@@ -54,7 +54,7 @@ public class BssEmployeeController {
|
||||
|
||||
User user = ShiroUtil.getSubject();
|
||||
List<BssDept> bssDepts = null;
|
||||
if (AdminConst.ADMIN_PLATFORM_ID != user.getBssPlatform().getId()) {
|
||||
if (AdminConst.ADMIN_PLATFORM_ID.equals(user.getBssPlatform().getId())) {
|
||||
bssDepts = bssDeptService.findBssDeptByBssPlatformAndId(user.getBssPlatform());
|
||||
}
|
||||
Page<BssEmployee> list = bssEmployeeService.getPageList(bssDepts,bssEmployee);
|
||||
|
||||
Reference in New Issue
Block a user