瀏覽代碼

user不能大写,服务器上会报错

seyason 5 年之前
父節點
當前提交
ff31e0aa78

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

@@ -28,7 +28,7 @@
     <select id="getProjectCost" resultType="java.util.Map">
         SELECT b.name, SUM(a.working_time) AS cost
         FROM report AS a
-        JOIN USER AS b ON a.creator_id = b.id
+        JOIN user AS b ON a.creator_id = b.id
         WHERE a.project_id = #{projectId}
         GROUP BY b.id
         ORDER BY b.id ASC