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
7a99e1ee
Commit
7a99e1ee
authored
Apr 01, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改保存周报日报四个字段保持方式
parent
dcec105a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Statement.php
application/api_broker/controller/Statement.php
+3
-6
No files found.
application/api_broker/controller/Statement.php
View file @
7a99e1ee
...
...
@@ -87,10 +87,10 @@ class Statement extends Basic
if
(
empty
(
$this
->
params
[
'type'
]))
{
$data
[
'start_date'
]
=
$this
->
params
[
'start_date'
];
$data
[
'end_date'
]
=
$this
->
params
[
'
start
_date'
];
$data
[
'end_date'
]
=
$this
->
params
[
'
end
_date'
];
}
else
{
$data
[
'start_date'
]
=
$this
->
params
[
'start_date'
];
$data
[
'end_date'
]
=
$this
->
params
[
'
end
_date'
];
$data
[
'end_date'
]
=
$this
->
params
[
'
start
_date'
];
}
$data
[
'agent_id'
]
=
$this
->
params
[
'agent_id'
];
$data
[
'img_url'
]
=
$img_name
;
...
...
@@ -124,10 +124,7 @@ class Statement extends Basic
$data
=
$note
->
get
(
$this
->
agentId
);
}
else
{
$save_data
[
'agent_id'
]
=
$this
->
agentId
;
$save_data
[
'performance'
]
=
$this
->
params
[
'performance'
];
$save_data
[
'person'
]
=
$this
->
params
[
'person'
];
$save_data
[
'work'
]
=
$this
->
params
[
'work'
];
$save_data
[
'make_money'
]
=
$this
->
params
[
'make_money'
];
$save_data
[
'content'
]
=
$this
->
params
[
'content'
];
if
(
empty
(
$this
->
params
[
'id'
]))
{
$result
=
$note
->
editData
(
$save_data
);
}
else
{
...
...
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