Commit 93353486 authored by neo's avatar neo

[DEV] fix dBname to dbName

parent a6606e1a
package pwc.taxtech.atms.dto.taxadmin; package pwc.taxtech.atms.dto.taxadmin;
public class AddProjectResult { public class AddProjectResult {
private String dBname; private String dbName;
private String projectID; private String projectID;
private Boolean result; private Boolean result;
private String resultMsg; private String resultMsg;
public String getdBname() { public String getDbName() {
return dBname; return dbName;
} }
public void setdBname(String dBname) { public void setDbName(String dbName) {
this.dBname = dBname; this.dbName = dbName;
} }
public String getProjectID() { public String getProjectID() {
......
...@@ -206,7 +206,7 @@ public class ProjectServiceImpl implements ProjectService { ...@@ -206,7 +206,7 @@ public class ProjectServiceImpl implements ProjectService {
AddProjectResult addProjectResult = new AddProjectResult(); AddProjectResult addProjectResult = new AddProjectResult();
addProjectResult.setResult(true); addProjectResult.setResult(true);
addProjectResult.setdBname(project.getDbName()); addProjectResult.setDbName(project.getDbName());
addProjectResult.setProjectID(project.getID()); addProjectResult.setProjectID(project.getID());
return addProjectResult; return addProjectResult;
}catch (Exception e){ }catch (Exception e){
......
...@@ -1697,7 +1697,7 @@ frameworkModule.controller('appOverviewController', ['$rootScope', '$scope', '$t ...@@ -1697,7 +1697,7 @@ frameworkModule.controller('appOverviewController', ['$rootScope', '$scope', '$t
projectService.addProject(project).success(function (rsp) { projectService.addProject(project).success(function (rsp) {
if (rsp && rsp.result) { if (rsp && rsp.result) {
project.haveCreateProject = true; project.haveCreateProject = true;
project.dbName = rsp.dBname; project.dbName = rsp.dbName;
project.id = rsp.projectID; project.id = rsp.projectID;
if (_.isNull(project.projectStatusList)) { //如果当前期间还没有导入任何数据的话,就添加一条未开始状态的记录 if (_.isNull(project.projectStatusList)) { //如果当前期间还没有导入任何数据的话,就添加一条未开始状态的记录
......
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