Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
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-data-cloud
Commits
4dd93911
Commit
4dd93911
authored
Sep 07, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pmd规范
parent
fffd5e98
Show whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
503 additions
and
39 deletions
+503
-39
FunctionEnum.java
...i/src/main/java/com/gic/cloud/constants/FunctionEnum.java
+27
-0
IndexTypeEnum.java
.../src/main/java/com/gic/cloud/constants/IndexTypeEnum.java
+10
-0
AccountGroupDTO.java
...-api/src/main/java/com/gic/cloud/dto/AccountGroupDTO.java
+5
-0
AttentionStoreDTO.java
...pi/src/main/java/com/gic/cloud/dto/AttentionStoreDTO.java
+11
-2
DataAuthDTO.java
...loud-api/src/main/java/com/gic/cloud/dto/DataAuthDTO.java
+12
-1
DataExplainDTO.java
...d-api/src/main/java/com/gic/cloud/dto/DataExplainDTO.java
+5
-0
EnterprisePortraitRelDTO.java
...main/java/com/gic/cloud/dto/EnterprisePortraitRelDTO.java
+12
-1
FunctionDTO.java
...loud-api/src/main/java/com/gic/cloud/dto/FunctionDTO.java
+5
-0
FunctionModuleDTO.java
...pi/src/main/java/com/gic/cloud/dto/FunctionModuleDTO.java
+5
-0
IndexDTO.java
...a-cloud-api/src/main/java/com/gic/cloud/dto/IndexDTO.java
+5
-0
IndexDescDTO.java
...oud-api/src/main/java/com/gic/cloud/dto/IndexDescDTO.java
+8
-6
IndexGroupDTO.java
...ud-api/src/main/java/com/gic/cloud/dto/IndexGroupDTO.java
+5
-0
IndexLogDTO.java
...loud-api/src/main/java/com/gic/cloud/dto/IndexLogDTO.java
+4
-0
TempStoreConditionDTO.java
...rc/main/java/com/gic/cloud/dto/TempStoreConditionDTO.java
+5
-0
UserDTO.java
...ta-cloud-api/src/main/java/com/gic/cloud/dto/UserDTO.java
+5
-0
DataExplainQO.java
...oud-api/src/main/java/com/gic/cloud/qo/DataExplainQO.java
+1
-1
IndexQO.java
...ata-cloud-api/src/main/java/com/gic/cloud/qo/IndexQO.java
+1
-1
PageQO.java
...data-cloud-api/src/main/java/com/gic/cloud/qo/PageQO.java
+2
-2
UserQO.java
...data-cloud-api/src/main/java/com/gic/cloud/qo/UserQO.java
+13
-7
AccountGroupApiService.java
...in/java/com/gic/cloud/service/AccountGroupApiService.java
+16
-0
DataAuthApiService.java
...c/main/java/com/gic/cloud/service/DataAuthApiService.java
+68
-1
DataExplainApiService.java
...ain/java/com/gic/cloud/service/DataExplainApiService.java
+13
-2
EnterprisePortraitRelApiService.java
...om/gic/cloud/service/EnterprisePortraitRelApiService.java
+18
-1
FunctionApiService.java
...c/main/java/com/gic/cloud/service/FunctionApiService.java
+59
-1
FunctionModuleApiService.java
.../java/com/gic/cloud/service/FunctionModuleApiService.java
+31
-1
IndexApiService.java
.../src/main/java/com/gic/cloud/service/IndexApiService.java
+14
-3
IndexDescApiService.java
.../main/java/com/gic/cloud/service/IndexDescApiService.java
+25
-1
IndexGroupApiService.java
...main/java/com/gic/cloud/service/IndexGroupApiService.java
+4
-0
IndexLogApiService.java
...c/main/java/com/gic/cloud/service/IndexLogApiService.java
+2
-0
StoreAttentionApiService.java
.../java/com/gic/cloud/service/StoreAttentionApiService.java
+47
-1
TempStoreConditionApiService.java
...a/com/gic/cloud/service/TempStoreConditionApiService.java
+23
-1
TestApiService.java
...i/src/main/java/com/gic/cloud/service/TestApiService.java
+6
-1
UserApiService.java
...i/src/main/java/com/gic/cloud/service/UserApiService.java
+36
-5
No files found.
gic-data-cloud-api/src/main/java/com/gic/cloud/constants/FunctionEnum.java
View file @
4dd93911
...
@@ -7,14 +7,41 @@ package com.gic.cloud.constants;
...
@@ -7,14 +7,41 @@ package com.gic.cloud.constants;
* @date 2020/7/7 4:15 PM
* @date 2020/7/7 4:15 PM
*/
*/
public
enum
FunctionEnum
{
public
enum
FunctionEnum
{
/**
* 排行榜
*/
RANK_LIST
(
"FUC001"
,
"排行榜"
),
RANK_LIST
(
"FUC001"
,
"排行榜"
),
/**
* 会员概况
*/
MEMBER_PROFILE
(
"FUC002"
,
"会员概况"
),
MEMBER_PROFILE
(
"FUC002"
,
"会员概况"
),
/**
* 招募分析
*/
RECRUITMENT_ANALYSIS
(
"FUC003"
,
"招募分析"
),
RECRUITMENT_ANALYSIS
(
"FUC003"
,
"招募分析"
),
/**
* 会员画像
*/
MEMBER_PORTRAIT
(
"FUC004"
,
"会员画像"
),
MEMBER_PORTRAIT
(
"FUC004"
,
"会员画像"
),
/**
* 业绩概览
*/
PERFORMANCE_OVERVIEW
(
"FUC005"
,
"业绩概览"
),
PERFORMANCE_OVERVIEW
(
"FUC005"
,
"业绩概览"
),
/**
* 消费构成
*/
CONSUME_COMPOSITION
(
"FUC006"
,
"消费构成"
),
CONSUME_COMPOSITION
(
"FUC006"
,
"消费构成"
),
/**
* 单品排行
*/
ITEM_RANK
(
"FUC007"
,
"单品排行"
),
ITEM_RANK
(
"FUC007"
,
"单品排行"
),
/**
* 基础业绩
*/
BASIC_PERFORMANCE
(
"FUC008"
,
"基础业绩"
),
BASIC_PERFORMANCE
(
"FUC008"
,
"基础业绩"
),
/**
* 会员分布
*/
MEMBER_DISTRIBUTION
(
"FUC009"
,
"会员分布"
);
MEMBER_DISTRIBUTION
(
"FUC009"
,
"会员分布"
);
private
String
code
;
private
String
code
;
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/constants/IndexTypeEnum.java
View file @
4dd93911
package
com
.
gic
.
cloud
.
constants
;
package
com
.
gic
.
cloud
.
constants
;
/**
/**
* 指标类型
* @author zhiwj
* @author zhiwj
* @Description:
* @Description:
* @date 2020-07-10 17:02
* @date 2020-07-10 17:02
*/
*/
public
enum
IndexTypeEnum
{
public
enum
IndexTypeEnum
{
/**
* 指标
*/
INDEX
(
1
,
"指标"
),
INDEX
(
1
,
"指标"
),
/**
* 唯独
*/
DIMENSION
(
2
,
"维度"
),
DIMENSION
(
2
,
"维度"
),
/**
* 说明
*/
NOTE
(
3
,
"说明"
);
NOTE
(
3
,
"说明"
);
private
Integer
code
;
private
Integer
code
;
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/AccountGroupDTO.java
View file @
4dd93911
...
@@ -124,4 +124,9 @@ public class AccountGroupDTO implements Serializable{
...
@@ -124,4 +124,9 @@ public class AccountGroupDTO implements Serializable{
this
.
memberCount
=
memberCount
;
this
.
memberCount
=
memberCount
;
return
this
;
return
this
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/AttentionStoreDTO.java
View file @
4dd93911
...
@@ -2,9 +2,12 @@ package com.gic.cloud.dto;
...
@@ -2,9 +2,12 @@ package com.gic.cloud.dto;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* tab_attention_store
* 关注门店
* @ClassName: AttentionStoreDTO
* @Description:
* @author guojuxing
* @date 2020/9/7 11:06 AM
*/
*/
public
class
AttentionStoreDTO
implements
Serializable
{
public
class
AttentionStoreDTO
implements
Serializable
{
/**
/**
...
@@ -97,4 +100,9 @@ public class AttentionStoreDTO implements Serializable {
...
@@ -97,4 +100,9 @@ public class AttentionStoreDTO implements Serializable {
public
void
setUpdateTime
(
Date
updateTime
)
{
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
this
.
updateTime
=
updateTime
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
\ No newline at end of file
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/DataAuthDTO.java
View file @
4dd93911
...
@@ -2,7 +2,13 @@ package com.gic.cloud.dto;
...
@@ -2,7 +2,13 @@ package com.gic.cloud.dto;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.Date
;
/**
* 数据权限
* @ClassName: DataAuthDTO
* @Description:
* @author guojuxing
* @date 2020/9/7 11:05 AM
*/
public
class
DataAuthDTO
implements
Serializable
{
public
class
DataAuthDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2015311334509633014L
;
private
static
final
long
serialVersionUID
=
-
2015311334509633014L
;
...
@@ -173,4 +179,9 @@ public class DataAuthDTO implements Serializable{
...
@@ -173,4 +179,9 @@ public class DataAuthDTO implements Serializable{
this
.
noOwnerStore
=
noOwnerStore
;
this
.
noOwnerStore
=
noOwnerStore
;
return
this
;
return
this
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/DataExplainDTO.java
View file @
4dd93911
...
@@ -145,4 +145,9 @@ public class DataExplainDTO implements Serializable {
...
@@ -145,4 +145,9 @@ public class DataExplainDTO implements Serializable {
public
void
setOptUserName
(
String
optUserName
)
{
public
void
setOptUserName
(
String
optUserName
)
{
this
.
optUserName
=
optUserName
;
this
.
optUserName
=
optUserName
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/EnterprisePortraitRelDTO.java
View file @
4dd93911
...
@@ -2,7 +2,13 @@ package com.gic.cloud.dto;
...
@@ -2,7 +2,13 @@ package com.gic.cloud.dto;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.Date
;
/**
* 会员画像
* @ClassName: EnterprisePortraitRelDTO
* @Description:
* @author guojuxing
* @date 2020/9/7 11:06 AM
*/
public
class
EnterprisePortraitRelDTO
implements
Serializable
{
public
class
EnterprisePortraitRelDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2398088229114286442L
;
private
static
final
long
serialVersionUID
=
-
2398088229114286442L
;
...
@@ -128,4 +134,9 @@ public class EnterprisePortraitRelDTO implements Serializable{
...
@@ -128,4 +134,9 @@ public class EnterprisePortraitRelDTO implements Serializable{
this
.
portraitName
=
portraitName
;
this
.
portraitName
=
portraitName
;
return
this
;
return
this
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/FunctionDTO.java
View file @
4dd93911
...
@@ -124,4 +124,9 @@ public class FunctionDTO implements Serializable{
...
@@ -124,4 +124,9 @@ public class FunctionDTO implements Serializable{
this
.
memberCount
=
memberCount
;
this
.
memberCount
=
memberCount
;
return
this
;
return
this
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/FunctionModuleDTO.java
View file @
4dd93911
...
@@ -149,4 +149,9 @@ public class FunctionModuleDTO implements Serializable{
...
@@ -149,4 +149,9 @@ public class FunctionModuleDTO implements Serializable{
this
.
logo
=
logo
;
this
.
logo
=
logo
;
return
this
;
return
this
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/IndexDTO.java
View file @
4dd93911
...
@@ -383,4 +383,9 @@ public class IndexDTO implements Serializable {
...
@@ -383,4 +383,9 @@ public class IndexDTO implements Serializable {
public
String
getRelTopLevelName
()
{
public
String
getRelTopLevelName
()
{
return
relTopLevelName
;
return
relTopLevelName
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/IndexDescDTO.java
View file @
4dd93911
...
@@ -58,10 +58,6 @@ public class IndexDescDTO implements Serializable {
...
@@ -58,10 +58,6 @@ public class IndexDescDTO implements Serializable {
private
Integer
updateTips
;
private
Integer
updateTips
;
// private Integer indexRemark;
// private Integer showStatus;
private
Integer
indexDescEnterpriseId
;
private
Integer
indexDescEnterpriseId
;
private
Integer
updateTipsId
;
private
Integer
updateTipsId
;
...
@@ -69,7 +65,7 @@ public class IndexDescDTO implements Serializable {
...
@@ -69,7 +65,7 @@ public class IndexDescDTO implements Serializable {
private
Integer
indexId
;
private
Integer
indexId
;
private
String
remark
;
private
String
remark
;
private
int
seq
;
private
Integer
seq
;
public
Integer
getIndexDescId
()
{
public
Integer
getIndexDescId
()
{
return
indexDescId
;
return
indexDescId
;
...
@@ -101,7 +97,8 @@ public class IndexDescDTO implements Serializable {
...
@@ -101,7 +97,8 @@ public class IndexDescDTO implements Serializable {
public
void
setIndexCode
(
String
indexCode
)
{
public
void
setIndexCode
(
String
indexCode
)
{
this
.
indexCode
=
indexCode
;
this
.
indexCode
=
indexCode
;
if
(
"showSalesAmt"
.
equals
(
this
.
indexCode
)){
String
amountField
=
"showSalesAmt"
;
if
(
amountField
.
equals
(
this
.
indexCode
)){
this
.
unit
=
"元"
;
this
.
unit
=
"元"
;
}
}
}
}
...
@@ -209,4 +206,9 @@ public class IndexDescDTO implements Serializable {
...
@@ -209,4 +206,9 @@ public class IndexDescDTO implements Serializable {
public
void
setIndexId
(
Integer
indexId
)
{
public
void
setIndexId
(
Integer
indexId
)
{
this
.
indexId
=
indexId
;
this
.
indexId
=
indexId
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/IndexGroupDTO.java
View file @
4dd93911
...
@@ -112,4 +112,9 @@ public class IndexGroupDTO implements Serializable {
...
@@ -112,4 +112,9 @@ public class IndexGroupDTO implements Serializable {
public
void
setChildList
(
List
<
IndexGroupDTO
>
childList
)
{
public
void
setChildList
(
List
<
IndexGroupDTO
>
childList
)
{
this
.
childList
=
childList
;
this
.
childList
=
childList
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/IndexLogDTO.java
View file @
4dd93911
...
@@ -141,4 +141,8 @@ public class IndexLogDTO implements Serializable {
...
@@ -141,4 +141,8 @@ public class IndexLogDTO implements Serializable {
this
.
type
=
type
;
this
.
type
=
type
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/TempStoreConditionDTO.java
View file @
4dd93911
...
@@ -95,4 +95,9 @@ public class TempStoreConditionDTO implements Serializable{
...
@@ -95,4 +95,9 @@ public class TempStoreConditionDTO implements Serializable{
this
.
updateTime
=
updateTime
;
this
.
updateTime
=
updateTime
;
return
this
;
return
this
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/dto/UserDTO.java
View file @
4dd93911
...
@@ -177,4 +177,9 @@ public class UserDTO implements Serializable{
...
@@ -177,4 +177,9 @@ public class UserDTO implements Serializable{
this
.
memberCount
=
memberCount
;
this
.
memberCount
=
memberCount
;
return
this
;
return
this
;
}
}
@Override
public
String
toString
()
{
return
super
.
toString
();
}
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/qo/DataExplainQO.java
View file @
4dd93911
...
@@ -7,7 +7,7 @@ import java.io.Serializable;
...
@@ -7,7 +7,7 @@ import java.io.Serializable;
* @Description:
* @Description:
* @date 2020-07-08 10:13
* @date 2020-07-08 10:13
*/
*/
public
class
DataExplainQ
O
extends
PageQO
implements
Serializable
{
public
class
DataExplainQ
o
extends
PageQo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
5687670215343610800L
;
private
static
final
long
serialVersionUID
=
5687670215343610800L
;
private
String
search
;
private
String
search
;
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/qo/IndexQO.java
View file @
4dd93911
...
@@ -8,7 +8,7 @@ import java.util.List;
...
@@ -8,7 +8,7 @@ import java.util.List;
* @Description:
* @Description:
* @date 2020-07-08 10:13
* @date 2020-07-08 10:13
*/
*/
public
class
IndexQ
O
extends
PageQO
implements
Serializable
{
public
class
IndexQ
o
extends
PageQo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
5687670215343610800L
;
private
static
final
long
serialVersionUID
=
5687670215343610800L
;
private
Integer
classifyType
;
private
Integer
classifyType
;
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/qo/PageQO.java
View file @
4dd93911
...
@@ -4,12 +4,12 @@ import java.io.Serializable;
...
@@ -4,12 +4,12 @@ import java.io.Serializable;
/**
/**
* 分页数据
* 分页数据
* @ClassName: PageQ
O
* @ClassName: PageQ
o
* @Description:
* @Description:
* @author guojuxing
* @author guojuxing
* @date 2019/8/13 11:29 AM
* @date 2019/8/13 11:29 AM
*/
*/
public
class
PageQ
O
implements
Serializable
{
public
class
PageQ
o
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
/**
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/qo/UserQO.java
View file @
4dd93911
package
com
.
gic
.
cloud
.
qo
;
package
com
.
gic
.
cloud
.
qo
;
import
java.io.Serializable
;
import
java.io.Serializable
;
/**
public
class
UserQO
extends
PageQO
implements
Serializable
{
* 用户查询参数
* @ClassName: UserQo
* @Description:
* @author guojuxing
* @date 2020/9/7 11:22 AM
*/
public
class
UserQo
extends
PageQo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2145306520376748998L
;
private
static
final
long
serialVersionUID
=
-
2145306520376748998L
;
/**
/**
...
@@ -31,7 +37,7 @@ public class UserQO extends PageQO implements Serializable{
...
@@ -31,7 +37,7 @@ public class UserQO extends PageQO implements Serializable{
return
search
;
return
search
;
}
}
public
UserQ
O
setSearch
(
String
search
)
{
public
UserQ
o
setSearch
(
String
search
)
{
this
.
search
=
search
;
this
.
search
=
search
;
return
this
;
return
this
;
}
}
...
@@ -40,7 +46,7 @@ public class UserQO extends PageQO implements Serializable{
...
@@ -40,7 +46,7 @@ public class UserQO extends PageQO implements Serializable{
return
enterpriseId
;
return
enterpriseId
;
}
}
public
UserQ
O
setEnterpriseId
(
Integer
enterpriseId
)
{
public
UserQ
o
setEnterpriseId
(
Integer
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
this
.
enterpriseId
=
enterpriseId
;
return
this
;
return
this
;
}
}
...
@@ -49,7 +55,7 @@ public class UserQO extends PageQO implements Serializable{
...
@@ -49,7 +55,7 @@ public class UserQO extends PageQO implements Serializable{
return
accountGroupId
;
return
accountGroupId
;
}
}
public
UserQ
O
setAccountGroupId
(
Integer
accountGroupId
)
{
public
UserQ
o
setAccountGroupId
(
Integer
accountGroupId
)
{
this
.
accountGroupId
=
accountGroupId
;
this
.
accountGroupId
=
accountGroupId
;
return
this
;
return
this
;
}
}
...
@@ -58,7 +64,7 @@ public class UserQO extends PageQO implements Serializable{
...
@@ -58,7 +64,7 @@ public class UserQO extends PageQO implements Serializable{
return
dataAuthId
;
return
dataAuthId
;
}
}
public
UserQ
O
setDataAuthId
(
Integer
dataAuthId
)
{
public
UserQ
o
setDataAuthId
(
Integer
dataAuthId
)
{
this
.
dataAuthId
=
dataAuthId
;
this
.
dataAuthId
=
dataAuthId
;
return
this
;
return
this
;
}
}
...
@@ -67,7 +73,7 @@ public class UserQO extends PageQO implements Serializable{
...
@@ -67,7 +73,7 @@ public class UserQO extends PageQO implements Serializable{
return
functionAuthId
;
return
functionAuthId
;
}
}
public
UserQ
O
setFunctionAuthId
(
Integer
functionAuthId
)
{
public
UserQ
o
setFunctionAuthId
(
Integer
functionAuthId
)
{
this
.
functionAuthId
=
functionAuthId
;
this
.
functionAuthId
=
functionAuthId
;
return
this
;
return
this
;
}
}
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/service/AccountGroupApiService.java
View file @
4dd93911
...
@@ -23,6 +23,14 @@ public interface AccountGroupApiService {
...
@@ -23,6 +23,14 @@ public interface AccountGroupApiService {
*/
*/
ServiceResponse
<
Integer
>
saveAccountGroup
(
AccountGroupDTO
dto
);
ServiceResponse
<
Integer
>
saveAccountGroup
(
AccountGroupDTO
dto
);
/**
* 编辑账号分组
* @Title: editAccountGroup
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
editAccountGroup
(
AccountGroupDTO
dto
);
ServiceResponse
<
Void
>
editAccountGroup
(
AccountGroupDTO
dto
);
/**
/**
...
@@ -46,5 +54,13 @@ public interface AccountGroupApiService {
...
@@ -46,5 +54,13 @@ public interface AccountGroupApiService {
*/
*/
ServiceResponse
<
List
<
AccountGroupDTO
>>
listAccountGroupOfCountMember
(
Integer
enterpriseId
);
ServiceResponse
<
List
<
AccountGroupDTO
>>
listAccountGroupOfCountMember
(
Integer
enterpriseId
);
/**
* 删除账号分组
* @Title: deleteAccountGroup
* @Description:
* @author guojuxing
* @param accountGroupId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
deleteAccountGroup
(
Integer
accountGroupId
);
ServiceResponse
<
Void
>
deleteAccountGroup
(
Integer
accountGroupId
);
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/DataAuthApiService.java
View file @
4dd93911
...
@@ -5,20 +5,87 @@ import com.gic.api.base.commons.ServiceResponse;
...
@@ -5,20 +5,87 @@ import com.gic.api.base.commons.ServiceResponse;
import
com.gic.cloud.dto.DataAuthDTO
;
import
com.gic.cloud.dto.DataAuthDTO
;
import
java.util.List
;
import
java.util.List
;
/**
* 数据权限
* @ClassName: DataAuthApiService
* @Description:
* @author guojuxing
* @date 2020/9/7 11:13 AM
*/
public
interface
DataAuthApiService
{
public
interface
DataAuthApiService
{
/**
* 新增数据权限
* @Title: saveDataAuth
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Integer>
*/
ServiceResponse
<
Integer
>
saveDataAuth
(
DataAuthDTO
dto
);
ServiceResponse
<
Integer
>
saveDataAuth
(
DataAuthDTO
dto
);
/**
* 编辑权限
* @Title: editDataAuth
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
editDataAuth
(
DataAuthDTO
dto
);
ServiceResponse
<
Void
>
editDataAuth
(
DataAuthDTO
dto
);
/**
* 单条
* @Title: getDataAuth
* @Description:
* @author guojuxing
* @param dataAuthId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.DataAuthDTO>
*/
ServiceResponse
<
DataAuthDTO
>
getDataAuth
(
Integer
dataAuthId
);
ServiceResponse
<
DataAuthDTO
>
getDataAuth
(
Integer
dataAuthId
);
/**
* 删除
* @Title: deleteDataAuth
* @Description:
* @author guojuxing
* @param dataAuthId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
deleteDataAuth
(
Integer
dataAuthId
);
ServiceResponse
<
Void
>
deleteDataAuth
(
Integer
dataAuthId
);
/**
* 分页查询数据权限
* @Title: pageDataAuth
* @Description:
* @author guojuxing
* @param enterpriseId
* @param dataAuthName
* @param currentPage
* @param pageSize
* @return com.gic.api.base.commons.ServiceResponse<com.gic.api.base.commons.Page<com.gic.cloud.dto.DataAuthDTO>>
*/
ServiceResponse
<
Page
<
DataAuthDTO
>>
pageDataAuth
(
Integer
enterpriseId
,
String
dataAuthName
,
Integer
currentPage
,
Integer
pageSize
);
ServiceResponse
<
Page
<
DataAuthDTO
>>
pageDataAuth
(
Integer
enterpriseId
,
String
dataAuthName
,
Integer
currentPage
,
Integer
pageSize
);
/**
* 查询数据权限
* @Title: listDataAuth
* @Description:
* @author guojuxing
* @param enterpriseId
* @param dataAuthName
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.DataAuthDTO>>
*/
ServiceResponse
<
List
<
DataAuthDTO
>>
listDataAuth
(
Integer
enterpriseId
,
String
dataAuthName
);
ServiceResponse
<
List
<
DataAuthDTO
>>
listDataAuth
(
Integer
enterpriseId
,
String
dataAuthName
);
/**
* 查询单条
* @Title: ggetDataAuthByUserId
* @Description:
* @author guojuxing
* @param enterpriseId
* @param userId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.DataAuthDTO>
*/
ServiceResponse
<
DataAuthDTO
>
ggetDataAuthByUserId
(
Integer
enterpriseId
,
Integer
userId
);
ServiceResponse
<
DataAuthDTO
>
ggetDataAuthByUserId
(
Integer
enterpriseId
,
Integer
userId
);
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/DataExplainApiService.java
View file @
4dd93911
...
@@ -3,7 +3,7 @@ package com.gic.cloud.service;
...
@@ -3,7 +3,7 @@ package com.gic.cloud.service;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.cloud.dto.DataExplainDTO
;
import
com.gic.cloud.dto.DataExplainDTO
;
import
com.gic.cloud.qo.DataExplainQ
O
;
import
com.gic.cloud.qo.DataExplainQ
o
;
import
java.util.List
;
import
java.util.List
;
...
@@ -15,6 +15,7 @@ import java.util.List;
...
@@ -15,6 +15,7 @@ import java.util.List;
public
interface
DataExplainApiService
{
public
interface
DataExplainApiService
{
/**
/**
* 新增数据解读
* @Title: saveDataExplain
* @Title: saveDataExplain
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -25,25 +26,31 @@ public interface DataExplainApiService {
...
@@ -25,25 +26,31 @@ public interface DataExplainApiService {
ServiceResponse
<
Void
>
saveDataExplain
(
DataExplainDTO
dataExplainDTO
);
ServiceResponse
<
Void
>
saveDataExplain
(
DataExplainDTO
dataExplainDTO
);
/**
/**
* 编辑数据解读
* @Title: updateDataExplain
* @Title: updateDataExplain
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param dataExplainDTO
* @param dataExplainDTO
* @param updateType
* @param reason
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
* @throws
*/
*/
ServiceResponse
<
Void
>
updateDataExplain
(
DataExplainDTO
dataExplainDTO
,
Integer
updateType
,
String
reason
);
ServiceResponse
<
Void
>
updateDataExplain
(
DataExplainDTO
dataExplainDTO
,
Integer
updateType
,
String
reason
);
/**
/**
* 数据解读
* @Title: getByDataExplainId
* @Title: getByDataExplainId
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param dataExplainId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.DataExplainDTO>
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.DataExplainDTO>
* @throws
* @throws
*/
*/
ServiceResponse
<
DataExplainDTO
>
getByDataExplainId
(
Integer
dataExplainId
);
ServiceResponse
<
DataExplainDTO
>
getByDataExplainId
(
Integer
dataExplainId
);
/**
/**
* 分页查询数据解读
* @Title: listDataExplain
* @Title: listDataExplain
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -51,9 +58,10 @@ public interface DataExplainApiService {
...
@@ -51,9 +58,10 @@ public interface DataExplainApiService {
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.DataExplainDTO>>
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.DataExplainDTO>>
* @throws
* @throws
*/
*/
ServiceResponse
<
Page
<
DataExplainDTO
>>
listDataExplain
(
DataExplainQ
O
dataExplainQO
);
ServiceResponse
<
Page
<
DataExplainDTO
>>
listDataExplain
(
DataExplainQ
o
dataExplainQO
);
/**
/**
* 查询数据解读
* @Title: listDataExplain
* @Title: listDataExplain
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -64,6 +72,7 @@ public interface DataExplainApiService {
...
@@ -64,6 +72,7 @@ public interface DataExplainApiService {
ServiceResponse
<
List
<
DataExplainDTO
>>
listAllDataExplain
();
ServiceResponse
<
List
<
DataExplainDTO
>>
listAllDataExplain
();
/**
/**
* 删除数据解读
* @Title: delete
* @Title: delete
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -74,6 +83,7 @@ public interface DataExplainApiService {
...
@@ -74,6 +83,7 @@ public interface DataExplainApiService {
ServiceResponse
<
Void
>
delete
(
Integer
dataExplainId
);
ServiceResponse
<
Void
>
delete
(
Integer
dataExplainId
);
/**
/**
* 发布数据解读
* @Title: publish
* @Title: publish
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -88,6 +98,7 @@ public interface DataExplainApiService {
...
@@ -88,6 +98,7 @@ public interface DataExplainApiService {
ServiceResponse
<
Void
>
publish
(
List
<
Integer
>
dataExplainIdList
,
Integer
updateType
,
String
reason
,
Integer
optUserId
,
String
optUserName
);
ServiceResponse
<
Void
>
publish
(
List
<
Integer
>
dataExplainIdList
,
Integer
updateType
,
String
reason
,
Integer
optUserId
,
String
optUserName
);
/**
/**
* 查询
* @Title: listByModule
* @Title: listByModule
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/service/EnterprisePortraitRelApiService.java
View file @
4dd93911
...
@@ -4,7 +4,13 @@ import com.gic.api.base.commons.ServiceResponse;
...
@@ -4,7 +4,13 @@ import com.gic.api.base.commons.ServiceResponse;
import
com.gic.cloud.dto.EnterprisePortraitRelDTO
;
import
com.gic.cloud.dto.EnterprisePortraitRelDTO
;
import
java.util.List
;
import
java.util.List
;
/**
* 会员画像
* @ClassName: EnterprisePortraitRelApiService
* @Description:
* @author guojuxing
* @date 2020/9/7 11:22 AM
*/
public
interface
EnterprisePortraitRelApiService
{
public
interface
EnterprisePortraitRelApiService
{
/**
/**
...
@@ -29,6 +35,17 @@ public interface EnterprisePortraitRelApiService {
...
@@ -29,6 +35,17 @@ public interface EnterprisePortraitRelApiService {
*/
*/
ServiceResponse
<
Void
>
insertForeach
(
List
<
EnterprisePortraitRelDTO
>
list
);
ServiceResponse
<
Void
>
insertForeach
(
List
<
EnterprisePortraitRelDTO
>
list
);
/**
* 会员画像
* @Title: savePortraitField
* @Description:
* @author guojuxing
* @param enterpriseId
* @param fieldCode
* @param fieldName
* @param dataType
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
savePortraitField
(
Integer
enterpriseId
,
String
fieldCode
,
String
fieldName
,
Integer
dataType
);
ServiceResponse
<
Void
>
savePortraitField
(
Integer
enterpriseId
,
String
fieldCode
,
String
fieldName
,
Integer
dataType
);
/**
/**
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/service/FunctionApiService.java
View file @
4dd93911
...
@@ -6,7 +6,13 @@ import com.gic.cloud.dto.FunctionDTO;
...
@@ -6,7 +6,13 @@ import com.gic.cloud.dto.FunctionDTO;
import
com.gic.cloud.dto.FunctionModuleDTO
;
import
com.gic.cloud.dto.FunctionModuleDTO
;
import
java.util.List
;
import
java.util.List
;
/**
* 功能接口
* @ClassName: FunctionApiService
* @Description:
* @author guojuxing
* @date 2020/9/7 11:10 AM
*/
public
interface
FunctionApiService
{
public
interface
FunctionApiService
{
/**
/**
* 新增功能权限集
* 新增功能权限集
...
@@ -18,15 +24,67 @@ public interface FunctionApiService {
...
@@ -18,15 +24,67 @@ public interface FunctionApiService {
*/
*/
ServiceResponse
<
Integer
>
saveFunction
(
FunctionDTO
dto
);
ServiceResponse
<
Integer
>
saveFunction
(
FunctionDTO
dto
);
/**
* 编辑功能
* @Title: editFunction
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
editFunction
(
FunctionDTO
dto
);
ServiceResponse
<
Void
>
editFunction
(
FunctionDTO
dto
);
/**
* 删除功能
* @Title: deleteFunction
* @Description:
* @author guojuxing
* @param functionId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
deleteFunction
(
Integer
functionId
);
ServiceResponse
<
Void
>
deleteFunction
(
Integer
functionId
);
/**
* 分页查询功能
* @Title: pageFunction
* @Description:
* @author guojuxing
* @param enterpriseId
* @param functionName
* @param currentPage
* @param pageSize
* @return com.gic.api.base.commons.ServiceResponse<com.gic.api.base.commons.Page<com.gic.cloud.dto.FunctionDTO>>
*/
ServiceResponse
<
Page
<
FunctionDTO
>>
pageFunction
(
Integer
enterpriseId
,
String
functionName
,
Integer
currentPage
,
Integer
pageSize
);
ServiceResponse
<
Page
<
FunctionDTO
>>
pageFunction
(
Integer
enterpriseId
,
String
functionName
,
Integer
currentPage
,
Integer
pageSize
);
/**
* 查询功能
* @Title: listFunction
* @Description:
* @author guojuxing
* @param enterpriseId
* @param functionName
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.FunctionDTO>>
*/
ServiceResponse
<
List
<
FunctionDTO
>>
listFunction
(
Integer
enterpriseId
,
String
functionName
);
ServiceResponse
<
List
<
FunctionDTO
>>
listFunction
(
Integer
enterpriseId
,
String
functionName
);
/**
* 查询单条
* @Title: getFunction
* @Description:
* @author guojuxing
* @param functionId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.FunctionDTO>
*/
ServiceResponse
<
FunctionDTO
>
getFunction
(
Integer
functionId
);
ServiceResponse
<
FunctionDTO
>
getFunction
(
Integer
functionId
);
/**
* 获取用户下的功能权限
* @Title: getFunctionByUserId
* @Description:
* @author guojuxing
* @param userId
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.FunctionModuleDTO>>
*/
ServiceResponse
<
List
<
FunctionModuleDTO
>>
getFunctionByUserId
(
Integer
userId
);
ServiceResponse
<
List
<
FunctionModuleDTO
>>
getFunctionByUserId
(
Integer
userId
);
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/FunctionModuleApiService.java
View file @
4dd93911
...
@@ -4,12 +4,42 @@ import com.gic.api.base.commons.ServiceResponse;
...
@@ -4,12 +4,42 @@ import com.gic.api.base.commons.ServiceResponse;
import
com.gic.cloud.dto.FunctionModuleDTO
;
import
com.gic.cloud.dto.FunctionModuleDTO
;
import
java.util.List
;
import
java.util.List
;
/**
* 功能模块
* @ClassName: FunctionModuleApiService
* @Description:
* @author guojuxing
* @date 2020/9/7 11:11 AM
*/
public
interface
FunctionModuleApiService
{
public
interface
FunctionModuleApiService
{
/**
* 新增功能模块
* @Title: saveFunctionModule
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Integer>
*/
ServiceResponse
<
Integer
>
saveFunctionModule
(
FunctionModuleDTO
dto
);
ServiceResponse
<
Integer
>
saveFunctionModule
(
FunctionModuleDTO
dto
);
/**
* 编辑功能模块
* @Title: editFunctionModule
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
editFunctionModule
(
FunctionModuleDTO
dto
);
ServiceResponse
<
Void
>
editFunctionModule
(
FunctionModuleDTO
dto
);
/**
* 查询功能模块
* @Title: listFunctionModule
* @Description:
* @author guojuxing
* @param search
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.FunctionModuleDTO>>
*/
ServiceResponse
<
List
<
FunctionModuleDTO
>>
listFunctionModule
(
String
search
);
ServiceResponse
<
List
<
FunctionModuleDTO
>>
listFunctionModule
(
String
search
);
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/IndexApiService.java
View file @
4dd93911
...
@@ -3,7 +3,7 @@ package com.gic.cloud.service;
...
@@ -3,7 +3,7 @@ package com.gic.cloud.service;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.cloud.dto.IndexDTO
;
import
com.gic.cloud.dto.IndexDTO
;
import
com.gic.cloud.qo.IndexQ
O
;
import
com.gic.cloud.qo.IndexQ
o
;
import
java.util.List
;
import
java.util.List
;
...
@@ -15,6 +15,7 @@ import java.util.List;
...
@@ -15,6 +15,7 @@ import java.util.List;
public
interface
IndexApiService
{
public
interface
IndexApiService
{
/**
/**
* 新增指标
* @Title: saveIndex
* @Title: saveIndex
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -25,16 +26,20 @@ public interface IndexApiService {
...
@@ -25,16 +26,20 @@ public interface IndexApiService {
ServiceResponse
<
Void
>
saveIndex
(
IndexDTO
indexDTO
);
ServiceResponse
<
Void
>
saveIndex
(
IndexDTO
indexDTO
);
/**
/**
* 编辑指标
* @Title: editIndex
* @Title: editIndex
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param indexDTO
* @param indexDTO
* @param updateType
* @param reason
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
* @throws
*/
*/
ServiceResponse
<
Void
>
updateIndex
(
IndexDTO
indexDTO
,
Integer
updateType
,
String
reason
);
ServiceResponse
<
Void
>
updateIndex
(
IndexDTO
indexDTO
,
Integer
updateType
,
String
reason
);
/**
/**
* 获取指标信息
* @Title: getById
* @Title: getById
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -45,24 +50,29 @@ public interface IndexApiService {
...
@@ -45,24 +50,29 @@ public interface IndexApiService {
ServiceResponse
<
IndexDTO
>
getByIndexId
(
Integer
indexId
);
ServiceResponse
<
IndexDTO
>
getByIndexId
(
Integer
indexId
);
/**
/**
* 分页查询指标
* @Title: listIndex
* @Title: listIndex
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param indexQO
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.IndexDTO>>
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.IndexDTO>>
* @throws
* @throws
*/
*/
ServiceResponse
<
Page
<
IndexDTO
>>
listIndex
(
IndexQ
O
indexQO
);
ServiceResponse
<
Page
<
IndexDTO
>>
listIndex
(
IndexQ
o
indexQO
);
/**
/**
* 查询指标列表
* @Title: listAllIndex
* @Title: listAllIndex
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param indexQO
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.IndexDTO>>
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.IndexDTO>>
* @throws
* @throws
*/
*/
ServiceResponse
<
List
<
IndexDTO
>>
listAllIndex
(
IndexQ
O
indexQO
);
ServiceResponse
<
List
<
IndexDTO
>>
listAllIndex
(
IndexQ
o
indexQO
);
/**
/**
* 删除指标
* @Title: delete
* @Title: delete
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -88,6 +98,7 @@ public interface IndexApiService {
...
@@ -88,6 +98,7 @@ public interface IndexApiService {
ServiceResponse
<
Void
>
publish
(
List
<
Integer
>
indexIdList
,
Integer
updateType
,
String
reason
,
Integer
optUserId
,
String
optUserName
);
ServiceResponse
<
Void
>
publish
(
List
<
Integer
>
indexIdList
,
Integer
updateType
,
String
reason
,
Integer
optUserId
,
String
optUserName
);
/**
/**
* 查询指标
* @Title: listByModule
* @Title: listByModule
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/service/IndexDescApiService.java
View file @
4dd93911
...
@@ -20,17 +20,21 @@ public interface IndexDescApiService {
...
@@ -20,17 +20,21 @@ public interface IndexDescApiService {
* @author zhiwj
* @author zhiwj
* @param enterpriseId
* @param enterpriseId
* @param moduleId
* @param moduleId
* @param indexGroupName
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
* @throws
*/
*/
ServiceResponse
<
List
<
IndexDescDTO
>>
listByEnterpriseAndModule
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
);
ServiceResponse
<
List
<
IndexDescDTO
>>
listByEnterpriseAndModule
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
);
/**
/**
* 查询
* @Title: listByEnterpriseAndModuleDetail
* @Title: listByEnterpriseAndModuleDetail
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param enterpriseId
* @param enterpriseId
* @param moduleId
* @param moduleId
* @param indexGroupName
* @param userId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.IndexEnterpriseGroupDTO>
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.IndexEnterpriseGroupDTO>
* @throws
* @throws
*/
*/
...
@@ -43,6 +47,7 @@ public interface IndexDescApiService {
...
@@ -43,6 +47,7 @@ public interface IndexDescApiService {
* @author zhiwj
* @author zhiwj
* @param enterpriseId
* @param enterpriseId
* @param moduleId
* @param moduleId
* @param indexGroupName
* @param userId
* @param userId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.IndexEnterpriseGroupDTO>
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.IndexEnterpriseGroupDTO>
* @throws
* @throws
...
@@ -56,6 +61,7 @@ public interface IndexDescApiService {
...
@@ -56,6 +61,7 @@ public interface IndexDescApiService {
* @author zhiwj
* @author zhiwj
* @param enterpriseId 商户id
* @param enterpriseId 商户id
* @param moduleId
* @param moduleId
* @param indexGroupName
* @param indexDescEnterpriseId 指标id
* @param indexDescEnterpriseId 指标id
* @param seq 排到第几个
* @param seq 排到第几个
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
...
@@ -68,16 +74,21 @@ public interface IndexDescApiService {
...
@@ -68,16 +74,21 @@ public interface IndexDescApiService {
* @Title: moveToRecycle
* @Title: moveToRecycle
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param indexId
* @param index
DescEnterprise
Id
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
* @throws
*/
*/
ServiceResponse
<
Void
>
moveToRecycle
(
Integer
indexDescEnterpriseId
);
ServiceResponse
<
Void
>
moveToRecycle
(
Integer
indexDescEnterpriseId
);
/**
/**
* 查询
* @Title: getIndexDesc
* @Title: getIndexDesc
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param enterpriseId
* @param moduleId
* @param indexGroupName
* @param indexCode
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.IndexDescDTO>
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.IndexDescDTO>
* @throws
* @throws
*/
*/
...
@@ -95,6 +106,7 @@ public interface IndexDescApiService {
...
@@ -95,6 +106,7 @@ public interface IndexDescApiService {
ServiceResponse
<
Void
>
batchUpdate
(
List
<
IndexDescDTO
>
descList
);
ServiceResponse
<
Void
>
batchUpdate
(
List
<
IndexDescDTO
>
descList
);
/**
/**
* 批量更新
* @Title: batchUpdate
* @Title: batchUpdate
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -107,9 +119,12 @@ public interface IndexDescApiService {
...
@@ -107,9 +119,12 @@ public interface IndexDescApiService {
ServiceResponse
<
Void
>
batchUpdate
(
Integer
enterpriseId
,
String
moduleId
,
String
ids
);
ServiceResponse
<
Void
>
batchUpdate
(
Integer
enterpriseId
,
String
moduleId
,
String
ids
);
/**
/**
* 置灰
* @Title: eraseUpdateTips
* @Title: eraseUpdateTips
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param userId
* @param updateTipsId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
* @throws
*/
*/
...
@@ -120,10 +135,19 @@ public interface IndexDescApiService {
...
@@ -120,10 +135,19 @@ public interface IndexDescApiService {
* @Title: listAll
* @Title: listAll
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
* @param moduleIds
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.IndexDescDTO>>
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.IndexDescDTO>>
* @throws
* @throws
*/
*/
ServiceResponse
<
List
<
IndexDescDTO
>>
listAllUnRel
(
String
moduleIds
);
ServiceResponse
<
List
<
IndexDescDTO
>>
listAllUnRel
(
String
moduleIds
);
/**
* 初始化
* @Title: init
* @Description:
* @author zhiwj
* @param enterpriseId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
init
(
Integer
enterpriseId
);
ServiceResponse
<
Void
>
init
(
Integer
enterpriseId
);
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/IndexGroupApiService.java
View file @
4dd93911
...
@@ -13,6 +13,7 @@ import java.util.List;
...
@@ -13,6 +13,7 @@ import java.util.List;
public
interface
IndexGroupApiService
{
public
interface
IndexGroupApiService
{
/**
/**
* 新增指标分组
* @Title: save
* @Title: save
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -23,6 +24,7 @@ public interface IndexGroupApiService {
...
@@ -23,6 +24,7 @@ public interface IndexGroupApiService {
ServiceResponse
<
Void
>
save
(
IndexGroupDTO
indexGroupDTO
);
ServiceResponse
<
Void
>
save
(
IndexGroupDTO
indexGroupDTO
);
/**
/**
* 更新指标分组
* @Title: update
* @Title: update
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -33,6 +35,7 @@ public interface IndexGroupApiService {
...
@@ -33,6 +35,7 @@ public interface IndexGroupApiService {
ServiceResponse
<
Void
>
update
(
IndexGroupDTO
indexGroupDTO
);
ServiceResponse
<
Void
>
update
(
IndexGroupDTO
indexGroupDTO
);
/**
/**
* 指标分组树结构
* @Title: tree
* @Title: tree
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -42,6 +45,7 @@ public interface IndexGroupApiService {
...
@@ -42,6 +45,7 @@ public interface IndexGroupApiService {
ServiceResponse
<
List
<
IndexGroupDTO
>>
tree
();
ServiceResponse
<
List
<
IndexGroupDTO
>>
tree
();
/**
/**
* 删除指标分组
* @Title: delete
* @Title: delete
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/service/IndexLogApiService.java
View file @
4dd93911
...
@@ -13,6 +13,7 @@ import java.util.List;
...
@@ -13,6 +13,7 @@ import java.util.List;
public
interface
IndexLogApiService
{
public
interface
IndexLogApiService
{
/**
/**
* 查询指标日志
* @Title: listIndexLog
* @Title: listIndexLog
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
@@ -23,6 +24,7 @@ public interface IndexLogApiService {
...
@@ -23,6 +24,7 @@ public interface IndexLogApiService {
ServiceResponse
<
List
<
IndexLogDTO
>>
listIndexLog
(
Integer
indexId
);
ServiceResponse
<
List
<
IndexLogDTO
>>
listIndexLog
(
Integer
indexId
);
/**
/**
* 查询数据解读日志
* @Title: listIndexLog
* @Title: listIndexLog
* @Description:
* @Description:
* @author zhiwj
* @author zhiwj
...
...
gic-data-cloud-api/src/main/java/com/gic/cloud/service/StoreAttentionApiService.java
View file @
4dd93911
...
@@ -5,13 +5,59 @@ import com.gic.api.base.commons.ServiceResponse;
...
@@ -5,13 +5,59 @@ import com.gic.api.base.commons.ServiceResponse;
import
com.gic.cloud.dto.AttentionStoreDTO
;
import
com.gic.cloud.dto.AttentionStoreDTO
;
import
java.util.Map
;
import
java.util.Map
;
/**
* 关注门店
* @ClassName: StoreAttentionApiService
* @Description:
* @author boom
* @date 2020/9/7 11:18 AM
*/
public
interface
StoreAttentionApiService
{
public
interface
StoreAttentionApiService
{
/**
* 新增关注门店
* @Title: addStoreAttenttion
* @Description:
* @author boom
* @param userId
* @param enterpriseId
* @param storeId
* @return com.gic.api.base.commons.ServiceResponse
*/
ServiceResponse
addStoreAttenttion
(
Integer
userId
,
Integer
enterpriseId
,
Integer
storeId
);
ServiceResponse
addStoreAttenttion
(
Integer
userId
,
Integer
enterpriseId
,
Integer
storeId
);
/**
* 删除关注门店
* @Title: removeStoreAttenttion
* @Description:
* @author boom
* @param enterpriseId
* @param userId
* @param storeIds
* @return com.gic.api.base.commons.ServiceResponse
*/
ServiceResponse
removeStoreAttenttion
(
Integer
enterpriseId
,
Integer
userId
,
String
storeIds
);
ServiceResponse
removeStoreAttenttion
(
Integer
enterpriseId
,
Integer
userId
,
String
storeIds
);
/**
* 分页查询关注门店
* @Title: pageStoreAttention
* @Description:
* @author boom
* @param userId
* @param enterpriseId
* @param pageNum
* @param pageSize
* @return com.gic.api.base.commons.ServiceResponse<com.gic.api.base.commons.Page<com.gic.cloud.dto.AttentionStoreDTO>>
*/
ServiceResponse
<
Page
<
AttentionStoreDTO
>>
pageStoreAttention
(
Integer
userId
,
Integer
enterpriseId
,
Integer
pageNum
,
Integer
pageSize
);
ServiceResponse
<
Page
<
AttentionStoreDTO
>>
pageStoreAttention
(
Integer
userId
,
Integer
enterpriseId
,
Integer
pageNum
,
Integer
pageSize
);
/**
* 查询
* @Title: getAllAttenttionStore
* @Description:
* @author boom
* @param userId
* @param enterpriseId
* @return com.gic.api.base.commons.ServiceResponse<java.util.Map<java.lang.Integer,com.gic.cloud.dto.AttentionStoreDTO>>
*/
ServiceResponse
<
Map
<
Integer
,
AttentionStoreDTO
>>
getAllAttenttionStore
(
Integer
userId
,
Integer
enterpriseId
);
ServiceResponse
<
Map
<
Integer
,
AttentionStoreDTO
>>
getAllAttenttionStore
(
Integer
userId
,
Integer
enterpriseId
);
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/TempStoreConditionApiService.java
View file @
4dd93911
...
@@ -2,11 +2,33 @@ package com.gic.cloud.service;
...
@@ -2,11 +2,33 @@ package com.gic.cloud.service;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.cloud.dto.TempStoreConditionDTO
;
import
com.gic.cloud.dto.TempStoreConditionDTO
;
/**
* 门店暂存区
* @ClassName: TempStoreConditionApiService
* @Description:
* @author guojuxing
* @date 2020/9/7 11:15 AM
*/
public
interface
TempStoreConditionApiService
{
public
interface
TempStoreConditionApiService
{
/**
* 新增门店暂存区配置
* @Title: saveOrUpdateTempStoreCondition
* @Description:
* @author guojuxing
* @param dto
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Integer>
*/
ServiceResponse
<
Integer
>
saveOrUpdateTempStoreCondition
(
TempStoreConditionDTO
dto
);
ServiceResponse
<
Integer
>
saveOrUpdateTempStoreCondition
(
TempStoreConditionDTO
dto
);
/**
* 获取门店暂存区配置信息
* @Title: getTempStoreCondition
* @Description:
* @author guojuxing
* @param enterpriseId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.TempStoreConditionDTO>
*/
ServiceResponse
<
TempStoreConditionDTO
>
getTempStoreCondition
(
Integer
enterpriseId
);
ServiceResponse
<
TempStoreConditionDTO
>
getTempStoreCondition
(
Integer
enterpriseId
);
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/TestApiService.java
View file @
4dd93911
package
com
.
gic
.
cloud
.
service
;
package
com
.
gic
.
cloud
.
service
;
/**test
* @ClassName: TestApiService
* @Description:
* @author guojuxing
* @date 2020/9/7 11:22 AM
*/
public
interface
TestApiService
{
public
interface
TestApiService
{
}
}
gic-data-cloud-api/src/main/java/com/gic/cloud/service/UserApiService.java
View file @
4dd93911
...
@@ -3,10 +3,16 @@ package com.gic.cloud.service;
...
@@ -3,10 +3,16 @@ package com.gic.cloud.service;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.cloud.dto.UserDTO
;
import
com.gic.cloud.dto.UserDTO
;
import
com.gic.cloud.qo.UserQ
O
;
import
com.gic.cloud.qo.UserQ
o
;
import
java.util.List
;
import
java.util.List
;
/**
* 用户接口
* @ClassName: UserApiService
* @Description:
* @author guojuxing
* @date 2020/9/7 11:09 AM
*/
public
interface
UserApiService
{
public
interface
UserApiService
{
/**
/**
...
@@ -29,6 +35,14 @@ public interface UserApiService {
...
@@ -29,6 +35,14 @@ public interface UserApiService {
*/
*/
ServiceResponse
<
Void
>
editUser
(
UserDTO
dto
);
ServiceResponse
<
Void
>
editUser
(
UserDTO
dto
);
/**
* 删除用户
* @Title: deleteUser
* @Description:
* @author guojuxing
* @param userId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
*/
ServiceResponse
<
Void
>
deleteUser
(
Integer
userId
);
ServiceResponse
<
Void
>
deleteUser
(
Integer
userId
);
/**
/**
...
@@ -46,12 +60,20 @@ public interface UserApiService {
...
@@ -46,12 +60,20 @@ public interface UserApiService {
* @Title: pageUser
* @Title: pageUser
* @Description:
* @Description:
* @author guojuxing
* @author guojuxing
* @param userQ
O
* @param userQ
o
* @return com.gic.api.base.commons.ServiceResponse<com.gic.api.base.commons.Page<com.gic.cloud.dto.UserDTO>>
* @return com.gic.api.base.commons.ServiceResponse<com.gic.api.base.commons.Page<com.gic.cloud.dto.UserDTO>>
*/
*/
ServiceResponse
<
Page
<
UserDTO
>>
pageUser
(
UserQ
O
userQO
);
ServiceResponse
<
Page
<
UserDTO
>>
pageUser
(
UserQ
o
userQo
);
ServiceResponse
<
List
<
UserDTO
>>
listUser
(
UserQO
userQO
);
/**
* 用户列表数据
* @Title: listUser
* @Description:
* @author guojuxing
* @param userQo
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.cloud.dto.UserDTO>>
*/
ServiceResponse
<
List
<
UserDTO
>>
listUser
(
UserQo
userQo
);
/**
/**
* 批量转移分组
* 批量转移分组
...
@@ -65,6 +87,7 @@ public interface UserApiService {
...
@@ -65,6 +87,7 @@ public interface UserApiService {
ServiceResponse
<
Void
>
bulkTransferAccountGroup
(
List
<
Integer
>
userIdList
,
Integer
targetAccountGroupId
);
ServiceResponse
<
Void
>
bulkTransferAccountGroup
(
List
<
Integer
>
userIdList
,
Integer
targetAccountGroupId
);
/**
/**
* 手机号查询用户
* @Title: listUserByPhone
* @Title: listUserByPhone
* @Description:
* @Description:
* @author guojuxing
* @author guojuxing
...
@@ -74,5 +97,13 @@ public interface UserApiService {
...
@@ -74,5 +97,13 @@ public interface UserApiService {
*/
*/
ServiceResponse
<
List
<
UserDTO
>>
listUserByPhone
(
String
nationCode
,
String
phone
);
ServiceResponse
<
List
<
UserDTO
>>
listUserByPhone
(
String
nationCode
,
String
phone
);
/**
* 获取用户
* @Title: getUser
* @Description:
* @author guojuxing
* @param userId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.cloud.dto.UserDTO>
*/
ServiceResponse
<
UserDTO
>
getUser
(
Integer
userId
);
ServiceResponse
<
UserDTO
>
getUser
(
Integer
userId
);
}
}
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