更新统计模板接口
开发中POST
/li-enterprise-template/updateStaticsTemplate请求参数
Body 参数application/json
id
string
必需
userNo
string
必需
templateName
string
必需
templateInfo
string
必需
示例
{
"userNo": "sj",
"templateName": "模板",
"templateInfo": "{\"dataYear\":\"2020\",\"categoryStockMarket\":[\"1\",\"2\"],\"stockCode\":\"999999\",\"stockAbbreviation\":\"99\",\"chineseNameTheCompany\":\"上海\",\"listingSegment\":[\"1\",\"2\"],\"listingStatus\":[\"1\",\"2\"],\"concept\":[\"1\",\"2\"],\"province\":[\"1\",\"2\"],\"city\":[\"1\",\"2\"],\"companyNatureFlush\":[\"1\",\"2\"],\"industryNewCSRC\":[\"1\",\"2\"],\"shenwanIndustry\":[\"1\",\"2\"],\"chinaSecuritiesIndustry\":[\"1\",\"2\"],\"nationalEconomicIndustry\":[\"1\",\"2\"],\"tagId\":[\"1\",\"2\"],\"indexConditionList\":[{\"indexName\":\"专科生人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_junior_college_students\",\"indexType\":\"1\",\"year\":\"2020\",\"start\":\"1000\",\"end\":\"3000\"},{\"indexName\":\"高中人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_high_school_students\",\"indexType\":\"2\",\"year\":\"2020\",\"rankType\":\"2\",\"limit\":\"10\"},{\"indexName\":\"其他学历人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_people_other_qualifications\",\"indexType\":\"4\",\"year\":\"2020\",\"rankType\":\"2\",\"limit\":\"10\"},{\"indexName\":\"研究生人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_postgraduates\",\"indexType\":\"3\",\"year\":\"2020\",\"compareType\":\"1\",\"compareIndexName\":\"研究生人数\",\"compareTableName\":\"li_enterprise_main_info\",\"compareField\":\"number_postgraduates\",\"compareYear\":\"2021\"}]}\n"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
null
必需
示例
{
"code": "200",
"msg": "成功!",
"data": null
}
修改于 2 年前