Merge branch 'refs/heads/feature/DM/nflg-bom' into feature/DM/nflg-bom-transition
This commit is contained in:
commit
5e85f73b2b
|
|
@ -301,8 +301,7 @@ public class EbomApi extends BaseApi {
|
|||
@ApiOperation("编辑物料列表")
|
||||
public ResultVO<BomNewEbomEditDetailVO> editDetail(@RequestParam("rowId") Long rowId, @RequestParam("bomRowId") Long bomRowId
|
||||
, @RequestParam("projectType") String projectType
|
||||
, @RequestParam(value = "hideVirtualPackage", defaultValue = "0") Integer hideVirtualPackage
|
||||
, @RequestParam("parentBomRowId") Long parentBomRowId) {
|
||||
, @RequestParam(value = "hideVirtualPackage", defaultValue = "0") Integer hideVirtualPackage) {
|
||||
if (Objects.isNull(rowId)) {
|
||||
VUtils.isTure(true).throwMessage("rowId 不能为空");
|
||||
}
|
||||
|
|
@ -310,7 +309,7 @@ public class EbomApi extends BaseApi {
|
|||
VUtils.isTure(true).throwMessage("bomRowId不能为空");
|
||||
}
|
||||
|
||||
return ResultVO.success(bomNewEbomParentService.editDetail(rowId, bomRowId, projectType, hideVirtualPackage, parentBomRowId));
|
||||
return ResultVO.success(bomNewEbomParentService.editDetail(rowId, bomRowId, projectType, hideVirtualPackage));
|
||||
}
|
||||
|
||||
@PostMapping("updateProjectType")
|
||||
|
|
|
|||
|
|
@ -25,10 +25,4 @@ public class BomNewEbomEditDetailVO implements Serializable {
|
|||
*/
|
||||
@ApiModelProperty("当前节点的子级")
|
||||
private List<BomNewEbomParentVO> datas;
|
||||
|
||||
/*
|
||||
* 当前节点的上级节点
|
||||
*/
|
||||
@ApiModelProperty("当前节点的上级节点")
|
||||
private BomNewEbomParentVO parentParent;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1580,7 +1580,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
return true;
|
||||
}
|
||||
|
||||
public BomNewEbomEditDetailVO editDetail(Long rowId, Long bomRowId, String projectType, Integer hideVirtualPackage, Long parentBomRowId) {
|
||||
public BomNewEbomEditDetailVO editDetail(Long rowId, Long bomRowId, String projectType, Integer hideVirtualPackage) {
|
||||
|
||||
BomNewEbomEditDetailVO vo = new BomNewEbomEditDetailVO();
|
||||
BomNewEbomParentVO parentVO;
|
||||
|
|
@ -1632,7 +1632,6 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
|
||||
|
||||
vo.setParent(parentVO);
|
||||
vo.setParentParent(Convert.convert(BomNewEbomParentVO.class, this.getBaseMapper().selectById(parentBomRowId)));
|
||||
return vo;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue