ebom添加bom 接口
This commit is contained in:
parent
9b7f3b2a1d
commit
e4791b20bf
|
|
@ -357,6 +357,19 @@ public class EbomApi extends BaseApi {
|
|||
return ResultVO.success(bomNewEbomParentService.temporary(dto));
|
||||
}
|
||||
|
||||
@PostMapping("temporaryAdd")
|
||||
@ApiOperation("暂存添加")
|
||||
@LogRecord(success = "Ebom-暂存添加,物料编码:{{#dto.parent.materialNo}}-版本:{{#dto.parent.currentVersion}},操作结果:{{#_ret}}", bizNo = "{{#dto.parent.rowId}}",type = "Ebom-暂存添加")
|
||||
public ResultVO<BomNewEbomParentVO> temporaryAdd(@RequestBody BomNewEBomParentEditDTO dto) throws ExecutionException, InterruptedException {
|
||||
return ResultVO.success(bomNewEbomParentService.temporary(dto));
|
||||
}
|
||||
|
||||
@PostMapping("submitAdd")
|
||||
@ApiOperation("提交添加")
|
||||
@LogRecord(success = "Ebom-提交添加,物料编码:{{#dto.parent.materialNo}}-版本:{{#dto.parent.currentVersion}},操作结果:{{#_ret}}", bizNo = "{{#dto.parent.rowId}}",type = "Ebom-提交添加")
|
||||
public ResultVO<Boolean> submitAdd(@RequestBody BomNewEBomParentEditDTO dto) throws ExecutionException, InterruptedException {
|
||||
return ResultVO.success(bomNewEbomParentService.submit(dto));
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("submit")
|
||||
|
|
|
|||
|
|
@ -255,8 +255,6 @@ public class BomNewMbomParentService extends ServiceImpl<BomNewMbomParentMapper,
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
ImportSapParamDTO result=new ImportSapParamDTO();
|
||||
result.setT1(new ArrayList<>());
|
||||
result.setZID(RandomUtil.randomNumbers(5));
|
||||
|
|
|
|||
Loading…
Reference in New Issue