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
ddf766a1
Commit
ddf766a1
authored
Oct 12, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改楼盘与经纪人关系
parent
9151d05c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
HouseService.php
application/index/service/HouseService.php
+9
-7
No files found.
application/index/service/HouseService.php
View file @
ddf766a1
...
@@ -264,9 +264,9 @@ class HouseService
...
@@ -264,9 +264,9 @@ class HouseService
continue
;
continue
;
}
else
{
}
else
{
$update_data
[
$k
][
'id'
]
=
$v
[
'id'
];
$update_data
[
$k
][
'id'
]
=
$v
[
'id'
];
$update_data
[
$k
][
'agents_id'
]
=
$v
[
'agents_id'
];
//
$update_data[$k]['agents_id'] = $v['agents_id'];
$update_data
[
$k
][
'houses_id'
]
=
$v
[
'houses_id'
];
//
$update_data[$k]['houses_id'] = $v['houses_id'];
$update_data
[
$k
][
'type'
]
=
$type
;
//
$update_data[$k]['type'] = $type;
$update_data
[
$k
][
'is_del'
]
=
1
;
$update_data
[
$k
][
'is_del'
]
=
1
;
$del_agent_id
[]
=
$v
[
'agents_id'
];
$del_agent_id
[]
=
$v
[
'agents_id'
];
}
}
...
@@ -276,10 +276,12 @@ class HouseService
...
@@ -276,10 +276,12 @@ class HouseService
if
(
in_array
(
$v2
,
$agent_id_old
))
{
if
(
in_array
(
$v2
,
$agent_id_old
))
{
continue
;
continue
;
}
else
{
}
else
{
$insert_data
[
$k2
][
'agents_id'
]
=
$v2
;
if
(
!
empty
(
$v2
))
{
$insert_data
[
$k2
][
'houses_id'
]
=
$house_id
;
$insert_data
[
$k2
][
'agents_id'
]
=
$v2
;
$insert_data
[
$k2
][
'type'
]
=
$type
;
$insert_data
[
$k2
][
'houses_id'
]
=
$house_id
;
$add_agent_id
[]
=
$v2
;
$insert_data
[
$k2
][
'type'
]
=
$type
;
$add_agent_id
[]
=
$v2
;
}
}
}
}
}
...
...
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