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
5af7afc5
Commit
5af7afc5
authored
May 17, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交报告详情is_open
parent
f45cc300
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Finance.php
application/index/controller/Finance.php
+6
-6
No files found.
application/index/controller/Finance.php
View file @
5af7afc5
...
@@ -458,9 +458,9 @@ class Finance extends Basic
...
@@ -458,9 +458,9 @@ class Finance extends Basic
}
}
//是否开业
//是否开业
if
(
isset
(
$this
->
params
[
'is_open'
]))
{
//
if (isset($this->params['is_open'])) {
$update_data
[
'is_open'
]
=
$this
->
params
[
'is_open'
];
//
$update_data['is_open'] = $this->params['is_open'];
}
//
}
//成交类型 10出租 20 增佣 30 代理 40 好处费
//成交类型 10出租 20 增佣 30 代理 40 好处费
if
(
!
empty
(
$this
->
params
[
'trade_type'
]))
{
if
(
!
empty
(
$this
->
params
[
'trade_type'
]))
{
...
@@ -2451,7 +2451,7 @@ class Finance extends Basic
...
@@ -2451,7 +2451,7 @@ class Finance extends Basic
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* @throws \think\exception\DbException
*/
*/
public
function
editRecordLog
(
int
$bargain_id
,
string
$step_content
=
''
,
int
$type
=
1
,
string
$house_number
=
''
,
int
$is_open
=
0
)
public
function
editRecordLog
(
int
$bargain_id
,
string
$step_content
=
''
,
int
$type
=
1
,
string
$house_number
=
''
,
$is_open
=
0
)
{
{
$house_number_table
=
$this
->
m_bargain
->
getCheckBargain
(
'a.house_number,c.internal_address'
,
(
int
)
$bargain_id
,
'10,11,12,13,20,21,30'
);
$house_number_table
=
$this
->
m_bargain
->
getCheckBargain
(
'a.house_number,c.internal_address'
,
(
int
)
$bargain_id
,
'10,11,12,13,20,21,30'
);
...
@@ -2472,7 +2472,7 @@ class Finance extends Basic
...
@@ -2472,7 +2472,7 @@ class Finance extends Basic
$insert_data
[
$k
][
'operation_id'
]
=
$this
->
userId
;
$insert_data
[
$k
][
'operation_id'
]
=
$this
->
userId
;
$insert_data
[
$k
][
'operation_name'
]
=
$this
->
userName
;
$insert_data
[
$k
][
'operation_name'
]
=
$this
->
userName
;
$insert_data
[
$k
][
'house_number'
]
=
$house_number
;
$insert_data
[
$k
][
'house_number'
]
=
$house_number
;
$insert_data
[
$k
][
'is_open'
]
=
$is_open
;
//
$insert_data[$k]['is_open'] = $is_open;
$insert_data
[
$k
][
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
$insert_data
[
$k
][
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
}
}
}
else
{
}
else
{
...
@@ -2482,7 +2482,7 @@ class Finance extends Basic
...
@@ -2482,7 +2482,7 @@ class Finance extends Basic
$insert_data
[
0
][
'operation_id'
]
=
$this
->
userId
;
$insert_data
[
0
][
'operation_id'
]
=
$this
->
userId
;
$insert_data
[
0
][
'operation_name'
]
=
$this
->
userName
;
$insert_data
[
0
][
'operation_name'
]
=
$this
->
userName
;
$insert_data
[
0
][
'house_number'
]
=
$house_number
;
$insert_data
[
0
][
'house_number'
]
=
$house_number
;
$insert_data
[
0
][
'is_open'
]
=
$is_open
;
//
$insert_data[0]['is_open'] = $is_open;
$insert_data
[
0
][
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
$insert_data
[
0
][
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
}
}
...
...
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