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
4a9b9578
Commit
4a9b9578
authored
Feb 18, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改商铺数量
parent
1c75b6bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HouseNumUpdateService.php
application/api_broker/service/HouseNumUpdateService.php
+2
-2
No files found.
application/api_broker/service/HouseNumUpdateService.php
View file @
4a9b9578
...
...
@@ -31,7 +31,7 @@ class HouseNumUpdateService
$bargainModel
=
new
OBargainModel
();
$params
[
"father_id"
]
=
0
;
$params
[
"order_id"
]
=
$order_id
;
//
$params["status"] = 10;
$params
[
"status"
]
=
10
;
$bargainNum
=
$bargainModel
->
ifBargainNumByOrderId
(
$params
);
if
(
$bargainNum
==
1
){
$orderModel
=
new
OrderModel
();
...
...
@@ -39,7 +39,7 @@ class HouseNumUpdateService
$orderParams
[
"a.id"
]
=
$order_id
;
$houseInfo
=
$orderModel
->
getHouseInfoByOrderId
(
$field
,
$orderParams
);
if
(
count
(
$houseInfo
)
>
0
&&
$houseInfo
[
0
][
"residue_num"
]
>
0
&&
$houseInfo
[
0
][
"status"
]
==
1
){
if
(
count
(
$houseInfo
)
>
0
&&
$houseInfo
[
0
][
"residue_num"
]
>
0
){
//减数量
$houseModel
=
new
GHouses
();
...
...
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