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
18b6eadd
Commit
18b6eadd
authored
May 23, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6f9204e6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
5 deletions
+4
-5
StatementService.php
application/api_broker/service/StatementService.php
+1
-1
BatchProcessing.php
application/index/controller/BatchProcessing.php
+1
-1
HouseService.php
application/index/service/HouseService.php
+1
-0
GBusinessDistrict.php
application/model/GBusinessDistrict.php
+0
-2
GHouses.php
application/model/GHouses.php
+1
-1
No files found.
application/api_broker/service/StatementService.php
View file @
18b6eadd
...
...
@@ -178,7 +178,7 @@ class StatementService
$performanceSum
=
$this
->
bargainModel
->
getAddBargainNum
(
$where_
,
1
);
//1表示业绩 2表示实收
$result
[
"performance_month"
]
=
isset
(
$performanceSum
[
0
][
"num"
])
?
$performanceSum
[
0
][
"num"
]
:
0
;
$real_performanceSum
=
$this
->
bargainModel
->
get
AddBargainNum
(
$where_
,
2
);
//1表示业绩 2表示实收
$real_performanceSum
=
$this
->
bargainModel
->
get
Received
(
$where_
);
$result
[
"real_performance_month"
]
=
isset
(
$real_performanceSum
[
0
][
"num"
])
?
$real_performanceSum
[
0
][
"num"
]
:
0
;
//本周业绩
...
...
application/index/controller/BatchProcessing.php
View file @
18b6eadd
...
...
@@ -31,7 +31,7 @@ class BatchProcessing extends Basic
$house_service
=
new
HouseService
();
$field
=
'id,name,city,longitude'
;
$get_params
[
'longitude'
]
=
''
;
$get_params
[
]
=
[
'EXP'
,
"`longitude` = '' or `longitude` is null "
]
;
$model_res
=
$model
->
getBusinessDistrict
(
$field
,
$get_params
);
$success_num
=
0
;
...
...
application/index/service/HouseService.php
View file @
18b6eadd
...
...
@@ -596,6 +596,7 @@ class HouseService
$data
=
str_replace
(
'renderOption&&renderOption('
,
''
,
$data
);
$data
=
str_replace
(
')'
,
''
,
$data
);
$data
=
json_decode
(
$data
,
true
);
// exit;
if
(
!
empty
(
$data
)
&&
$data
[
'status'
]
==
0
)
{
$result
[
'lat'
]
=
$data
[
'result'
][
'location'
][
'lat'
];
$result
[
'lng'
]
=
$data
[
'result'
][
'location'
][
'lng'
];
...
...
application/model/GBusinessDistrict.php
View file @
18b6eadd
...
...
@@ -16,10 +16,8 @@ class GBusinessDistrict extends BaseModel
{
$result
=
$this
->
field
(
$field
)
//->alias('a')
->
where
(
$params
)
->
select
();
//dump($this->getLastSql());
return
$result
;
}
...
...
application/model/GHouses.php
View file @
18b6eadd
...
...
@@ -1653,7 +1653,7 @@ class GHouses extends BaseModel
->
where
(
$where_
)
->
find
();
}
...
...
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