Commit 3f8c9466 by 陈健智

方案情感模型个性化配置编辑补充

parent c7f315f7
......@@ -340,6 +340,13 @@ public class AppArticleController extends BaseController {
return markDataService.updateNonManualProjectPlan(dto);
}
@ApiOperation("非人工项目-方案设置-编辑方案情感模型个性化配置")
@PostMapping("/non-manual/plan/config/update")
public ResponseResult updateNonManualModelCustomConfig(@ApiParam(name = "json:{id:方案id, modelCustomConfig:{coreWordType:核心词类型,coreWord:核心词,negativeWord:负面词,negativePoints:[负面观点,...],positiveWord:正面词,positivePoints:[正面观点,...]} }") @RequestBody JSONObject json){
markDataService.updateNonManualModelCustomConfig(json);
return ResponseResult.success();
}
@ApiOperation("非人工项目-方案设置-数据量预估")
@PutMapping("/non-manual/plan/prediction")
public ResponseResult getPlanDataPrediction(@ApiParam(name = "json:{keyword:关键词, filterWord:去噪词)") @RequestBody JSONObject json){
......
......@@ -2044,6 +2044,7 @@ public class MarkDataServiceImpl implements MarkDataService {
NonManualProjectPlan plan = new NonManualProjectPlan(dto);
plan.setCTime(existPlan.getCTime());
plan.setIStarShineSubjectTaskId(existPlan.getIStarShineSubjectTaskId());
plan.setModelCustomConfig(existPlan.getModelCustomConfig());
Project project = projectService.getProjectById(UserThreadLocal.getProjectId());
// 商业数据源同时修改快搜订阅任务
if (project.getExternalDataSource()){
......
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