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
a82c93b8
Commit
a82c93b8
authored
Aug 27, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
eea99ac0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
OrderLogService.php
application/api_broker/service/OrderLogService.php
+1
-1
Finance.php
application/index/controller/Finance.php
+5
-6
No files found.
application/api_broker/service/OrderLogService.php
View file @
a82c93b8
...
...
@@ -131,7 +131,7 @@ class OrderLogService
}
$pushMarchIn
=
new
PushMessageService
();
$pushMarchIn
->
pushMarchInMessage
(
$
params
[
"report_id"
]
,
2
,
$agent_id
,
$type
,
$site_id
);
//推送
$pushMarchIn
->
pushMarchInMessage
(
$
report_id
,
2
,
$agent_id
,
$type
,
$site_id
);
//推送
}
//todo if bill_arr not null, save database table
if
(
!
empty
(
$bill_arr
))
{
...
...
application/index/controller/Finance.php
View file @
a82c93b8
...
...
@@ -3845,13 +3845,12 @@ class Finance extends Basic
$bargain_where
[
'id'
]
=
$pay_data
[
'bargain_id'
];
$price
=
$this
->
m_bargain
->
getFieldValue
(
'price'
,
$bargain_where
);
$pay_data
[
'price'
]
=
empty
(
$price
)
?
0
:
$price
;
$m_order
=
new
OrderModel
();
$house_data
=
$m_order
->
selectOrderByOrderId
(
'b.id,b.internal_address,a.f_id'
,
[
'order_id'
=>
$pay_data
[
'order_id'
]]);
$pay_data
[
'house_id'
]
=
empty
(
$house_data
[
0
][
'id'
])
?
''
:
$house_data
[
0
][
'id'
];
$pay_data
[
'address'
]
=
empty
(
$house_data
[
0
][
'internal_address'
])
?
''
:
$house_data
[
0
][
'internal_address'
];
}
$m_order
=
new
OrderModel
();
$house_data
=
$m_order
->
selectOrderByOrderId
(
'b.id,b.internal_address,a.f_id'
,
[
'order_id'
=>
$pay_data
[
'order_id'
]]);
$pay_data
[
'house_id'
]
=
empty
(
$house_data
[
0
][
'id'
])
?
''
:
$house_data
[
0
][
'id'
];
$pay_data
[
'address'
]
=
empty
(
$house_data
[
0
][
'internal_address'
])
?
''
:
$house_data
[
0
][
'internal_address'
];
$m_pay_adjustment
=
new
OPayLogAdjustment
();
$source_id
=
$m_pay_adjustment
->
getFieldColumn
(
'id'
,
[
'paylog_id'
=>
$pay_data
[
'id'
]]);
...
...
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