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
2671f149
Commit
2671f149
authored
Aug 14, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
74c6f727
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+2
-2
OBargainModel.php
application/model/OBargainModel.php
+1
-7
No files found.
application/api_broker/controller/HomePageLog.php
View file @
2671f149
...
@@ -102,12 +102,12 @@ class HomePageLog extends Basic
...
@@ -102,12 +102,12 @@ class HomePageLog extends Basic
}
}
//
$count = $this->uPhoneFollowUpModel->getSearchCount($join, $where_);
$count
=
$this
->
uPhoneFollowUpModel
->
getSearchCount
(
$join
,
$where_
);
if
(
count
(
$result
)
>
0
)
{
if
(
count
(
$result
)
>
0
)
{
$list
[
"result"
]
=
$result
;
$list
[
"result"
]
=
$result
;
$list
[
"img_path"
]
=
AGENTHEADERIMGURL
;
$list
[
"img_path"
]
=
AGENTHEADERIMGURL
;
//暂时处理
//暂时处理
$list
[
"total"
]
=
0
;
$list
[
"total"
]
=
$count
;
return
$this
->
response
(
"200"
,
"request success"
,
$list
);
return
$this
->
response
(
"200"
,
"request success"
,
$list
);
}
else
{
}
else
{
return
$this
->
response
(
"200"
,
"request null"
);
return
$this
->
response
(
"200"
,
"request null"
);
...
...
application/model/OBargainModel.php
View file @
2671f149
...
@@ -715,20 +715,14 @@ class OBargainModel extends Model
...
@@ -715,20 +715,14 @@ class OBargainModel extends Model
$field
=
"sum(practical_fee) as num"
;
$field
=
"sum(practical_fee) as num"
;
}
elseif
(
$type
==
3
)
{
}
elseif
(
$type
==
3
)
{
$field
=
"count(1) as num"
;
$field
=
"count(1) as num"
;
//$where_["father_id"] = 0;
$where_
[
"trade_type"
]
=
10
;
//产品要求统计数量必须是出租类型的180620
$where_
[
"trade_type"
]
=
10
;
//产品要求统计数量必须是出租类型的180620
$where_
[
"role"
]
=
3
;
//必须是反签方
}
}
if
(
isset
(
$params
[
"agent_id"
]))
{
if
(
isset
(
$params
[
"agent_id"
]))
{
$where_
[
"agent_id"
]
=
$params
[
"agent_id"
];
$where_
[
"agent_id"
]
=
$params
[
"agent_id"
];
}
}
if
(
isset
(
$params
[
"agent_id"
])
&&
$type
==
3
)
{
unset
(
$where_
[
"agent_id"
]);
$where_
[
"submit_agent_id"
]
=
$params
[
"agent_id"
];
$where_
[
"father_id"
]
=
0
;
}
if
(
isset
(
$params
[
"create_time"
]))
{
if
(
isset
(
$params
[
"create_time"
]))
{
$where_
[
"create_time"
]
=
$params
[
"create_time"
];
$where_
[
"create_time"
]
=
$params
[
"create_time"
];
}
}
...
...
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