文档
测试

调节企业碳排量

POST
http://localhost:8011/requestRecordInfo/api/prediction/adjustEssential

请求参数

参数名
类型
描述
必填
year
String
当前年份,int类型
必填
type
int
/0为修改,1为新增
必填
info
json
企业调整信息
必填
business
String
行业名称,需定义code
必填
business_type
String
细分行业,需定义code
必填
enterprise_name
String
企业名称,需定义code
必填
emissions_before
json
调整前值,新增传空
必填
total
String
总值
必填
field
String
领域值
必填
trade
String
行业值
必填
enterprise
String
企业值
必填
emissions_after
String
调整后企业值
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
data
String
数据字典
必填
msg
String
示例:操作成功
必填

说明 / 示例

{ "code": 0, "data": { "msg": "ok", "errno": "0", "data": { "results": { "emissions_total": "456611.0", "emissions_busi_type": "496520.0", "carbon_Data": { "real_value": [ "2021.87", "2155.70", "2306.93", "2456.55", "2631.63", "3161.05" ], "target_value": [ "3161.05", "3253.79", "3344.03", "3430.96", "3513.68", "3591.16", "3498.56", "3375.40", "3217.86", "3021.72", "2782.35" ], "simulation_value": [ "3161.05", "3164.76", "3327.76", "3494.81", "4393.71", "4203.95", "4457.19", "4716.87", "4936.19", "5074.90", "5213.94" ], "current_forecast_value": [ "3161.05", "3164.76", "3327.76", "3494.81", "3667.71", "3846.79", "4032.40", "4224.91", "4371.97", "4428.55", "4485.15" ] }, "emissions_business": "455611.0", "info": { "business": "工业活动", "business_type": "石油、煤炭及其他燃料加工业碳排放量", "emissions_after": "451111", "enterprise_name": "长城西部钻井有限公司" } } } }, "msg": "操作成功" }