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
5bd88ccb
Commit
5bd88ccb
authored
Jul 25, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f6b69ed1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
FStoreData.php
application/model/FStoreData.php
+2
-1
No files found.
application/model/FStoreData.php
View file @
5bd88ccb
...
@@ -129,12 +129,13 @@ class FStoreData extends BaseModel
...
@@ -129,12 +129,13 @@ class FStoreData extends BaseModel
public
function
getAllStoreCost
(
$field
,
$where
)
public
function
getAllStoreCost
(
$field
,
$where
)
{
{
$where
[
'a.
status
'
]
=
0
;
$where
[
'a.
is_del
'
]
=
0
;
return
$this
->
field
(
$field
)
return
$this
->
field
(
$field
)
->
alias
(
'a'
)
->
alias
(
'a'
)
->
join
(
'a_store b'
,
'a.store_id=b.id'
,
'left'
)
->
join
(
'a_store b'
,
'a.store_id=b.id'
,
'left'
)
->
join
(
'a_district c'
,
'b.district_id=c.id'
,
'left'
)
->
join
(
'a_district c'
,
'b.district_id=c.id'
,
'left'
)
->
where
(
$where
)
->
where
(
$where
)
->
group
(
'a.store_id'
)
->
select
();
->
select
();
}
}
}
}
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