Browse Source

数字中台-数字农业接口(已完成待联调)

吕宣芝 1 year ago
parent
commit
5c21cb86f6

+ 2 - 2
src/main/resources/mapper/digitalagriculture/AgricultureBigDataMapper.xml

@@ -700,7 +700,7 @@
         ON
             modes.land_use_mode = cooperatives.land_use_mode
         left join
-            ${database_system}.sys_dept d on d.dept_id = a.dept_id
+            ${database_system}.sys_dept d on d.dept_id = cooperatives.dept_id
         <where>${params.dataScope}</where>
         GROUP BY
             modes.land_use_mode
@@ -723,7 +723,7 @@
         ON
             modes.business_type = cooperatives.business_type
         left join
-            ${database_system}.sys_dept d on d.dept_id = a.dept_id
+            ${database_system}.sys_dept d on d.dept_id = cooperatives.dept_id
         <where>${params.dataScope}</where>
         GROUP BY
             modes.business_type