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
f69590be
Commit
f69590be
authored
Dec 18, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约带看id
parent
3ba0f452
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
Finance.php
application/index/controller/Finance.php
+2
-2
OPayLogAdjustment.php
application/model/OPayLogAdjustment.php
+0
-3
adjustment_template_tpl.html
public/resource/template/adjustment_template_tpl.html
+1
-1
No files found.
application/index/controller/Finance.php
View file @
f69590be
...
...
@@ -3021,10 +3021,10 @@ class Finance extends Basic
}
if
(
!
empty
(
$this
->
params
[
'march_id'
]))
{
$where
[
'
c.
id'
]
=
$this
->
params
[
'march_id'
];
$where
[
'
b.order_
id'
]
=
$this
->
params
[
'march_id'
];
}
$field
=
'a.create_time,a.id,
c.id as march
_id,a.paylog_id,a.money,b.income_time,a.type,a.new_paylog_id,a.operation_id,b.order_id'
;
$field
=
'a.create_time,a.id,
b.order
_id,a.paylog_id,a.money,b.income_time,a.type,a.new_paylog_id,a.operation_id,b.order_id'
;
$list
=
$m_paylog
->
getAdjustmentListLimit
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$data
[
'total'
]
=
$m_paylog
->
getAdjustmentListTotal
(
$where
);
...
...
application/model/OPayLogAdjustment.php
View file @
f69590be
...
...
@@ -115,7 +115,6 @@ class OPayLogAdjustment extends BaseModel{
return
$this
->
db_
->
field
(
$field
)
->
alias
(
"a"
)
->
join
(
"o_paylog b"
,
"a.paylog_id = b.id"
,
"left"
)
->
join
(
"o_march_in c"
,
"b.order_id = c.id"
,
"left"
)
->
join
(
"a_agents d"
,
"a.operation_id = d.id"
,
"left"
)
->
join
(
"o_order e"
,
"b.order_id = e.id"
)
->
limit
(
$pageSize
)
...
...
@@ -132,7 +131,6 @@ class OPayLogAdjustment extends BaseModel{
public
function
getAdjustmentListTotal
(
$params
)
{
return
$this
->
db_
->
alias
(
'a'
)
->
join
(
"o_paylog b"
,
"a.paylog_id = b.id"
,
"left"
)
->
join
(
"o_march_in c"
,
"b.order_id = c.id"
,
"left"
)
->
join
(
"a_agents d"
,
"a.operation_id = d.id"
,
"left"
)
->
join
(
"o_order e"
,
"b.order_id = e.id"
)
->
where
(
$params
)
...
...
@@ -148,7 +146,6 @@ class OPayLogAdjustment extends BaseModel{
public
function
getMoneyTotal
(
$params
)
{
return
$this
->
db_
->
alias
(
'a'
)
->
join
(
"o_paylog b"
,
"a.paylog_id = b.id"
,
"left"
)
->
join
(
"o_march_in c"
,
"b.order_id = c.id"
,
"left"
)
->
join
(
"a_agents d"
,
"a.operation_id = d.id"
,
"left"
)
->
join
(
"o_order e"
,
"b.order_id = e.id"
)
->
where
(
$params
)
...
...
public/resource/template/adjustment_template_tpl.html
View file @
f69590be
...
...
@@ -4,7 +4,7 @@
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
march
_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
order
_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'paylog_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'address'
]
%
]
<
/td
>
...
...
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