fix: 添加子节点为空判断,如果为空则不执行更新操作
This commit is contained in:
parent
c9e03f5009
commit
743191a5be
|
|
@ -243,6 +243,9 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
|||
new Workbook().addSheet(new ListSheet<>(result)).writeTo(response.getOutputStream());
|
||||
}
|
||||
|
||||
public List<BomNewPbomParentVO> getChild(Long rowId) {
|
||||
return getChild(this.getById(rowId));
|
||||
}
|
||||
public List<BomNewPbomParentVO> getChild(BomNewPbomParentEntity parent) {
|
||||
//List<BomNewPbomParentVO> parentChild = this.getBaseMapper().getParentChild(rowId);
|
||||
//BomNewPbomParentEntity parent = this.getById(rowId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue