代码优化!

This commit is contained in:
易焱
2019-08-07 19:54:41 +08:00
parent 38a308bca9
commit 969018bafd
2 changed files with 2 additions and 2 deletions
@@ -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);