Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
0ae0b6dd
Commit
0ae0b6dd
authored
Jul 13, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计
parent
799ea85f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ReportService.php
application/api_broker/service/ReportService.php
+1
-1
OReportModel.php
application/model/OReportModel.php
+4
-4
No files found.
application/api_broker/service/ReportService.php
View file @
0ae0b6dd
...
...
@@ -154,7 +154,7 @@ class ReportService
}
}
$result
[
"total"
]
=
$count
;
$result
[
"total"
]
=
$count
[
"total"
]
;
return
$result
;
}
return
null
;
...
...
application/model/OReportModel.php
View file @
0ae0b6dd
...
...
@@ -331,7 +331,7 @@ class OReportModel extends Model
switch
(
$params
[
"type"
])
{
case
2
:
$sql
=
"SELECT count(1) FROM
$sql
=
"SELECT count(1)
as total
FROM
(( SELECT
$filed
FROM
...
...
@@ -363,7 +363,7 @@ class OReportModel extends Model
$result
=
$this
->
db
->
query
(
$sql
);
return
$result
;
case
3
:
$sql
=
"SELECT count(1) FROM
$sql
=
"SELECT count(1)
as total
FROM
(
(
SELECT
...
...
@@ -399,7 +399,7 @@ class OReportModel extends Model
$result
=
$this
->
db
->
query
(
$sql
);
return
$result
;
case
4
:
$sql
=
"SELECT count(1) FROM
$sql
=
"SELECT count(1)
as total
FROM
((
SELECT
$filed
...
...
@@ -433,7 +433,7 @@ class OReportModel extends Model
$result
=
$this
->
db
->
query
(
$sql
);
return
$result
;
default
:
$sql
=
"SELECT count(1) FROM
$sql
=
"SELECT count(1)
as total
FROM
((SELECT
$filed
FROM
...
...
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