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
15c0694c
Commit
15c0694c
authored
Jul 28, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指标说明
parent
a3dd9a2d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
TabDataExplainMapper.xml
...ervice/src/main/resources/mapper/TabDataExplainMapper.xml
+4
-0
IndexDescController.java
...ava/com/gic/cloud/web/controller/IndexDescController.java
+13
-6
dubbo-gic-data-cloud-wxapp.xml
...d-wxapp/src/main/resources/dubbo-gic-data-cloud-wxapp.xml
+1
-0
No files found.
gic-data-cloud-service/src/main/resources/mapper/TabDataExplainMapper.xml
View file @
15c0694c
...
@@ -162,6 +162,9 @@
...
@@ -162,6 +162,9 @@
<if
test=
"search != null and search != '' "
>
<if
test=
"search != null and search != '' "
>
and ( data_name like concat('%', #{search}, '%') or data_classify like concat('%', #{search}, '%') )
and ( data_name like concat('%', #{search}, '%') or data_classify like concat('%', #{search}, '%') )
</if>
</if>
<if
test=
"moduleId != null and moduleId != '' "
>
and module_id = #{moduleId}
</if>
order by create_time desc
order by create_time desc
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/IndexDescController.java
View file @
15c0694c
package
com
.
gic
.
cloud
.
web
.
controller
;
package
com
.
gic
.
cloud
.
web
.
controller
;
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.IndexDescDTO
;
import
com.gic.cloud.dto.IndexDescDTO
;
import
com.gic.cloud.service.DataExplainApiService
;
import
com.gic.cloud.service.IndexDescApiService
;
import
com.gic.cloud.service.IndexDescApiService
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.ano.IgnoreLogin
;
import
com.gic.enterprise.ano.IgnoreLogin
;
...
@@ -22,37 +24,34 @@ public class IndexDescController {
...
@@ -22,37 +24,34 @@ public class IndexDescController {
@Autowired
@Autowired
private
IndexDescApiService
indexDescApiService
;
private
IndexDescApiService
indexDescApiService
;
@Autowired
private
DataExplainApiService
dataExplainApiService
;
@RequestMapping
(
"/list-index-desc"
)
@RequestMapping
(
"/list-index-desc"
)
@IgnoreLogin
public
RestResponse
listIndexDesc
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
)
{
public
RestResponse
listIndexDesc
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
)
{
ServiceResponse
<
List
<
IndexDescDTO
>>
serviceResponse
=
indexDescApiService
.
listByEnterpriseAndModule
(
enterpriseId
,
moduleId
,
indexGroupName
);
ServiceResponse
<
List
<
IndexDescDTO
>>
serviceResponse
=
indexDescApiService
.
listByEnterpriseAndModule
(
enterpriseId
,
moduleId
,
indexGroupName
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
@RequestMapping
(
"/list-index-desc-detail"
)
@RequestMapping
(
"/list-index-desc-detail"
)
@IgnoreLogin
public
RestResponse
listByEnterpriseAndModuleDetail
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
,
Integer
userId
)
{
public
RestResponse
listByEnterpriseAndModuleDetail
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
,
Integer
userId
)
{
ServiceResponse
<
List
<
IndexDescDTO
>>
serviceResponse
=
indexDescApiService
.
listByEnterpriseAndModuleDetail
(
enterpriseId
,
moduleId
,
indexGroupName
,
userId
);
ServiceResponse
<
List
<
IndexDescDTO
>>
serviceResponse
=
indexDescApiService
.
listByEnterpriseAndModuleDetail
(
enterpriseId
,
moduleId
,
indexGroupName
,
userId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
@RequestMapping
(
"/list-index-desc-recycle"
)
@RequestMapping
(
"/list-index-desc-recycle"
)
@IgnoreLogin
public
RestResponse
listRecycle
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
)
{
public
RestResponse
listRecycle
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
)
{
ServiceResponse
<
List
<
IndexDescDTO
>>
serviceResponse
=
indexDescApiService
.
listRecycle
(
enterpriseId
,
moduleId
,
indexGroupName
);
ServiceResponse
<
List
<
IndexDescDTO
>>
serviceResponse
=
indexDescApiService
.
listRecycle
(
enterpriseId
,
moduleId
,
indexGroupName
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
@RequestMapping
(
"/sort-index-desc"
)
@RequestMapping
(
"/sort-index-desc"
)
@IgnoreLogin
public
RestResponse
sort
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
,
Integer
indexDescEnterpriseId
,
Integer
seq
)
{
public
RestResponse
sort
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
,
Integer
indexDescEnterpriseId
,
Integer
seq
)
{
ServiceResponse
<
Void
>
serviceResponse
=
indexDescApiService
.
sort
(
enterpriseId
,
moduleId
,
indexGroupName
,
indexDescEnterpriseId
,
seq
);
ServiceResponse
<
Void
>
serviceResponse
=
indexDescApiService
.
sort
(
enterpriseId
,
moduleId
,
indexGroupName
,
indexDescEnterpriseId
,
seq
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
@RequestMapping
(
"/recycle-index-desc"
)
@RequestMapping
(
"/recycle-index-desc"
)
@IgnoreLogin
public
RestResponse
recycle
(
Integer
indexDescEnterpriseId
)
{
public
RestResponse
recycle
(
Integer
indexDescEnterpriseId
)
{
ServiceResponse
<
Void
>
serviceResponse
=
indexDescApiService
.
moveToRecycle
(
indexDescEnterpriseId
);
ServiceResponse
<
Void
>
serviceResponse
=
indexDescApiService
.
moveToRecycle
(
indexDescEnterpriseId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
...
@@ -60,9 +59,16 @@ public class IndexDescController {
...
@@ -60,9 +59,16 @@ public class IndexDescController {
@RequestMapping
(
"/get-index-desc"
)
@RequestMapping
(
"/get-index-desc"
)
@IgnoreLogin
public
RestResponse
getIndexDesc
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
,
String
indexCode
)
{
public
RestResponse
getIndexDesc
(
Integer
enterpriseId
,
String
moduleId
,
String
indexGroupName
,
String
indexCode
)
{
ServiceResponse
<
String
>
serviceResponse
=
indexDescApiService
.
getIndexDesc
(
enterpriseId
,
moduleId
,
indexGroupName
,
indexCode
);
ServiceResponse
<
String
>
serviceResponse
=
indexDescApiService
.
getIndexDesc
(
enterpriseId
,
moduleId
,
indexGroupName
,
indexCode
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
@RequestMapping
(
"/get-data-explain"
)
@IgnoreLogin
public
RestResponse
getDataExplain
(
String
moduleId
)
{
ServiceResponse
<
List
<
DataExplainDTO
>>
serviceResponse
=
dataExplainApiService
.
listByModule
(
moduleId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
}
\ No newline at end of file
gic-data-cloud-wxapp/src/main/resources/dubbo-gic-data-cloud-wxapp.xml
View file @
15c0694c
...
@@ -144,4 +144,5 @@
...
@@ -144,4 +144,5 @@
<dubbo:reference
interface=
"com.gic.cloud.service.StoreAttentionApiService"
id=
"storeAttentionApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.StoreAttentionApiService"
id=
"storeAttentionApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.TempStoreConditionApiService"
id=
"tempStoreConditionApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.TempStoreConditionApiService"
id=
"tempStoreConditionApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.IndexDescApiService"
id=
"indexDescApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.IndexDescApiService"
id=
"indexDescApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.DataExplainApiService"
id=
"dataExplainApiService"
timeout=
"6000"
retries=
"0"
/>
</beans>
</beans>
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