Commit 7dbe46e9 authored by 李尚科's avatar 李尚科

house plan fix

parent 2cefdae4
Pipeline #13103 passed with stage
in 4 seconds
......@@ -268,10 +268,10 @@ class ToolController extends Controller {
ctx.failed('总价区间不能为0');
}
const house_plan = await ctx.service.house.v2.tool.generateHousePlan_2_1(input_parmas);//计算购房能力 生成购房计划
if (house_plan.status !== 2) {
total_price.max = invest_payment * 2 / down_payment_rate + 30;
total_price.min = invest_payment * 2 / down_payment_rate - 30;
}
// if (house_plan.status !== 2) {
// total_price.max = invest_payment * 2 / down_payment_rate + 30;
// total_price.min = invest_payment * 2 / down_payment_rate - 30;
// }
let where = {
reference_total_price: { $between: [parseFloat(total_price.min), parseFloat(total_price.max)] },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment