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
fb7b9dbb
Commit
fb7b9dbb
authored
Jun 28, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
where
parent
4a9fc4ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+8
-8
No files found.
application/index/service/OfficeRoomService.php
View file @
fb7b9dbb
...
@@ -91,7 +91,14 @@ class OfficeRoomService
...
@@ -91,7 +91,14 @@ class OfficeRoomService
return
$result
;
return
$result
;
}
}
$where
[
'b.city'
]
=
$data
[
'city'
];
$status
=
$this
->
m_office
->
getFindData
(
'status,city'
,
[
'id'
=>
$data
[
'building_id'
]]);
//验证办公楼字典是否完整
$is_alert
=
0
;
if
(
$status
[
'status'
]
!=
1
)
{
$is_alert
=
1
;
$data
[
'status'
]
=
2
;
}
$where
[
'b.city'
]
=
$status
[
'city'
];
$where
[
'a.floor'
]
=
$data
[
'floor'
];
$where
[
'a.floor'
]
=
$data
[
'floor'
];
$where
[
'a.mansion'
]
=
$data
[
'mansion'
];
$where
[
'a.mansion'
]
=
$data
[
'mansion'
];
$where
[
'a.room_number'
]
=
$data
[
'room_number'
];
$where
[
'a.room_number'
]
=
$data
[
'room_number'
];
...
@@ -101,13 +108,6 @@ class OfficeRoomService
...
@@ -101,13 +108,6 @@ class OfficeRoomService
$result
[
'msg'
]
=
'该楼盘房源重盘'
;
$result
[
'msg'
]
=
'该楼盘房源重盘'
;
return
$result
;
return
$result
;
}
}
$status
=
$this
->
m_office
->
getFieldOneValue
(
'status'
,
[
'id'
=>
$data
[
'building_id'
]]);
//验证办公楼字典是否完整
$is_alert
=
0
;
if
(
$status
!=
1
)
{
$is_alert
=
1
;
$data
[
'status'
]
=
2
;
}
$id
=
$this
->
m_office_room
->
addRoom
(
$data
,
$agent_id
);
$id
=
$this
->
m_office_room
->
addRoom
(
$data
,
$agent_id
);
...
...
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