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
80a29dd0
Commit
80a29dd0
authored
Nov 02, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告id 业绩明显优化
parent
d744c856
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
PerformanceInfo.php
application/index/controller/PerformanceInfo.php
+2
-1
OBargainModel.php
application/model/OBargainModel.php
+1
-1
No files found.
application/index/controller/PerformanceInfo.php
View file @
80a29dd0
...
@@ -84,7 +84,8 @@ class PerformanceInfo extends Basic
...
@@ -84,7 +84,8 @@ class PerformanceInfo extends Basic
// 成交报告id
// 成交报告id
if
(
$this
->
params
[
'bargain_id'
]
!=
NULL
)
{
if
(
$this
->
params
[
'bargain_id'
]
!=
NULL
)
{
$where
[
'Obargain.id'
]
=
$this
->
params
[
'bargain_id'
];
$exp
=
'(Obargain.id = '
.
$this
->
params
[
'bargain_id'
]
.
' and Obargain.father_id = 0) or (Obargain.father_id = '
.
$this
->
params
[
'bargain_id'
]
.
' and Obargain.father_id > 0)'
;
$where
[]
=
[
'EXP'
,
$exp
];
}
}
//dump($where);
//dump($where);
$field
=
'Obargain.create_time,'
;
$field
=
'Obargain.create_time,'
;
...
...
application/model/OBargainModel.php
View file @
80a29dd0
...
@@ -1408,7 +1408,7 @@ class OBargainModel extends Model
...
@@ -1408,7 +1408,7 @@ class OBargainModel extends Model
->
limit
(
$pageSize
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
page
(
$pageNo
)
->
select
();
->
select
();
//echo $this->db_->getLastSql();
//echo $this->db_->getLastSql();
return
$result
;
return
$result
;
}
}
...
...
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