|
@@ -197,14 +197,18 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
private Integer toFdStatus(Integer status) {
|
|
private Integer toFdStatus(Integer status) {
|
|
//深时状态,-1:场景被删 0:计算中 1计算失败 2计算成功 3封存 4生成OBJ中
|
|
//深时状态,-1:场景被删 0:计算中 1计算失败 2计算成功 3封存 4生成OBJ中
|
|
- switch (status){
|
|
|
|
- case 0 :
|
|
|
|
- case 4 :
|
|
|
|
|
|
+ switch (status) {
|
|
|
|
+ case 0:
|
|
|
|
+ case 4:
|
|
return 0;
|
|
return 0;
|
|
- case 2 : return -2;
|
|
|
|
- case 3 : return -3;
|
|
|
|
- default: return -1;
|
|
|
|
|
|
+ case 2:
|
|
|
|
+ return -2;
|
|
|
|
+ case 3:
|
|
|
|
+ return -3;
|
|
|
|
+ default:
|
|
|
|
+ return -1;
|
|
}
|
|
}
|
|
|
|
+ }
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public ScenePro getByNum(String num) {
|
|
public ScenePro getByNum(String num) {
|