Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-platform-enterprise
Commits
d0166eec
Commit
d0166eec
authored
Jan 14, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
ebdac7f0
6dbf224b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
FeeTypeEnum.java
...java/com/gic/enterprise/constant/billing/FeeTypeEnum.java
+4
-3
FeeChartUtils.java
...in/java/com/gic/enterprise/utils/chart/FeeChartUtils.java
+7
-7
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/constant/billing/FeeTypeEnum.java
View file @
d0166eec
...
...
@@ -6,9 +6,10 @@ public enum FeeTypeEnum {
SMS_PACKAGE
(
4
,
"短信套餐包明细(余额支付)"
),
SMS
(
3
,
"国内短信消费明细"
),
INTERNATIONAL_SMS
(
8
,
"海外短信消费明细"
),
VOICE_CODE
(
2
,
"语音验证码消费明细"
),
DOUBLE_CALLING
(
6
,
"双向呼叫消费明细"
),
RECORDING_STORAGE
(
5
,
"录音存储消费明细"
);
// VOICE_CODE(2, "语音验证码消费明细"),
// DOUBLE_CALLING(6, "双向呼叫消费明细"),
// RECORDING_STORAGE(5, "录音存储消费明细"),
;
private
int
code
;
private
String
message
;
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/utils/chart/FeeChartUtils.java
View file @
d0166eec
package
com
.
gic
.
enterprise
.
utils
.
chart
;
import
com.gic.enterprise.constant.billing.FeeTypeEnum
;
import
com.gic.enterprise.dto.HomeStatisticsDTO
;
import
com.gic.enterprise.qo.HomeStatisticsQO
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
com.gic.enterprise.constant.billing.FeeTypeEnum
;
import
com.gic.enterprise.dto.HomeStatisticsDTO
;
import
com.gic.enterprise.qo.HomeStatisticsQO
;
/**
* 计费中心首页图表
* @ClassName: FeeChartUtils
...
...
@@ -20,11 +20,11 @@ public class FeeChartUtils {
static
{
getPageMap
.
put
(
FeeTypeEnum
.
ACCOUNT_BALANCE
.
getCode
(),
new
BillingAccountBalanceRecord
());
getPageMap
.
put
(
FeeTypeEnum
.
DOUBLE_CALLING
.
getCode
(),
new
BillingDoubleCallingRecord
());
getPageMap
.
put
(
FeeTypeEnum
.
RECORDING_STORAGE
.
getCode
(),
new
BillingRecordingStorageRecord
());
//
getPageMap.put(FeeTypeEnum.DOUBLE_CALLING.getCode(), new BillingDoubleCallingRecord());
//
getPageMap.put(FeeTypeEnum.RECORDING_STORAGE.getCode(), new BillingRecordingStorageRecord());
getPageMap
.
put
(
FeeTypeEnum
.
SMS
.
getCode
(),
new
BillingSmsRecord
());
getPageMap
.
put
(
FeeTypeEnum
.
SMS_PACKAGE
.
getCode
(),
new
BillingSmsPackageRecord
());
getPageMap
.
put
(
FeeTypeEnum
.
VOICE_CODE
.
getCode
(),
new
BillingVoiceCodeRecord
());
//
getPageMap.put(FeeTypeEnum.VOICE_CODE.getCode(), new BillingVoiceCodeRecord());
}
/**
...
...
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