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
bb84d4e3
Commit
bb84d4e3
authored
May 09, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0d62550c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Finance.php
application/index/controller/Finance.php
+1
-1
ODaily.php
application/model/ODaily.php
+1
-1
No files found.
application/index/controller/Finance.php
View file @
bb84d4e3
...
@@ -4086,7 +4086,7 @@ class Finance extends Basic
...
@@ -4086,7 +4086,7 @@ class Finance extends Basic
$m_daily
=
new
ODaily
();
$m_daily
=
new
ODaily
();
$m_store
=
new
AStore
();
$m_store
=
new
AStore
();
$field
=
'a.id,a.agent_id,a.create_time,a.daily_date,a.store_id,a.status,a.agent_name'
;
$field
=
'a.id,a.agent_id,a.create_time,a.daily_date,a.store_id,a.status,a.agent_name
,a.back_img
'
;
$list
=
$m_daily
->
getDailyLogList
(
$pageNo
,
$pageSize
,
'id desc'
,
$field
,
$where
);
$list
=
$m_daily
->
getDailyLogList
(
$pageNo
,
$pageSize
,
'id desc'
,
$field
,
$where
);
foreach
(
$list
as
$k
=>
$v
)
{
foreach
(
$list
as
$k
=>
$v
)
{
$store_name
=
$m_store
->
getStoreKeyById
(
'store_name'
,
[
'id'
=>
$v
[
'store_id'
]]);
$store_name
=
$m_store
->
getStoreKeyById
(
'store_name'
,
[
'id'
=>
$v
[
'store_id'
]]);
...
...
application/model/ODaily.php
View file @
bb84d4e3
...
@@ -84,7 +84,7 @@ class ODaily extends BaseModel
...
@@ -84,7 +84,7 @@ class ODaily extends BaseModel
{
{
Db
::
startTrans
();
Db
::
startTrans
();
try
{
try
{
$this
->
db_
->
where
(
$where
)
->
update
(
$params
);
$this
->
where
(
$where
)
->
update
(
$params
);
Db
::
commit
();
Db
::
commit
();
return
1
;
return
1
;
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
...
...
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