注释获取订单号
This commit is contained in:
parent
e6afa2ef26
commit
b1ee64a574
|
|
@ -265,7 +265,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
child.setTechnologyUserCode(parentEntity.getTechnologyUserCode());
|
child.setTechnologyUserCode(parentEntity.getTechnologyUserCode());
|
||||||
child.setTechnologyUserName(parentEntity.getTechnologyUserName());
|
child.setTechnologyUserName(parentEntity.getTechnologyUserName());
|
||||||
|
|
||||||
if (parentEntity.getStatus().equals(PBomStatusEnum.PUBLISH.getValue())) {
|
if ( parent.getStatus()< PBomStatusEnum.PUBLISH.getValue() && parentEntity.getStatus().equals(PBomStatusEnum.PUBLISH.getValue())) {
|
||||||
child.setStatus(PBomStatusEnum.BORROWED_PARTS.getValue());
|
child.setStatus(PBomStatusEnum.BORROWED_PARTS.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue