update
This commit is contained in:
parent
25c1988e30
commit
f5cd646053
|
@ -152,9 +152,6 @@ public class PersonnelServiceImpl extends BaseService<PersonnelMapper, Personnel
|
|||
wrapper.lambda().eq(StrUtil.isNotBlank(deptId), Personnel::getPresentDept, deptId);
|
||||
} else if ("dept".equals(user.getPermissions())) {
|
||||
wrapper.lambda().eq(Personnel::getPresentDept, user.getDept());
|
||||
} else if ("my".equals(user.getPermissions())) {
|
||||
// todo 查看自己的
|
||||
|
||||
} else {
|
||||
return AjaxResult.fail("无权限");
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ spring:
|
|||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
url: jdbc:mysql://localhost:3306/lc_oa?useSSL=false&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
url: jdbc:mysql://192.168.2.57:3306/lc_oa?useSSL=false&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: Wang09211108
|
||||
druid:
|
||||
|
|
Loading…
Reference in New Issue