车型项目数据添加日志
This commit is contained in:
+7
-2
@@ -329,11 +329,16 @@ public class SarStandProjectLibraryController extends BaseController<SarStandPro
|
|||||||
@PostMapping("/save")
|
@PostMapping("/save")
|
||||||
@ApiOperation("同步车型项目数据")
|
@ApiOperation("同步车型项目数据")
|
||||||
public ResponseDto save(@RequestBody String jsonStr){
|
public ResponseDto save(@RequestBody String jsonStr){
|
||||||
log.info(jsonStr);
|
log.info("======================================开始同步车型项目数据========================================");
|
||||||
|
log.info("同步数据内容:" + jsonStr);
|
||||||
|
if (StringUtils.isBlank(jsonStr)) {
|
||||||
|
log.info("同步数据内容为空");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
Head head = sarStandProjectLibraryService.AnalysisJsonAndStorage(jsonStr);
|
Head head = sarStandProjectLibraryService.AnalysisJsonAndStorage(jsonStr);
|
||||||
|
|
||||||
ResponseDto responseDto = new ResponseDto(head);
|
ResponseDto responseDto = new ResponseDto(head);
|
||||||
|
log.info("======================================结束同步车型项目数据========================================");
|
||||||
return responseDto;
|
return responseDto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user