Ver Fonte

change the colum name to fix the uodate failure bug

youcai luo há 1 ano atrás
pai
commit
69f27515b6
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      QFD/dbService/ProjectService.cpp

+ 4 - 4
QFD/dbService/ProjectService.cpp

@@ -41,10 +41,10 @@ bool ProjectService::UpdateProjectInfo(const ProjectInfo &proInfo)
                 .set("estimate_time", proInfo.estimateTime)
                 .set("estimate_objective", proInfo.estimateObjective)
                 .set("estimate_dept", proInfo.estimateDept)
-                .set("estimatePerson", proInfo.estimatePerson)
-                .set("estimatedType", proInfo.estimateType)
-                .set("positionalTitles", proInfo.positionalTitles)
-                .set("updateTime", proInfo.updateTime)
+                .set("estimate_person", proInfo.estimatePerson)
+                .set("estimate_type", proInfo.estimateType)
+                .set("positional_titles", proInfo.positionalTitles)
+                .set("update_time", proInfo.updateTime)
                 .where("id = ?", proInfo.id);
         t.commit();
         ret = true;