Commit 93353486 authored by neo's avatar neo

[DEV] fix dBname to dbName

parent a6606e1a
package pwc.taxtech.atms.dto.taxadmin;
public class AddProjectResult {
private String dBname;
private String dbName;
private String projectID;
private Boolean result;
private String resultMsg;
public String getdBname() {
return dBname;
public String getDbName() {
return dbName;
}
public void setdBname(String dBname) {
this.dBname = dBname;
public void setDbName(String dbName) {
this.dbName = dbName;
}
public String getProjectID() {
......
......@@ -206,7 +206,7 @@ public class ProjectServiceImpl implements ProjectService {
AddProjectResult addProjectResult = new AddProjectResult();
addProjectResult.setResult(true);
addProjectResult.setdBname(project.getDbName());
addProjectResult.setDbName(project.getDbName());
addProjectResult.setProjectID(project.getID());
return addProjectResult;
}catch (Exception e){
......
......@@ -1697,7 +1697,7 @@ frameworkModule.controller('appOverviewController', ['$rootScope', '$scope', '$t
projectService.addProject(project).success(function (rsp) {
if (rsp && rsp.result) {
project.haveCreateProject = true;
project.dbName = rsp.dBname;
project.dbName = rsp.dbName;
project.id = rsp.projectID;
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