Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
4962fa72
Commit
4962fa72
authored
Feb 01, 2024
by
yanghui
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'release_price_log' 到 'master'
调价记录 查看合并请求
!12
parents
76ad6f0f
3c7197d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
sell.php
new_admincp/applications/zsb/controllers/sell.php
+8
-0
No files found.
new_admincp/applications/zsb/controllers/sell.php
View file @
4962fa72
...
@@ -7117,6 +7117,14 @@ class Sell extends MY_Controller {
...
@@ -7117,6 +7117,14 @@ class Sell extends MY_Controller {
}
}
$averprice
=
round
(
10000
*
$new_price
/
$house
[
'buildarea'
],
2
);
$averprice
=
round
(
10000
*
$new_price
/
$house
[
'buildarea'
],
2
);
$this
->
sell_model
->
update
(
array
(
'price'
=>
$new_price
,
'averprice'
=>
$averprice
),
$hid
,
$uid
);
$this
->
sell_model
->
update
(
array
(
'price'
=>
$new_price
,
'averprice'
=>
$averprice
),
$hid
,
$uid
);
//添加调价记录
$this
->
load
->
model
(
'zsb_api_model'
);
$change_params
=
array
(
'tbl'
=>
'sell'
,
'house_id'
=>
$hid
,
'price'
=>
$old_price
,
);
$this
->
zsb_api_model
->
getRequrstData
(
'add_change_price_log'
,
$change_params
);
echo
json_encode
(
array
(
'result'
=>
1
,
'msg'
=>
iconv
(
'gb2312'
,
'utf-8'
,
'调价成功'
)));
echo
json_encode
(
array
(
'result'
=>
1
,
'msg'
=>
iconv
(
'gb2312'
,
'utf-8'
,
'调价成功'
)));
}
}
...
...
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