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
96f93b69
Commit
96f93b69
authored
Apr 21, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id or father_id
parent
49f537eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Finance.php
application/index/controller/Finance.php
+3
-3
No files found.
application/index/controller/Finance.php
View file @
96f93b69
...
...
@@ -2720,10 +2720,11 @@ class Finance extends Basic
*/
private
function
updatePerformanceAll
(
int
$bargain_id
=
0
)
:
array
{
$data
[
'status'
]
=
'fail'
;
try
{
$where
=
$update_data
=
[];
if
(
$bargain_id
)
{
$where
[
'b.id'
]
=
$bargain_id
;
$where
[
]
=
[
'EXP'
,
'b.id = '
.
$bargain_id
.
' OR b.father_id='
.
$bargain_id
]
;
}
if
(
!
empty
(
$where
))
{
//获取被修改人信息
...
...
@@ -2733,10 +2734,9 @@ class Finance extends Basic
$create_time
=
date
(
'Y-m-d'
,
strtotime
(
$v
[
'create_time'
]));
$this
->
totalOfficialReceipts
(
$v
[
'id'
],
$v
[
'district_id'
],
$v
[
'store_id'
],
$create_time
);
}
$data
[
'status'
]
=
'successful'
;
}
$data
[
'status'
]
=
'successful'
;
}
catch
(
\Exception
$e
)
{
$data
[
'status'
]
=
'fail'
;
$data
[
'msg'
]
=
'内部错误:'
.
$e
->
getMessage
();
}
...
...
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