|
|
|
@ -261,9 +261,14 @@ public class InvProductsTrService {
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (locWarehouseEntity.getLevel() > 1) {
|
|
|
|
|
|
|
|
|
|
InvSubWarehouseEntity subWarehouseEntity = invSubWarehouseService.findByInvSubByCode(bussinessChangeTypeEntity.getDefaultSubInv());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (WarehouseEntity tempEntity : warehouseEntities) {
|
|
|
|
|
tempEntity.setFromCorp(bussinessChangeTypeEntity.getDefaultInv());
|
|
|
|
|
tempEntity.setFromCorpId(bussinessChangeTypeEntity.getDefaultSubInv());
|
|
|
|
|
tempEntity.setFromCorp(subWarehouseEntity.getName());
|
|
|
|
|
tempEntity.setFromCorpId(subWarehouseEntity.getParentId());
|
|
|
|
|
tempEntity.setFromSubInvCode(subWarehouseEntity.getCode());
|
|
|
|
|
inList.add(tempEntity);
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|