Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
base-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
base-platform
Commits
12c7b307
Commit
12c7b307
authored
May 06, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改缓存
parent
a78913e2
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
8 deletions
+17
-8
base-manager/src/main/java/com/mortals/xhx/module/dept/service/DeptService.java
...java/com/mortals/xhx/module/dept/service/DeptService.java
+2
-1
base-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
...mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
+2
-1
base-manager/src/main/java/com/mortals/xhx/module/site/service/SiteService.java
...java/com/mortals/xhx/module/site/service/SiteService.java
+2
-1
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
...mortals/xhx/module/site/service/impl/SiteServiceImpl.java
+2
-1
base-manager/src/main/java/com/mortals/xhx/module/window/service/WindowService.java
.../com/mortals/xhx/module/window/service/WindowService.java
+2
-1
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowServiceImpl.java
...als/xhx/module/window/service/impl/WindowServiceImpl.java
+2
-1
base-manager/src/main/java/com/mortals/xhx/module/workman/service/WorkmanService.java
...om/mortals/xhx/module/workman/service/WorkmanService.java
+2
-1
base-manager/src/main/java/com/mortals/xhx/module/workman/service/impl/WorkmanServiceImpl.java
...s/xhx/module/workman/service/impl/WorkmanServiceImpl.java
+2
-1
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
...test/java/com/mortals/httpclient/site/SiteController.http
+1
-0
No files found.
base-manager/src/main/java/com/mortals/xhx/module/dept/service/DeptService.java
View file @
12c7b307
package
com.mortals.xhx.module.dept.service
;
import
com.mortals.framework.service.ICRUDCacheService
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.dept.model.DeptEntity
;
/**
...
...
@@ -9,6 +10,6 @@ import com.mortals.xhx.module.dept.model.DeptEntity;
* @author zxfei
* @date 2022-01-12
*/
public
interface
DeptService
extends
ICRUD
Service
<
DeptEntity
,
Long
>
{
public
interface
DeptService
extends
ICRUD
CacheService
<
DeptEntity
,
Long
>
{
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
View file @
12c7b307
package
com.mortals.xhx.module.dept.service.impl
;
import
com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.xhx.module.dept.dao.DeptDao
;
...
...
@@ -12,6 +13,6 @@ import com.mortals.xhx.module.dept.service.DeptService;
* @date 2022-01-12
*/
@Service
(
"deptService"
)
public
class
DeptServiceImpl
extends
AbstractCRUDServiceImpl
<
DeptDao
,
DeptEntity
,
Long
>
implements
DeptService
{
public
class
DeptServiceImpl
extends
AbstractCRUD
Cache
ServiceImpl
<
DeptDao
,
DeptEntity
,
Long
>
implements
DeptService
{
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/site/service/SiteService.java
View file @
12c7b307
package
com.mortals.xhx.module.site.service
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.ICRUDCacheService
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.area.model.AreaEntity
;
import
com.mortals.xhx.module.area.model.AreaTreeSelect
;
...
...
@@ -18,7 +19,7 @@ import java.util.Map;
* @author zxfei
* @date 2022-01-12
*/
public
interface
SiteService
extends
ICRUDService
<
SiteEntity
,
Long
>
{
public
interface
SiteService
extends
ICRUD
Cache
Service
<
SiteEntity
,
Long
>
{
/**
* 区域站点树
...
...
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
View file @
12c7b307
...
...
@@ -2,6 +2,7 @@ package com.mortals.xhx.module.site.service.impl;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl
;
import
com.mortals.framework.util.DataUtil
;
import
com.mortals.framework.util.StringUtils
;
import
com.mortals.xhx.common.key.Constant
;
...
...
@@ -35,7 +36,7 @@ import java.util.stream.Collectors;
* @date 2022-01-12
*/
@Service
(
"siteService"
)
public
class
SiteServiceImpl
extends
AbstractCRUDServiceImpl
<
SiteDao
,
SiteEntity
,
Long
>
implements
SiteService
{
public
class
SiteServiceImpl
extends
AbstractCRUD
Cache
ServiceImpl
<
SiteDao
,
SiteEntity
,
Long
>
implements
SiteService
{
private
List
<
SiteTreeSelect
>
siteTreeList
;
...
...
base-manager/src/main/java/com/mortals/xhx/module/window/service/WindowService.java
View file @
12c7b307
package
com.mortals.xhx.module.window.service
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.ICRUDCacheService
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.window.model.WindowEntity
;
/**
...
...
@@ -10,7 +11,7 @@ import com.mortals.xhx.module.window.model.WindowEntity;
* @author zxfei
* @date 2022-01-12
*/
public
interface
WindowService
extends
ICRUD
Service
<
WindowEntity
,
Long
>
{
public
interface
WindowService
extends
ICRUD
CacheService
<
WindowEntity
,
Long
>
{
/**
...
...
base-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowServiceImpl.java
View file @
12c7b307
...
...
@@ -3,6 +3,7 @@ package com.mortals.xhx.module.window.service.impl;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.PageInfo
;
import
com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.business.model.BusinessEntity
;
import
com.mortals.xhx.module.business.model.BusinessQuery
;
...
...
@@ -39,7 +40,7 @@ import java.util.stream.Collectors;
* @date 2022-01-12
*/
@Service
(
"windowService"
)
public
class
WindowServiceImpl
extends
AbstractCRUDServiceImpl
<
WindowDao
,
WindowEntity
,
Long
>
implements
WindowService
{
public
class
WindowServiceImpl
extends
AbstractCRUD
Cache
ServiceImpl
<
WindowDao
,
WindowEntity
,
Long
>
implements
WindowService
{
@Autowired
private
WorkmanService
workmanService
;
...
...
base-manager/src/main/java/com/mortals/xhx/module/workman/service/WorkmanService.java
View file @
12c7b307
package
com.mortals.xhx.module.workman.service
;
import
com.mortals.framework.service.ICRUDCacheService
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.module.workman.model.WorkmanEntity
;
/**
...
...
@@ -9,6 +10,6 @@ import com.mortals.xhx.module.workman.model.WorkmanEntity;
* @author zxfei
* @date 2022-01-12
*/
public
interface
WorkmanService
extends
ICRUD
Service
<
WorkmanEntity
,
Long
>
{
public
interface
WorkmanService
extends
ICRUD
CacheService
<
WorkmanEntity
,
Long
>
{
}
\ No newline at end of file
base-manager/src/main/java/com/mortals/xhx/module/workman/service/impl/WorkmanServiceImpl.java
View file @
12c7b307
...
...
@@ -5,6 +5,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.PageInfo
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.framework.service.impl.AbstractCRUDCacheServiceImpl
;
import
com.mortals.framework.util.SecurityUtil
;
import
com.mortals.framework.util.StringUtils
;
import
com.mortals.xhx.base.system.role.model.RoleUserQuery
;
...
...
@@ -33,7 +34,7 @@ import java.util.List;
* @date 2022-01-12
*/
@Service
(
"workmanService"
)
public
class
WorkmanServiceImpl
extends
AbstractCRUDServiceImpl
<
WorkmanDao
,
WorkmanEntity
,
Long
>
implements
WorkmanService
{
public
class
WorkmanServiceImpl
extends
AbstractCRUD
Cache
ServiceImpl
<
WorkmanDao
,
WorkmanEntity
,
Long
>
implements
WorkmanService
{
@Autowired
private
UserService
userService
;
...
...
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
View file @
12c7b307
###站点列表
POST {{baseUrl}}/site/list
Authorization: Bearer {{authToken}}
Content-Type: application/json
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment