Commit 950705f7 authored by fenghuazhong's avatar fenghuazhong

修改判断规则

parent 3ff39a7e
...@@ -207,10 +207,10 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project ...@@ -207,10 +207,10 @@ public class ProjectServiceImpl extends BaseService<ProjectDto, Project, Project
for(Object object:subForm){ for(Object object:subForm){
JSONObject jo = JSON.parseObject(JSON.toJSONString(object)); JSONObject jo = JSON.parseObject(JSON.toJSONString(object));
String type = jo.getString("type"); String type = jo.getString("type");
if (OrgEnum.设计单位.getKey().equals(type)){ if (OrgEnum.设计单位.getName().equals(type)){
design=true; design=true;
} }
if (OrgEnum.安装单位.getKey().equals(type)){ if (OrgEnum.安装单位.getName().equals(type)){
install=true; install=true;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment