Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp_estate_server
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
mp_estate_backstage
mp_estate_server
Commits
2a9714f9
Commit
2a9714f9
authored
Oct 28, 2020
by
成旭东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
01f9856b
Pipeline
#28869
passed with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
list.ts
app/controller/mpEstate/list.ts
+12
-12
No files found.
app/controller/mpEstate/list.ts
View file @
2a9714f9
...
...
@@ -412,18 +412,18 @@ export default class EstateListController extends Controller {
const
{
id
}
=
ctx
.
params
;
const
rule
=
this
.
validateRuleParams
(
houseOpenInfoUpdateRule
,
[]);
const
updateItem
=
ctx
.
helper
.
switchQueryToWhere
(
ctx
.
request
.
body
,
{
total_num
:
(
item
:
any
)
=>
Number
(
item
),
total_lottery
:
(
item
:
any
)
=>
Number
(
item
),
total_rate
:
(
item
:
any
)
=>
Number
(
item
),
shed_renovation_num
:
(
item
:
any
)
=>
Number
(
item
),
shed_renovation_lottery
:
(
item
:
any
)
=>
Number
(
item
),
shed_renovation_rate
:
(
item
:
any
)
=>
Number
(
item
),
rigid_demand_num
:
(
item
:
any
)
=>
Number
(
item
),
rigid_demand_lottery
:
(
item
:
any
)
=>
Number
(
item
),
rigid_demand_rate
:
(
item
:
any
)
=>
Number
(
item
),
ordinary_num
:
(
item
:
any
)
=>
Number
(
item
),
ordinary_lottery
:
(
item
:
any
)
=>
Number
(
item
),
ordinary_rate
:
(
item
:
any
)
=>
Number
(
item
),
total_num
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
total_lottery
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
total_rate
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
shed_renovation_num
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
shed_renovation_lottery
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
shed_renovation_rate
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
rigid_demand_num
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
rigid_demand_lottery
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
rigid_demand_rate
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
ordinary_num
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
ordinary_lottery
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
ordinary_rate
:
(
item
:
any
)
=>
(
item
===
null
?
item
:
Number
(
item
)
),
fitment
:
(
item
:
any
)
=>
Number
(
item
),
list_price
:
(
item
:
any
)
=>
Number
(
item
),
housenum
:
(
item
:
any
)
=>
Number
(
item
),
...
...
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