|
@@ -1886,15 +1886,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
|
if(list!=null&&list.size()>0){
|
|
|
for (Map map:list) {
|
|
|
String nowRunState=map.get("nowRunState").toString();
|
|
|
- if(nowRunState.equals("10")){
|
|
|
- map.put("nowRunState","未执行");
|
|
|
- }else if(nowRunState.equals("20")){
|
|
|
- map.put("nowRunState","执行中");
|
|
|
- }else if(nowRunState.equals("30")){
|
|
|
- map.put("nowRunState","执行完成");
|
|
|
- }else if(nowRunState.equals("40")){
|
|
|
- map.put("nowRunState","已中止");
|
|
|
- }
|
|
|
+ map.put("nowRunState", getDictName(DictConstants.PROJECT_RUN_STATE, nowRunState));
|
|
|
}
|
|
|
}
|
|
|
return new ResponseBodyVO(ResponseBodyVO.Response.SUCCESS, list);
|