转EBOM时-bug修复-PBOM发布报错
This commit is contained in:
parent
3b7db353b0
commit
2126d03ee0
|
|
@ -25,6 +25,7 @@ import com.nflg.product.bomnew.util.VUtils;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import nflg.product.common.vo.ResultVO;
|
import nflg.product.common.vo.ResultVO;
|
||||||
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
|
@ -287,6 +288,7 @@ public class PBomApi extends BaseApi {
|
||||||
|
|
||||||
@PostMapping("realesePbom")
|
@PostMapping("realesePbom")
|
||||||
@ApiOperation("发布Pbom")
|
@ApiOperation("发布Pbom")
|
||||||
|
@Transactional(rollbackFor = Exception.class)
|
||||||
@LogRecord(success = "发布PBom,物料编码:{{#bom.materialNo}}-版本:{{#bom.currentVersion}} 操作结果:{{#_ret}}", bizNo = "{{#bomRowId}}",type = "发布PBom")
|
@LogRecord(success = "发布PBom,物料编码:{{#bom.materialNo}}-版本:{{#bom.currentVersion}} 操作结果:{{#_ret}}", bizNo = "{{#bomRowId}}",type = "发布PBom")
|
||||||
public ResultVO<List<OperationErrorMsgVO>> realesePbom(@Valid @RequestBody @NotNull PbomImportToSAPQuery query) {
|
public ResultVO<List<OperationErrorMsgVO>> realesePbom(@Valid @RequestBody @NotNull PbomImportToSAPQuery query) {
|
||||||
bomNewPbomParentService.realesePbom(query.getRootBomRowId());
|
bomNewPbomParentService.realesePbom(query.getRootBomRowId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue