mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-05 04:03:41 +08:00
v1.2.1
This commit is contained in:
@@ -41,7 +41,7 @@ public interface NoticeDao extends BaseMapper<NoticeEntity> {
|
||||
* @param employeeId
|
||||
* @return
|
||||
*/
|
||||
@DataScope(joinSql = "n.create_user_department_id in (#departmentIds)", whereInType = DataScopeWhereInTypeEnum.DEPARTMENT)
|
||||
@DataScope(joinSql = "e.department_id in (#departmentIds)", whereInType = DataScopeWhereInTypeEnum.DEPARTMENT)
|
||||
List<NoticeVO> queryUnreadByPage(Page page, @Param("employeeId") Long employeeId, @Param("sendStatus") Integer sendStatus);
|
||||
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ spring.datasource.username=smart-admin
|
||||
spring.datasource.password=Admin@123457
|
||||
spring.datasource.initial-size=2
|
||||
spring.datasource.min-idle=1
|
||||
spring.datasource.max-active=10
|
||||
spring.datasource.max-active=100
|
||||
spring.datasource.max-wait=60000
|
||||
spring.datasource.time-between-eviction-runs-millis=60000
|
||||
spring.datasource.min-evictable-idle-time-millis=300000
|
||||
|
||||
Reference in New Issue
Block a user