sap
This commit is contained in:
parent
4edad1ba33
commit
bec67d75d5
|
|
@ -148,5 +148,18 @@ public class OptionalMbomApi extends BaseApi {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@GetMapping("importSap")
|
||||||
|
@ApiOperation("编辑的物料列表")
|
||||||
|
public ResultVO<Boolean > importSap(@ApiParam("行Id") @RequestParam("rowId") Long rowId) {
|
||||||
|
|
||||||
|
if(Objects.isNull(rowId)){
|
||||||
|
throw new NflgBusinessException(STATE.Error, "选择行操作" );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return ResultVO.success( true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -274,8 +274,8 @@ public class BomNewPbomParentVO extends BaseMaterialVO implements Serializable {
|
||||||
|
|
||||||
private String levelNo;
|
private String levelNo;
|
||||||
|
|
||||||
@ApiModelProperty("物料一级分类编码")
|
// @ApiModelProperty("物料一级分类编码")
|
||||||
private String relCategoryCode;
|
// private String relCategoryCode;
|
||||||
|
|
||||||
@ApiModelProperty("子级")
|
@ApiModelProperty("子级")
|
||||||
List<BomNewPbomParentVO> childNodes;
|
List<BomNewPbomParentVO> childNodes;
|
||||||
|
|
|
||||||
|
|
@ -127,8 +127,8 @@ public class OptionalMbomMaterialService extends ServiceImpl<OptionalMbomMateria
|
||||||
public Boolean importSap(Long rowId){
|
public Boolean importSap(Long rowId){
|
||||||
List<OptionalMbomMaterialListVO> list=this.baseMapper.getRecursionList(rowId);
|
List<OptionalMbomMaterialListVO> list=this.baseMapper.getRecursionList(rowId);
|
||||||
|
|
||||||
OptionalMbomMaterialListVO parent=listToTree(rowId,list);
|
|
||||||
|
|
||||||
|
OptionalMbomMaterialListVO parent=listToTree(rowId,list);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue