feat(移动破): 从主物料表同步信息

This commit is contained in:
曹鹏飞 2024-05-27 15:37:50 +08:00
parent 6143575a5e
commit c5a99e48dc
1 changed files with 4 additions and 2 deletions

View File

@ -523,9 +523,11 @@ public class OptionalEbomApi extends BaseApi {
@GetMapping("syncMaterailInfo")
@ApiOperation("从主物料表同步信息")
@LogRecord(success = "从主物料表同步信息,操作结果:{{#_ret}}", bizNo = "", extra = "{{#rowId}}", type = "移动破-从主物料表同步信息")
public ResultVO<Void> syncMaterailInfo(@Valid @RequestParam("rowId") @NotNull Long rowId) {
public ResultVO<OptionalEbomConfigAggregVO> syncMaterailInfo(@Valid @RequestParam("rowId") @NotNull Long rowId) {
optionalEbomMainService.syncMaterailInfo(rowId);
return ResultVO.success();
OptionalEbomImportChildQuery query = new OptionalEbomImportChildQuery();
query.setRootRowId(rowId);
return ResultVO.success(aggregOptionConfigService.ebomEditTree(query));
}