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
6a5d72fb
Commit
6a5d72fb
authored
Mar 27, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
f8ed5643
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
BillingRecordController.java
...ic/enterprise/web/controller/BillingRecordController.java
+8
-0
No files found.
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/BillingRecordController.java
View file @
6a5d72fb
...
...
@@ -11,6 +11,7 @@ import com.gic.enterprise.service.DictApiService;
import
com.gic.enterprise.utils.ResultControllerUtils
;
import
com.gic.enterprise.utils.UserDetailUtils
;
import
com.gic.enterprise.web.vo.*
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
@@ -91,6 +92,13 @@ public class BillingRecordController {
@RequestMapping
(
"/list-sms"
)
public
RestResponse
listSmsRecord
(
RecordQO
recordQO
)
{
recordQO
.
setEnterpriseId
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
if
(
StringUtils
.
isNotBlank
(
recordQO
.
getStartTime
()))
{
recordQO
.
setStartTime
(
recordQO
+
" 00:00:00"
);
}
if
(
StringUtils
.
isNotBlank
(
recordQO
.
getEndTime
()))
{
recordQO
.
setEndTime
(
recordQO
+
" 23:59:59"
);
}
ServiceResponse
<
Page
<
SmsRecordDTO
>>
serviceResponse
=
billingRecordApiService
.
listSmsRecord
(
recordQO
);
if
(
serviceResponse
.
isSuccess
())
{
Page
page
=
new
Page
(
serviceResponse
.
getResult
().
getCurrentPage
(),
serviceResponse
.
getResult
().
getPageSize
(),
serviceResponse
.
getResult
().
getTotalPage
(),
serviceResponse
.
getResult
().
getTotalCount
());
...
...
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