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
9dd513bc
Commit
9dd513bc
authored
Jul 26, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
b.id
parent
ba7597bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cost.php
application/index/controller/Cost.php
+2
-2
No files found.
application/index/controller/Cost.php
View file @
9dd513bc
...
@@ -323,7 +323,7 @@ class Cost extends Basic
...
@@ -323,7 +323,7 @@ class Cost extends Basic
case
1
:
case
1
:
if
(
$data
[
'office_id'
])
{
if
(
$data
[
'office_id'
])
{
$store_id_arr
=
$m_store
->
getColumn
(
'id'
,
[
'office_id'
=>
$data
[
'office_id'
]]);
$store_id_arr
=
$m_store
->
getColumn
(
'id'
,
[
'office_id'
=>
$data
[
'office_id'
]]);
$store_field
=
'
a
.id,b.assume_fee,b.store_attendance_num,b.store_id'
;
$store_field
=
'
b
.id,b.assume_fee,b.store_attendance_num,b.store_id'
;
$cost_where
[
'b.store_id'
]
=
[
'in'
,
$store_id_arr
];
$cost_where
[
'b.store_id'
]
=
[
'in'
,
$store_id_arr
];
$cost_where
[
'a.status'
]
=
0
;
$cost_where
[
'a.status'
]
=
0
;
$cost_where
[
'a.setting_date'
]
=
$data
[
'count_time'
];
$cost_where
[
'a.setting_date'
]
=
$data
[
'count_time'
];
...
@@ -351,7 +351,7 @@ class Cost extends Basic
...
@@ -351,7 +351,7 @@ class Cost extends Basic
case
4
:
case
4
:
break
;
break
;
case
5
:
case
5
:
$cost_ext_field
=
'
a
.id,b.store_attendance_num,b.assume_fee,b.store_id'
;
$cost_ext_field
=
'
b
.id,b.store_attendance_num,b.assume_fee,b.store_id'
;
$where_cost
[
'apply_for_id'
]
=
$data
[
'id'
];
$where_cost
[
'apply_for_id'
]
=
$data
[
'id'
];
$store_cost_data
=
$m_store_cost
->
getCostExt
(
$cost_ext_field
,
$where_cost
);
$store_cost_data
=
$m_store_cost
->
getCostExt
(
$cost_ext_field
,
$where_cost
);
if
(
$store_cost_data
)
{
if
(
$store_cost_data
)
{
...
...
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