|
@@ -93,7 +93,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
public void generateObjFile(String num) {
|
|
|
ScenePro sceneProEntity = this.getByNum(num);
|
|
|
|
|
|
- if(ObjectUtils.isEmpty(sceneProEntity) && sceneProEntity.getIsUpgrade() == 1){
|
|
|
+ if(ObjectUtils.isEmpty(sceneProEntity) || sceneProEntity.getIsUpgrade() == 1){
|
|
|
generatePlusObjFile(num);
|
|
|
return;
|
|
|
}
|