Browse Source

Merge branch 'dev_project_location' into dev_temp

master
sunyuchao 4 years ago
parent
commit
5f90043f70
  1. 6
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java
  2. 0
      epmet-module/gov-project/gov-project-server/src/main/resources/db/migration/V0.0.14__alter_project_location.sql

6
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/ProjectServiceImpl.java

@ -1011,9 +1011,9 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit
projectEntity.setTitle(issueDTO.getIssueTitle());
projectEntity.setStatus(ProjectConstant.PENDING);
projectEntity.setOrgIdPath(issueDTO.getOrgIdPath());
projectEntity.setLocateAddress(null == formDTO.getTopicDTO().getLocateAddress() ? "" : formDTO.getTopicDTO().getLocateAddress());
projectEntity.setLocateLongitude(null == formDTO.getTopicDTO().getLocateLongitude() ? "" : formDTO.getTopicDTO().getLocateLongitude());
projectEntity.setLocateDimension(null == formDTO.getTopicDTO().getLocateDimension() ? "" : formDTO.getTopicDTO().getLocateDimension());
projectEntity.setLocateAddress(null == formDTO.getTopicDTO().getAddress() ? "" : formDTO.getTopicDTO().getAddress());
projectEntity.setLocateLongitude(null == formDTO.getTopicDTO().getLongitude() ? "" : formDTO.getTopicDTO().getLongitude());
projectEntity.setLocateDimension(null == formDTO.getTopicDTO().getDimension() ? "" : formDTO.getTopicDTO().getDimension());
baseDao.insert(projectEntity);
//3:项目处理进展表新增数据

0
epmet-module/gov-project/gov-project-server/src/main/resources/db/migration/V0.0.13__alter_project_location.sql → epmet-module/gov-project/gov-project-server/src/main/resources/db/migration/V0.0.14__alter_project_location.sql

Loading…
Cancel
Save