Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-store
Commits
d5c5c254
Commit
d5c5c254
authored
Jul 04, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分组策略
parent
6b513f23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
20 deletions
+10
-20
StoreStrategyApiService.java
...n/java/com/gic/store/service/StoreStrategyApiService.java
+10
-20
No files found.
gic-store-api/src/main/java/com/gic/store/service/StoreStrategyApiService.java
View file @
d5c5c254
...
...
@@ -11,26 +11,26 @@ import com.gic.store.dto.StoreStrategyDTO;
public
interface
StoreStrategyApiService
{
/**
* 新增
分组
策略数据
* 新增 策略数据
* @param storeStrategyDTO
* @return
*/
ServiceResponse
<
Integer
>
saveStore
Group
Strategy
(
StoreStrategyDTO
storeStrategyDTO
);
ServiceResponse
<
Integer
>
saveStoreStrategy
(
StoreStrategyDTO
storeStrategyDTO
);
/**
* 删除分组
策略
(单条)
* 删除分组(单条)
* @param strategyId
* @return
*/
ServiceResponse
<
Integer
>
deleteStore
Group
Strategy
(
int
strategyId
);
ServiceResponse
<
Integer
>
deleteStoreStrategy
(
int
strategyId
);
/**
* 修改
分组
策略
* 修改策略
* @param storeStrategyDTO
* @return
*/
ServiceResponse
<
Integer
>
modifyStore
Group
Strategy
(
StoreStrategyDTO
storeStrategyDTO
);
ServiceResponse
<
Integer
>
modifyStoreStrategy
(
StoreStrategyDTO
storeStrategyDTO
);
/**
...
...
@@ -38,7 +38,7 @@ public interface StoreStrategyApiService {
* @param strategyId
* @return
*/
ServiceResponse
<
StoreStrategyDTO
>
getStore
Group
StrategyById
(
int
strategyId
);
ServiceResponse
<
StoreStrategyDTO
>
getStoreStrategyById
(
int
strategyId
);
/**
* 置底
...
...
@@ -81,18 +81,8 @@ public interface StoreStrategyApiService {
*/
ServiceResponse
<
Page
<
StoreStrategyDTO
>>
listStoreField
(
int
enterpriseId
,
String
search
,
int
strategyType
,
Integer
pageNum
,
Integer
pageSize
);
/**
* 获取权重设置
* @param enterpriseId
* @return
*/
ServiceResponse
<
Integer
>
getWeightsByEnterpriseId
(
int
enterpriseId
);
ServiceResponse
setStoreGroupStrategyWeight
(
Integer
enterpriseId
,
int
weight
);
ServiceResponse
getStoreGroupStrategyWeight
(
Integer
enterpriseId
);
/**
* 更改权重设置
* @param status
* @param enterpriseId
* @return
*/
ServiceResponse
<
Integer
>
saveOrUpdateWeights
(
int
status
,
int
enterpriseId
);
}
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